Create impeccable MIME email from markdown

17 · Joe Nelson · July 16, 2020, midnight
The goal I want to create emails that look their best in all mail clients, whether graphical or text based. Ideally I’d write a message in a simple format like Markdown, and generate the final email from the input file. Additionally, I’d like to be able to include fenced code snippets in the message, and make them available as attachments. Demo I created a utility called mimedown that reads markdown through stdin and prints multipart MIME to stdout. Let’s see it in action. Here’s an example mess...