Storing Gmail labels
Rainer M Krug
r.m.krug at gmail.com
Wed Oct 3 08:30:47 BST 2012
-----BEGIN PGP SIGNED MESSAGE-----
On 02/10/12 20:54, Zain Memon wrote:
> On Tue, Oct 2, 2012 at 2:33 AM, Eygene Ryabinkin <rea-fbsd at codelabs.ru> wrote:
>> Tue, Oct 02, 2012 at 10:53:11AM +0200, Rainer M Krug wrote:
>>> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
>>> On 02/10/12 10:34, Eygene Ryabinkin wrote:
>>>> Mon, Oct 01, 2012 at 09:44:46PM -0700, Zain Memon wrote:
>>>>> Can I get OfflineIMAP to fetch and store my Gmail labels without having multiple copies
>>>>> of the same message?
>>>> If I am not terribly mistaken, current implementation of GMail folder storage does not
>>>> allow for this.
>>> Well - you could use the https://developers.google.com/google-apps/gmail/imap_extensions
>>> api (particularly
to get the tags for downloaded messages, if I am not completely
>> I meant the implementation of GMail support in OfflineIMAP. Sorry for not being clear. --
>> Eygene Ryabinkin ,,,^..^,,, [ Life's unfair - but root
>> password helps! | codelabs.ru ] [ 82FE 06BC D497 C0DE 49EC 4FF0 16AF 9EAE 8152
>> ECFB | freebsd.org ]
> I'm considering creating a patch for storing Gmail labels for type=Gmail. For the Maildir
> format, where could I store the label data for each message? I'm not super familiar with the
> Maildir format but it seems to me that labels should be handled similarly to flags, but I don't
> think it's a good idea to store labels in the filename of each message. Does the Maildir format
> allow for mutable data to be stored in the file itself?
I just looked at another mail client (notmuch) ion whose miailing list there was a similar
discussion, (see http://article.gmane.org/gmane.mail.notmuch.general/12411 for an idea on how to
do it with notmuch).
Also: looking at http://notmuchmail.org/howto/#index2h2, I guess an idea would be to use maildir
flags or imap flags?
But I must admit I am not that familiar with these things either.
Thanks a lot for looking into this, I am really looking forward to the results,
> _______________________________________________ OfflineIMAP-project mailing list
> OfflineIMAP-project at lists.alioth.debian.org
> OfflineIMAP homepage: http://software.complete.org/offlineimap
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://www.enigmail.net/
-----END PGP SIGNATURE-----
More information about the OfflineIMAP-project