--- /dev/null
+Return-Path: <Jason@zx2c4.com>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+ by olra.theworths.org (Postfix) with ESMTP id B3BD2431FB6\r
+ for <notmuch@notmuchmail.org>; Fri, 7 Dec 2012 05:48:39 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.099\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.099 tagged_above=-999 required=5\r
+ tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,\r
+ HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=disabled\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+ by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+ with ESMTP id nZ9-Xh0mEWcO for <notmuch@notmuchmail.org>;\r
+ Fri, 7 Dec 2012 05:48:39 -0800 (PST)\r
+Received: from homiemail-a2.g.dreamhost.com (mailbigip.dreamhost.com\r
+ [208.97.132.5])\r
+ by olra.theworths.org (Postfix) with ESMTP id EE8B5431FAE\r
+ for <notmuch@notmuchmail.org>; Fri, 7 Dec 2012 05:48:38 -0800 (PST)\r
+Received: from homiemail-a2.g.dreamhost.com (localhost [127.0.0.1])\r
+ by homiemail-a2.g.dreamhost.com (Postfix) with ESMTP id 20FCA280071\r
+ for <notmuch@notmuchmail.org>; Fri, 7 Dec 2012 05:48:38 -0800 (PST)\r
+DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=zx2c4.com; h=mime-version\r
+ :in-reply-to:references:date:message-id:subject:from:to:cc:\r
+ content-type; s=zx2c4.com; bh=+Qrk28CPyulIpK80k12YwA9rizs=; b=S/\r
+ AoWxq+MnK28AWs6BWqZ7PPaT5M/yCLVX7v/2PJ7B37REbiqKKG6hxQN4tDlEgtHZ\r
+ YBCSBxo6pB5JtWAnIE+R1bQd7ab5OoJRb2KpAmp2t7+kqDne16JVPFyPgXsn/8dl\r
+ bUEIgETa51G94d2WFPodbQB62M59nMur/rEfIbMNc=\r
+Received: from mail-oa0-f53.google.com (mail-oa0-f53.google.com\r
+ [209.85.219.53]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
+ (No client certificate requested)\r
+ (Authenticated sender: jason@zx2c4.com)\r
+ by homiemail-a2.g.dreamhost.com (Postfix) with ESMTPSA id 2ABA728006D\r
+ for <notmuch@notmuchmail.org>; Fri, 7 Dec 2012 05:48:37 -0800 (PST)\r
+Received: by mail-oa0-f53.google.com with SMTP id j6so415481oag.26\r
+ for <notmuch@notmuchmail.org>; Fri, 07 Dec 2012 05:48:36 -0800 (PST)\r
+MIME-Version: 1.0\r
+Received: by 10.60.172.164 with SMTP id bd4mr2679258oec.51.1354888115541; Fri,\r
+ 07 Dec 2012 05:48:35 -0800 (PST)\r
+Received: by 10.76.33.70 with HTTP; Fri, 7 Dec 2012 05:48:35 -0800 (PST)\r
+In-Reply-To: <50C1AEA0.9090508@gmail.com>\r
+References:\r
+ <CAHmME9om0twqigr0L2pwXtbj4ceBVVFz0HqxkwFfB-AnusP2VQ@mail.gmail.com>\r
+ <50c16b03.47e2440a.6038.ffffedce@mx.google.com> <50C1AEA0.9090508@gmail.com>\r
+Date: Fri, 7 Dec 2012 14:48:35 +0100\r
+Message-ID:\r
+ <CAHmME9pKBJ1Brad=Z1pErSjGqjsZ8Xn56uM-k-U7WLgwjspN_w@mail.gmail.com>\r
+Subject: Re: gmail importer script\r
+From: "Jason A. Donenfeld" <Jason@zx2c4.com>\r
+To: Rainer M Krug <R.M.Krug@gmail.com>\r
+Content-Type: multipart/alternative; boundary=bcaec54c4fcad6570f04d043788f\r
+Cc: public-notmuch-gxuj+Tv9EO5zyzON3hdc1g@plane.gmane.org,\r
+ notmuch@notmuchmail.org\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+ <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Fri, 07 Dec 2012 13:48:39 -0000\r
+\r
+--bcaec54c4fcad6570f04d043788f\r
+Content-Type: text/plain; charset=ISO-8859-1\r
+\r
+On Fri, Dec 7, 2012 at 9:53 AM, Rainer M Krug <R.M.Krug@gmail.com> wrote:\r
+>\r
+> Sounds interesting.\r
+>\r
+> I don't know much python, so excuse my questions:\r
+>\r
+> 1) are multiple downloads of an email done, if the mail has multiple\r
+> labels?\r
+>\r
+\r
+No.\r
+\r
+\r
+> 2) I am downloading with the patched notmuch (to add x-keywords containing\r
+> the labels) only the\r
+> "All Mail" folder - does your script use this information (if present) to\r
+> tag the emails?\r
+>\r
+\r
+What is the patched notmuch? What does that do?\r
+\r
+\r
+> 3) are label changes in gmail synched into the local emails?\r
+>\r
+\r
+It pulls labels from gmail messages into notmuch, with the labels in tact,\r
+once per each email.\r
+\r
+\r
+> 4) I assume, local changes are not synced to gmail?\r
+>\r
+\r
+Correctamundo.\r
+\r
+\r
+\r
+> 5) how are conflicts handled (local tag changes versus label changes on\r
+> gmail)?\r
+>\r
+\r
+They aren't. See 3.\r
+\r
+\r
+>\r
+> Thanks,\r
+>\r
+> Rainer\r
+> -----BEGIN PGP SIGNATURE-----\r
+> Version: GnuPG v1.4.11 (GNU/Linux)\r
+> Comment: Using GnuPG with Mozilla - http://www.enigmail.net/\r
+>\r
+> iEYEARECAAYFAlDBrqAACgkQoYgNqgF2egqrEwCeOSr5TGZgAIaRvzHCl1Nv+DBk\r
+> ko4AnRT0FMBwYNRGzSclXxZXzaH0Q23x\r
+> =Sx0B\r
+> -----END PGP SIGNATURE-----\r
+>\r
+> _______________________________________________\r
+> notmuch mailing list\r
+> notmuch@notmuchmail.org\r
+> http://notmuchmail.org/mailman/listinfo/notmuch\r
+>\r
+\r
+--bcaec54c4fcad6570f04d043788f\r
+Content-Type: text/html; charset=ISO-8859-1\r
+Content-Transfer-Encoding: quoted-printable\r
+\r
+<br><br><div class=3D"gmail_quote">On Fri, Dec 7, 2012 at 9:53 AM, Rainer M=\r
+ Krug <span dir=3D"ltr"><<a href=3D"mailto:R.M.Krug@gmail.com" target=3D=\r
+"_blank">R.M.Krug@gmail.com</a>></span> wrote:<blockquote class=3D"gmail=\r
+_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:=\r
+1ex">\r
+Sounds interesting.<br>\r
+<br>\r
+I don't know much python, so excuse my questions:<br>\r
+<br>\r
+1) are multiple downloads of an email done, if the mail has multiple labels=\r
+?<br></blockquote><div><br></div><div>No.</div><div>=A0</div><blockquote cl=\r
+ass=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;p=\r
+adding-left:1ex">\r
+\r
+2) I am downloading with the patched notmuch (to add x-keywords containing =\r
+the labels) only the<br>\r
+"All Mail" folder - does your script use this information (if pre=\r
+sent) to tag the emails?<br></blockquote><div><br></div><div>What is the pa=\r
+tched notmuch? What does that do?</div><div>=A0</div><blockquote class=3D"g=\r
+mail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-l=\r
+eft:1ex">\r
+\r
+3) are label changes in gmail synched into the local emails?<br></blockquot=\r
+e><div><br></div><div>It pulls labels from gmail messages into notmuch, wit=\r
+h the labels in tact, once per each email.</div><div>=A0</div><blockquote c=\r
+lass=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;=\r
+padding-left:1ex">\r
+\r
+4) I assume, local changes are not synced to gmail?<br></blockquote><div><b=\r
+r></div><div>Correctamundo.</div><div><br></div><div>=A0</div><blockquote c=\r
+lass=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;=\r
+padding-left:1ex">\r
+\r
+5) how are conflicts handled (local tag changes versus label changes on gma=\r
+il)?<br></blockquote><div><br></div><div>They aren't. See 3.</div><div>=\r
+=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;borde=\r
+r-left:1px #ccc solid;padding-left:1ex">\r
+\r
+<br>\r
+Thanks,<br>\r
+<br>\r
+Rainer<br>\r
+-----BEGIN PGP SIGNATURE-----<br>\r
+Version: GnuPG v1.4.11 (GNU/Linux)<br>\r
+Comment: Using GnuPG with Mozilla - <a href=3D"http://www.enigmail.net/" ta=\r
+rget=3D"_blank">http://www.enigmail.net/</a><br>\r
+<br>\r
+iEYEARECAAYFAlDBrqAACgkQoYgNqgF2egqrEwCeOSr5TGZgAIaRvzHCl1Nv+DBk<br>\r
+ko4AnRT0FMBwYNRGzSclXxZXzaH0Q23x<br>\r
+=3DSx0B<br>\r
+-----END PGP SIGNATURE-----<br>\r
+<div class=3D"HOEnZb"><div class=3D"h5"><br>\r
+_______________________________________________<br>\r
+notmuch mailing list<br>\r
+<a href=3D"mailto:notmuch@notmuchmail.org">notmuch@notmuchmail.org</a><br>\r
+<a href=3D"http://notmuchmail.org/mailman/listinfo/notmuch" target=3D"_blan=\r
+k">http://notmuchmail.org/mailman/listinfo/notmuch</a><br>\r
+</div></div></blockquote></div><br>\r
+\r
+--bcaec54c4fcad6570f04d043788f--\r