Re: gmail label support in offlineimap - update

Subject: Re: gmail label support in offlineimap - update

Date: Wed, 28 Nov 2012 19:47:52 +0100

To: Jeremy Nickurak, notmuch

Cc:

From: Michal Nazarewicz


On Wed, Nov 28 2012, Jeremy Nickurak wrote:
> The other direction sounds like it would be trickier though, since
> there's no obvious way to say "what notmuch tags have changed since
> time X?". Is this something that notmuch could provide?

One could parse the X-Labels header and compare it with actual tags
given message has.  If there are some tags that X-Labels lists but the
message does not have, the notmuch->gmail syncing tool could assume that
those were removed by notmuch.  Similarly with tags that are not in
X-Labels but the message has.  (Of course the list of tags would have to
be limited to those that have corresponding gmail labels.)  Just
a thought.

-- 
Best regards,                                         _     _
.o. | Liege of Serenely Enlightened Majesty of      o' \,=./ `o
..o | Computer Science,  Michał “mina86” Nazarewicz    (o o)
ooo +----<email/xmpp: mpn@google.com>--------------ooO--(_)--Ooo--

Thread: