gmail importer script

Kushal Kumaran kushal.kumaran+notmuch at gmail.com
Thu Dec 6 20:05:15 PST 2012


"Jason A. Donenfeld" <Jason at zx2c4.com> writes:

> Hi folks,
>
> I wrote a script that imports emails and tags from gmail. It's
> resumable and appears to be working reasonably well. I could use some
> experienced eyes looking at it, as my first exposure to notmuch was
> just a few hours ago.
>
> http://git.zx2c4.com/gmail-notmuch/tree/gmail-notmuch.py
>

Not specific to notmuch, but not every gmail user has a @gmail.com or
@googlemail.com email address.  Google Apps users can have arbitrary
email addresses, and still use gmail's imap and web interface.

I finished syncing my gmail locally (using offlineimap), and creating
tags by hand not one day ago, or I would certainly have tried out this
script.

-- 
regards,
kushal


More information about the notmuch mailing list