Open bengotow opened 8 years ago
I have only realized this bug today after sending many duplicate emails over the last two days. Until the bug is completely resolved, I think the simple solution is to disable link tracking and open tracking.
+1
it's not showing on N1 that multiple emails are sent out. But it shows up when I am on gmail web app/mobile app.
+1
+1
+1
The main question is: are people really receiving our emails in duplicate? On "Sent Mail", that's what I see, but I am not sure if that's really happening...
My hunch here is that the sync engine is NOT actually sending two messages— it's sending a single message but then ALSO saving a second message to the sent folder.
This behavior is needed for many old-school IMAP mail servers which don't automatically create a message in the Sent folder when you actually send something. (Remember, traditionally IMAP and SMTP servers operate on different hosts.) To compensate for this, clients like Mail.app will have actual settings for whether to save mail on the server.
The is no actual API for determining whether an SMTP server will automatically store a copy of the sent message in the user's mailbox Sent folder. I believe we have this hard-coded in our settings for the sync engine per-provider. e.g. We don't create a copy in the Sent folder for Gmail because we know it does that automatically.
Our current sending behavior does this:
We need to change it to this:
This should eliminate the "double sending" issue that people are reporting.
If we are actually sending two messages, that is another issue that we really need to resolve as well.
@grinich oh interesting, this was also reported here: https://github.com/nylas/N1/issues/2709
@jstejada yeah — I really feel that we shouldn't make it optional for saving an item to the Sent folder. Unchecking that box accidentally just confuses people. There should always be one message saved to the Sent folder... but never two.
Yeah definitely, makes sense -- merging that issue into this one and updating the sync-engine issue
This is related to https://github.com/nylas/N1/issues/1457 and https://phab.nylas.com/T6958
Reported by another user today via ZenDesk. Internal link: https://nylas.zendesk.com/agent/tickets/6172
As reported in: https://nylas.zendesk.com/agent/tickets/5141