* How to write and prepare an email to be sent from org-mode :ATTACH: :PROPERTIES: :mail_to: Nick Anderson :mail_subject: How to write and prepare an email to be sent from org-mode :mail_from: Nick Anderson :END: @fnat@social.coop https://social.coop/@fnat/114830041609939391 was interested in a workflow where he would write an email in org-mode that gets converted to text to be sent out. I do not publish my config, it's a lot of org-mode. Some is tangled, some is manually loaded via babel blocks that I execute as I re-need something. To author an email in org-mode I often use a capture template that pre-fills some information but basically I have something like this: #+begin_src org ,* TODO Write an email to myself so that I can show how to author emails in org-mode :PROPERTIES: :mail_to: Nick Anderson :mail_subject: I wrote this with love in Emacs org-mode :mail_from: Nick Anderson :END: Emacs org-mode wisdom #42: Org-mode This Is The Way. ,#+DOWNLOADED: https://cdn.fosstodon.org/media_attachments/files/114/664/555/309/558/353/original/27752a727646342a.jpg @ 2025-07-10 17:52:39 [[attachment:2025-07-10_17-52-39_27752a727646342a.jpg]] #+end_src #+DOWNLOADED: https://cdn.fosstodon.org/media_attachments/files/114/664/555/309/558/353/original/27752a727646342a.jpg @ 2025-07-10 17:52:39 [[attachment:2025-07-10_17-52-39_27752a727646342a.jpg]] Then I use =org-mime-org-subtree-htmlize= from [[https://github.com/org-mime/org-mime][org-mime]] and then I send it which drops to my local postfix queue for delivery via smtpauth based on the sender. #+DOWNLOADED: file:///tmp/Spectacle.JiluJi/Screenshot_20250710_180711.png @ 2025-07-10 18:07:28 [[attachment:2025-07-10_18-07-28_Screenshot_20250710_180711.png]]