Re: gmail importer script
authorKushal Kumaran <kushal.kumaran+notmuch@gmail.com>
Fri, 7 Dec 2012 04:05:15 +0000 (09:35 +0530)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:51:40 +0000 (09:51 -0800)
33/496267c8e0e0d1ced6524c552f290e7fe89cdf [new file with mode: 0644]

diff --git a/33/496267c8e0e0d1ced6524c552f290e7fe89cdf b/33/496267c8e0e0d1ced6524c552f290e7fe89cdf
new file mode 100644 (file)
index 0000000..68574bc
--- /dev/null
@@ -0,0 +1,93 @@
+Return-Path: <kushal.kumaran@gmail.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 192BF431FB6\r
+       for <notmuch@notmuchmail.org>; Thu,  6 Dec 2012 20:05:26 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.799\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.799 tagged_above=-999 required=5\r
+       tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,\r
+       FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7] 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 y1sCjJOmE4Nh for <notmuch@notmuchmail.org>;\r
+       Thu,  6 Dec 2012 20:05:25 -0800 (PST)\r
+Received: from mail-da0-f53.google.com (mail-da0-f53.google.com\r
+       [209.85.210.53]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
+       (No client certificate requested)\r
+       by olra.theworths.org (Postfix) with ESMTPS id 941B0431FAE\r
+       for <notmuch@notmuchmail.org>; Thu,  6 Dec 2012 20:05:25 -0800 (PST)\r
+Received: by mail-da0-f53.google.com with SMTP id x6so38767dac.26\r
+       for <notmuch@notmuchmail.org>; Thu, 06 Dec 2012 20:05:24 -0800 (PST)\r
+DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;\r
+       h=sender:from:to:subject:in-reply-to:references:user-agent:date\r
+       :message-id:mime-version:content-type;\r
+       bh=Fm7EeOqC/hhJaGMq/Y+5jiauvEdhxTgHu3U7iuOOnFE=;\r
+       b=rK1LqrrNraovoR00kg9zpaL68/0LKU7EskQ6Zkx8COlgaKxuvcUD0xFUGrpbIB51Yu\r
+       XFTbZLds1hdFh0UdDeIEJlJ7Kb1+cpd4ht+4F3eOmcsDRFE5tEgtcVsO1xurJpmRVAt5\r
+       jpmtNDWbMwJDSRMdABk/M2bsiCH+gpoBZKA6Kws0Dq924iN+p9ZFyhxzmyhV1aNF1Qgu\r
+       AIiCz8l+8rllvEAzWvh+JURmczcBEUhLNDq+S4yo63qqcuVXZbTYoMmSx8LEtu9/jk93\r
+       /Jioeeq26pym6wZLtsoPIkqmGHha8OdKcZrhVSPa9YpF+ZPJLljtcsqW4Uvhurp+DNaq\r
+       WKKg==\r
+Received: by 10.66.81.42 with SMTP id w10mr9654558pax.66.1354853124697;\r
+       Thu, 06 Dec 2012 20:05:24 -0800 (PST)\r
+Received: from nitrogen ([117.219.2.238])\r
+       by mx.google.com with ESMTPS id rq7sm5908125pbc.69.2012.12.06.20.05.21\r
+       (version=TLSv1/SSLv3 cipher=OTHER);\r
+       Thu, 06 Dec 2012 20:05:23 -0800 (PST)\r
+Sender: Kushal Kumaran <kushal.kumaran@gmail.com>\r
+Received: by nitrogen (Postfix, from userid 1000)\r
+       id 17B811202CB; Fri,  7 Dec 2012 09:35:15 +0530 (IST)\r
+From: Kushal Kumaran <kushal.kumaran+notmuch@gmail.com>\r
+To: notmuch@notmuchmail.org\r
+Subject: Re: gmail importer script\r
+In-Reply-To:\r
+ <CAHmME9om0twqigr0L2pwXtbj4ceBVVFz0HqxkwFfB-AnusP2VQ@mail.gmail.com>\r
+References:\r
+ <CAHmME9om0twqigr0L2pwXtbj4ceBVVFz0HqxkwFfB-AnusP2VQ@mail.gmail.com>\r
+User-Agent: Notmuch/0.14+83~gae459a3 (http://notmuchmail.org) Emacs/24.1.1\r
+       (x86_64-pc-linux-gnu)\r
+Date: Fri, 07 Dec 2012 09:35:15 +0530\r
+Message-ID: <50c16b03.47e2440a.6038.ffffedce@mx.google.com>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain\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 04:05:26 -0000\r
+\r
+"Jason A. Donenfeld" <Jason@zx2c4.com> writes:\r
+\r
+> Hi folks,\r
+>\r
+> I wrote a script that imports emails and tags from gmail. It's\r
+> resumable and appears to be working reasonably well. I could use some\r
+> experienced eyes looking at it, as my first exposure to notmuch was\r
+> just a few hours ago.\r
+>\r
+> http://git.zx2c4.com/gmail-notmuch/tree/gmail-notmuch.py\r
+>\r
+\r
+Not specific to notmuch, but not every gmail user has a @gmail.com or\r
+@googlemail.com email address.  Google Apps users can have arbitrary\r
+email addresses, and still use gmail's imap and web interface.\r
+\r
+I finished syncing my gmail locally (using offlineimap), and creating\r
+tags by hand not one day ago, or I would certainly have tried out this\r
+script.\r
+\r
+-- \r
+regards,\r
+kushal\r