[gmailieer] fast fetch and two-way tag synchronization between notmuch and GMail

Gaute Hope eg at gaute.vetsj.com
Mon Mar 27 06:41:04 PDT 2017


Rafael EspĂ­ndola writes on mars 27, 2017 15:23:
>> $ gmi pull # does the initial pull, fetching all you messages - this
>>           # could take some time.
> 
> It is currently running. Thank you so much.
> 
> The only things I noticed so far:
> 
> * running auth before init fails, but running init -c ... -a ... works
> * I had to name the auth file client_secret.json or "gmi pull" would
> fail trying to read it.


Right, that should be the other way around. I'll update the README.

There are two secret files. One is the API client_secret which can be
specified with the '-c' option (also for pull), this one is only needed
initially and can otherwise be stored somewhere else:

When authenticating (either running 'auth' or some operation requiring
authentication: pull/push) a local access token is retrieved, this is
stored in: .credentials.gmailieer.json in the local mail repository.

> gmail. My previous setup was to use mbsync. It is really fast for
> fetching new emails (--pull-new), but with imap the only way to get
> flag changes (including read/unread) seems to be to ask for the flag
> of every message!

Thanks!

- gaute


More information about the notmuch mailing list