Re: Exporting a single email as JSON
[notmuch-archives.git] / e7 / 7681b3ef288739ecc6af47f1c1f67c861f6716
1 Return-Path: <aghitza@gmail.com>\r
2 X-Original-To: notmuch@notmuchmail.org\r
3 Delivered-To: notmuch@notmuchmail.org\r
4 Received: from localhost (localhost [127.0.0.1])\r
5         by olra.theworths.org (Postfix) with ESMTP id D797D431FBF\r
6         for <notmuch@notmuchmail.org>; Fri, 18 Dec 2009 20:41:42 -0800 (PST)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 Received: from olra.theworths.org ([127.0.0.1])\r
9         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
10         with ESMTP id 91K-K-gSU7+h for <notmuch@notmuchmail.org>;\r
11         Fri, 18 Dec 2009 20:41:41 -0800 (PST)\r
12 Received: from mail-yx0-f204.google.com (mail-yx0-f204.google.com\r
13         [209.85.210.204])\r
14         by olra.theworths.org (Postfix) with ESMTP id 9210F431FAE\r
15         for <notmuch@notmuchmail.org>; Fri, 18 Dec 2009 20:41:41 -0800 (PST)\r
16 Received: by yxe42 with SMTP id 42so3969792yxe.22\r
17         for <notmuch@notmuchmail.org>; Fri, 18 Dec 2009 20:41:41 -0800 (PST)\r
18 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;\r
19         h=domainkey-signature:received:received:from:to:subject:date\r
20         :message-id:mime-version:content-type;\r
21         bh=1wtor/zhqVSNKrU8ph0GKtKmguDMtkhyvGRcJGQmPzs=;\r
22         b=cqkOlKCUJHB019PNbsbT1WNdnvMx8GP6vRvXjCMVDTLH8BznJG0vDLNrzCRLCemowU\r
23         EzCT7ozY1HT77BAAl52LmH98qVyJJRyc9/j5dWyR06Wbn3uKYOhdybDKhdDncUO+OxQ1\r
24         Hyqj4mPTPsXtdPZ4KrWjxWEqLh6hqfd8UmUiA=\r
25 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma;\r
26         h=from:to:subject:date:message-id:mime-version:content-type;\r
27         b=q2A7jNg21y65doK6uVZd/Qg7vPS8J5oiRx/LVzFNmGQZL7Hu5j68BvFrRBvyTbSINU\r
28         XKxm0zG3D7vdCN+CzdvOVjmvOgOqOaMBK2GBR+A9kUnUs/otRNegiHG0R1r8ezc1hUL5\r
29         6EetSocl2KFb3fzW0XzT8lblCkQ+Y0V61cmHg=\r
30 Received: by 10.91.138.17 with SMTP id q17mr4923348agn.96.1261197701025;\r
31         Fri, 18 Dec 2009 20:41:41 -0800 (PST)\r
32 Received: from localhost (220-244-174-171.static.tpgi.com.au\r
33  [220.244.174.171])     by mx.google.com with ESMTPS id\r
34  16sm1833824gxk.15.2009.12.18.20.41.38  (version=TLSv1/SSLv3 cipher=RC4-MD5);\r
35         Fri, 18 Dec 2009 20:41:39 -0800 (PST)\r
36 From: Alex Ghitza <aghitza@gmail.com>\r
37 To: notmuch@notmuchmail.org\r
38 Date: Sat, 19 Dec 2009 15:41:14 +1100\r
39 Message-ID: <54hbrnpod1.fsf@gmail.com>\r
40 MIME-Version: 1.0\r
41 Content-Type: text/plain; charset=us-ascii\r
42 Subject: [notmuch] keeping a copy of sent mail locally\r
43 X-BeenThere: notmuch@notmuchmail.org\r
44 X-Mailman-Version: 2.1.12\r
45 Precedence: list\r
46 List-Id: "Use and development of the notmuch mail system."\r
47         <notmuch.notmuchmail.org>\r
48 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
49         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
50 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
51 List-Post: <mailto:notmuch@notmuchmail.org>\r
52 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
53 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
54         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
55 X-List-Received-Date: Sat, 19 Dec 2009 04:41:43 -0000\r
56 \r
57 \r
58 Hello,\r
59 \r
60 Many thanks to Marten and Carl for the advice on using scripts for\r
61 assigning tags automatically.  It works like a charm.\r
62 \r
63 The next hurdle seems to be dealing with sent mail.  I would like each\r
64 message that I send to be saved in my local mail folder and treated the\r
65 same as all my other messages -- so it will get indexed and put in the\r
66 right thread, etc.  (For example, right now the thread that started with\r
67 my question about automatic tags only has the two replies in it, and its\r
68 subject is "Re: [notmuch] automatically...")  Bcc-ing myself on every\r
69 sent message is suboptimal for a number of reasons: (1) gmail throws\r
70 away the bcc-ed copy since it has the same message id as the one sitting\r
71 in the gmail sent mail, and so the bcc-ed copy never makes it back to my\r
72 local mail;  (2) even if this was working, it would be an unnecessary\r
73 waste of bandwidth. \r
74 \r
75 After looking around for a little bit, the only other option I could see\r
76 was to use the FCC mail header.  Unfortunately this wants a filename to\r
77 save to (rather than just a directory); so I have to manually add the\r
78 FCC: header, put in a filename that doesn't yet exist, type 'y' to\r
79 confirm that I want the file to be created.  It would be great if I\r
80 could just set the directory where sent mail should go to as a global\r
81 option, and then everything would happen automatically without any more\r
82 effort from me.\r
83 \r
84 I realise that this is more of an emacs question than a notmuch\r
85 question, but I'm hoping that somebody on this list has an elegant\r
86 solution to this.\r
87 \r
88 \r
89 Best,\r
90 Alex\r
91 \r
92 \r
93 -- \r
94 Alex Ghitza -- Lecturer in Mathematics -- The University of Melbourne\r
95 -- Australia -- http://www.ms.unimelb.edu.au/~aghitza/\r