[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [sup-devel] Gmail source sync back.



Hello,

Excerpts from Horacio Sanson's message of 2013-07-03 11:44:49 +0200:
> I finally got the sync back feature of the Gmail source working. 

Awesome, thank you! I've been using your gmail source branch with
success for a while now. There are still a few quirks with the Inbox
tag, but overall I'm really pleased with it. Will try your branch.

> Issues to solve:
>
> [...]
> 
> - Sync back iterates over all messages in the Gmail account checking for
> differences between message labels. This can take a long time and may not
> finish before the next polling starts. How to do this efficiently?

Ah, that sounds bad. Reading the always-helpful Stack Overflow [0] says
that there is nothing for this, unfortunately. There is a IMAP RFC
extension, 4551, that is supposed to help such situations, but it is not
implemented by Gmail, although there is a beta-test for this, if you're
interested :

http://mailman2.u.washington.edu/pipermail/imap-protocol/2013-January/001962.html

Another way could be to use the search extension specific to gmail [1].
I don't think you would gain much more than bandwidth, though.


[0] http://stackoverflow.com/questions/10076690/ruby-imap-changes-since-last-check
[1] https://developers.google.com/gmail/imap_extensions#extension_of_the_search_command_x-gm-raw

> 
> regards,
> Horacio Sanson

-- 
Matthieu Rakotojaona

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Sup-devel mailing list
Sup-devel@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-devel