Mailspring/packages/local-sync/spec
Juan Tejada 574f171fbd [local-sync] Properly set the sent label for Gmail accounts
Summary:
We can't try to set or remove the sent label on gmail accounts because
the operation will silently fail and cause the threads to later bounce
back.

This occurred when trying to delete or archive a thread that contained a
sent message, and we incorrectly tried to overwrite or remove all of the
labels on messages, without regard for sent.

This was causing https://github.com/nylas/nylas-mail/issues/2706 and
sending and archiving to immediately bounce back.

Addresses T7757

Test Plan: unit tests

Reviewers: halla, evan, spang

Reviewed By: halla, evan, spang

Differential Revision: https://phab.nylas.com/D3829
2017-02-02 17:20:38 -08:00
..
fixtures [local-sync] Give Nylas Mail messages a different Message-ID from API messages 2017-01-11 15:51:12 -08:00
local-sync-worker [local-sync] Properly set the sent label for Gmail accounts 2017-02-02 17:20:38 -08:00
message-processor [local-sync] Properly set the sent label for Gmail accounts 2017-02-02 17:20:38 -08:00
shared [local-sync] Properly set the sent label for Gmail accounts 2017-02-02 17:20:38 -08:00
helpers.js [local-sync] Small restructuring of local-sync specs 2017-02-02 14:48:26 -08:00