[GH-ISSUE #20] [Feature request] Add option to save copy of sent emails in IMAP folder #19

Closed
opened 2026-03-03 01:19:03 +03:00 by kerem · 3 comments
Owner

Originally created by @d99kris on GitHub (Jan 28, 2020).
Original GitHub issue: https://github.com/d99kris/nmail/issues/20

Originally assigned to: @d99kris on GitHub.

Refer to #15 - Thunderbird supports a configurable option to save outgoing emails. While some email providers (GMail, Outlook, etc) automatically handles this on server-side, there are some email providers (Disroot) that does not. And technically SMTP is a separate protocol from IMAP, so it probably makes sense to support the storing on client side.

The proposal is to add a configurable option (true/false?) whether to save outgoing emails in the configured "sent" folder. Setup wizards need to have appropriate default values based on server-side capabilities.

Originally created by @d99kris on GitHub (Jan 28, 2020). Original GitHub issue: https://github.com/d99kris/nmail/issues/20 Originally assigned to: @d99kris on GitHub. Refer to #15 - Thunderbird supports a configurable option to save outgoing emails. While some email providers (GMail, Outlook, etc) automatically handles this on server-side, there are some email providers (Disroot) that does not. And technically SMTP is a separate protocol from IMAP, so it probably makes sense to support the storing on client side. The proposal is to add a configurable option (true/false?) whether to save outgoing emails in the configured "sent" folder. Setup wizards need to have appropriate default values based on server-side capabilities.
kerem closed this issue 2026-03-03 01:19:04 +03:00
Author
Owner

@Kabouik commented on GitHub (Jan 28, 2020):

Just to make sure I got it right, the feature would be about making nmail save sent mails in the "Sent" folder on the server, not just (or at all?) locally, right?

Thanks for opening this issue by the way! It's great to see how actively you're improving nmail.

[Edit] I believe the same issue exists with Yandex, although that was not a thorough testing at all, just opportunistic observation that needs to be confirmed with proper testing.

<!-- gh-comment-id:579342097 --> @Kabouik commented on GitHub (Jan 28, 2020): Just to make sure I got it right, the feature would be about making nmail save sent mails in the "Sent" folder on the server, not just (or at all?) locally, right? Thanks for opening this issue by the way! It's great to see how actively you're improving nmail. [Edit] I believe the same issue exists with Yandex, although that was not a thorough testing at all, just opportunistic observation that needs to be confirmed with proper testing.
Author
Owner

@d99kris commented on GitHub (Jan 29, 2020):

Just to make sure I got it right, the feature would be about making nmail save sent mails in the "Sent" folder on the server, not just (or at all?) locally, right?

Right! Sorry my wording was a bit ambiguous, but yes I meant that nmail would (only) save the email in the server IMAP "Sent" folder.

I believe the same issue exists with Yandex, although that was not a thorough testing at all, just opportunistic observation that needs to be confirmed with proper testing.

Ok, thanks for the extra data point. In any case it seems other email clients supports this type of functionality, so it makes perfect sense for nmail to support it as well.

<!-- gh-comment-id:579694427 --> @d99kris commented on GitHub (Jan 29, 2020): > Just to make sure I got it right, the feature would be about making nmail save sent mails in the "Sent" folder on the server, not just (or at all?) locally, right? Right! Sorry my wording was a bit ambiguous, but yes I meant that `nmail` would (only) save the email in the server IMAP "Sent" folder. > I believe the same issue exists with Yandex, although that was not a thorough testing at all, just opportunistic observation that needs to be confirmed with proper testing. Ok, thanks for the extra data point. In any case it seems other email clients supports this type of functionality, so it makes perfect sense for `nmail` to support it as well.
Author
Owner

@d99kris commented on GitHub (Feb 7, 2020):

I've implemented support for this now. The easiest way to enable it on an existing account setup is to build/install latest nmail and start it and exit again. The proceed to edit ~/.nmail/main.conf and fill out sent folder name for parameter sent= and set the flag to enable client side upload of sent messages:
client_store_sent=1. Please let me know if any issues are encountered. Thanks!

<!-- gh-comment-id:583391421 --> @d99kris commented on GitHub (Feb 7, 2020): I've implemented support for this now. The easiest way to enable it on an existing account setup is to build/install latest nmail and start it and exit again. The proceed to edit `~/.nmail/main.conf` and fill out sent folder name for parameter `sent=` and set the flag to enable client side upload of sent messages: `client_store_sent=1`. Please let me know if any issues are encountered. Thanks!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/nmail#19
No description provided.