The code responsible for moving mail to sent is in Mailspring-Sync/MailSync/TaskProcessor.cpp:1442-1536. I’m going to dig into a bit, and see if I can figure out what’s going wrong, as it is supposed to prevent duplication of sent messages.
I have a problem with Outlook account. When i send a mail i see it two times in my send items folder.
I think the first is generate by office server and the second by the Mailspring client.
Can i have a feature like on other client “don’t save send items” ? I see this problem for other people but never solved
In thunderbird the fix is To disable saving a copy of sent mails.
I think what is happening is.
You send a message, mailspring puts a copy on Sent folder
Outlook server ALSO places a copy on Sent folder.
Local copy synced to server and Server copy synced to Local
and you end up with 2 sent copies.
So, a fix would be an option to save or not a copy of the sent message.
I wish i could help, but my coding skills are very poor
I have opened a ticket on nextcloud’s mail app for the same problem and the author changed my tittle from Duplicate Sent messages to Disable storing sent message on IMAP when SMTP server does this automatically. This might give you a hint to whats need to be done!
Me personally i don’t really have much of a problem with this issue, i don’t really send mails i usually receive. But for others might be deal breaker!
@gmarthews@PrincesseLulu Please vote for this issue, and then be patient. This project is entirely volunteer; even the core developer, Ben, does this in addition to a full-time job. If there are updates or a timeline, the thread will be updated. Asking for updates will not speed it up.