Anything that makes email development easier is great I guess, but have personally found MJML great for solving the issues you'd run into, and not sure I want yet another abstraction layer on top of that which makes it more limited...
This appears to be a MJML wrapper with a Markdown→HTML converter attached to it. I think generating HTML from code is easier than generating Markdown, since there are many templating tools that understand HTML escaping. And writing HTML is not that hard, especially for your typical emails, so I'm not really sure if this library would be helpful in the long run.
Markdown is the secret winner of the AI early years.
Curious why the CLI function is `mvd` instead of `mdv`?
I hope .md domains do not become a security hole as Markdown raises in popularity...
Great project! And if you don't mind a little workaround and some Python scripting, you can turn a regular Obsidian folder into an automatic outbox. Write markdown, drag, drop, and ship.
I am working on smth similar markdown reader for humans, not agents - <a href="https://mdview.io" rel="nofollow">https://mdview.io</a>
Any "HTML emails" get filtered straight into the spam folder here. I think I'm not part of the target audience here.
I like how you aren't hiding the fact this is MJML under the hood and don't layer complex abstractions over MJML spec like similar projects (<i>cough</i> react email <i>cough</i>).<p>The devs maintaining MJML deserve so much credit for dealing with Gmail/Outlook's monopoly bullshit and 2007 html.<p>Nice idea for those who manage content in markdown. I've moved away from putting emails in my codebase, but seems great for founders moving fast.
I wish people just sent plain text.
What about images, links?
Formatted text like bold or underline?<p>I also prefer plain text, but in most of my emails I talk about technical stuff, or I send transactional emails that require actions, in which case showing buttons is a much better user experience than plain text.
Embedded images aren't really compatible with Markdown. They just aren't. (Oh, syntax for it is defined, all right (in Gruber's implementation, even). But it doesn't really cohere with the rest of Markdown—in the way that Markdown is an opinionated way of formatting your plain text documents so that they can <i>optionally</i> be mechanically translated for typesetting systems that have richer formatting options.)<p>Any serious Markdown-to-email should probably look like this:<p>Markdown, formatted as readable plain text (i.e., <i>not</i> the way that GitHub encourages people to treat it as just alternative "lightweight" markup syntax that you just tickle differently when you want the end result to show up how you want; Markdown is supposed to be readable in raw form) and sent as plain text email, no HTML or multipart/alternative in sight<p>+<p>A convention of including a special header (or trailer in the message body) that denotes to the mail client, "This is plain text, but it happens to be valid Markdown, and the author wishes to express their intent that it be treated as such, with richer formatting for the recipient (to be overridden at the recipient's desire)."
I don’t want buttons in my emails.
Yeah, the first example on that site doesn't need any formatting.
It just says your code is <code>
A picture is worth a thousand words.
Plain text? Pffft.<p>Human language is an unnecessary abstraction, just like images.<p>I wish everyone would communicate in pure Binary.
templates are cool but seems too heavy to land in primary inbox
[dead]
[dead]
[flagged]
"Write markdown. Ship emails." - I see a particular group of people interested in this, but they have their tools already.