Mailspring/packages/isomorphic-core
Juan Tejada 8f805df476 [local-sync] Fix Mailbox does not exist error during sync
Summary:
This error ocurred, to the best of our knowledge, on iCloud accounts
that had been linked to other clients like Airmail.

On such accounts, node-imap would incorrectly parse the mailbox list
from imap, and return an `Airmail` folder which did not exist, causing
us to try to sync that nonexistent folder and error in the sync loop.

This error is amongst the most frequent we've seen in Sentry and
Support: https://sentry.io/nylas/nylas-mail/issues/213158962/events/4897450600/

The fix es detailed in the PR to node-imap: https://github.com/mscdex/node-imap/pull/594/files
This commit only points the node-imap dependency to our fork for now

Test Plan: manual and unit tests in node-imap

Reviewers: mark, khamidou, spang

Reviewed By: spang

Differential Revision: https://phab.nylas.com/D3860
2017-02-08 17:23:17 -08:00
..
src [local-sync] Continously increment timeout for imap connection if we see timeout errors 2017-02-06 14:09:34 -08:00
index.js [local-sync]: Move sendmail-client and errors to isomorphic-core 2016-12-15 12:29:56 -08:00
package.json [local-sync] Fix Mailbox does not exist error during sync 2017-02-08 17:23:17 -08:00