git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH v2] send-email: add ability to send a copy of sent emails to an IMAP folder

From
Junio C Hamano <gitster@pobox.com>
Date
Jul 21, 2025, 19:13 UTC
Message-ID
<xmqqpldtxsp7.fsf@gitster.g>
In-Reply-To
<87a890182591c9c21061e85834fc99a766252611.1753092192.git.gargaditya08@live.com>
Aditya Garg <gargaditya08@live.com> writes:
> +sendemail.imapfolder::

Do we expect that the use of IMAP in git-send-email will be limited forever to store outgoing e-mails to the Sent folder? I highly doubt it. For example, would it be plausible that given send-email has so much richer feature set compared to imap-send, it would not be implausible for users of imap-send that want to stuff messages, with Cc's, threading, etc., all prepared by send-email, to their outgoing folder.

And when somebody wants to add such a feature to "git send-email", how would they find this variable that uses imap-send for quite a different purpose squatting on its name?

Same comment for the --imap-folder command line option and the internal variable(s) used to implement this feature.

These things should be named with words like "sent", "fcc", etc., to clarify the use case this new feature is trying to support.

As imap-send is not part of my daily workflow, I have no strong opinions for or against the proposed feature, and I didn't find anything glaringly wrong in the implementation, other than the poor naming that would block possible future enhancements.

Thanks.
Previous: Aditya GargNext: brian m. carlson
Message 5 of 33 in “send-email: add ability to send a copy of sent emails to an IMAP folder”
  1. send-email: add ability to send a copy of sent emails to an IMAP folderAditya Garg, Jul 20, 2025
  2. send-email: add ability to send a copy of sent emails to an IMAP folderAditya Garg, Jul 21, 2025
  3. Eric SunshineJul 21, 2025
  4. Aditya GargJul 23, 2025
  5. Junio C HamanoJul 21, 2025
  6. brian m. carlsonJul 22, 2025
  7. Aditya GargJul 22, 2025
  8. Aditya GargJul 22, 2025
  9. Junio C HamanoJul 22, 2025
  10. Aditya GargJul 22, 2025
  11. Aditya GargJul 22, 2025
  12. Junio C HamanoJul 22, 2025
  13. Aditya GargJul 22, 2025
  14. Aditya GargJul 22, 2025
  15. Junio C HamanoJul 22, 2025
  16. Aditya GargJul 22, 2025
  17. Junio C HamanoJul 22, 2025
  18. Aditya GargJul 22, 2025
  19. send-email: add ability to send a copy of sent emails to an IMAP folderAditya Garg, Jul 22, 2025
  20. Aditya GargJul 23, 2025
  21. 0/2 send-email: integrate with git imap-sendAditya Garg, Jul 23, 2025
  22. 1/2 send-email: add ability to send a copy of sent emails to an IMAP folderAditya Garg, Jul 23, 2025
  23. 2/2 send-email: enable copying emails to IMAP folder without actually sending themAditya Garg, Jul 23, 2025
  24. Junio C HamanoAug 11, 2025
  25. Aditya GargAug 12, 2025
  26. Aditya GargAug 12, 2025
  27. Junio C HamanoAug 12, 2025
  28. Aditya GargAug 12, 2025
  29. 0/2 send-email: integrate with git imap-sendAditya Garg, Aug 12, 2025
  30. 1/2 send-email: add ability to send a copy of sent emails to an IMAP folderAditya Garg, Aug 12, 2025
  31. 2/2 send-email: enable copying emails to an IMAP folder without actually sending themAditya Garg, Aug 12, 2025
  32. Junio C HamanoAug 12, 2025
  33. Junio C HamanoAug 15, 2025

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.