Mailspring/packages
Christine Spang 5cdd82fc62 [local-sync] On Gmail initial sync, prioritize up to 1k inbox UIDs
Summary:
All we do is use the SEARCH X-GM-RAW IMAP extension to find the UIDs
to prioritize at the beginning of initial sync, and download these UIDs
until there are none left. Then we continue downloading All Mail as
usual.

Because of the way we batch via ranges, the most expedient way to
implement this means that all prioritized emails will end up being
downloaded twice (the second time we'll detect that the message exists
and do nothing).

This seems like a worthwhile tradeoff for quick appearance of the
messages in a user's inbox.

Test Plan: manual

Reviewers: evan, juan

Reviewed By: evan, juan

Differential Revision: https://phab.nylas.com/D3706
2017-01-16 10:47:14 -08:00
..
isomorphic-core [local-sync] Fix yahoo sending 2017-01-15 17:29:00 -08:00
local-private [local-private] use new action name 2017-01-16 10:30:41 -08:00
local-sync [local-sync] On Gmail initial sync, prioritize up to 1k inbox UIDs 2017-01-16 10:47:14 -08:00