mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-03-04 03:56:33 +08:00
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 |
||
---|---|---|
.. | ||
isomorphic-core | ||
local-private | ||
local-sync |