HEML: an open source markup language for building responsive email
github.com
github.com
Reality is - if you want this to get off the ground, you might think about building up a library of pre-existing templates, especially for transactional emails. Those are very few and far between for budding SaaS developers.
Graphically designed email is used primarily for marketing bullshit - mails that i’d rather not want to receive at all in the first place.
In that situation, it seems more productive to advocate for multi-part emails with a sensible plain text part than to sentence "mails should be plain text only", with no arguments and no compromises...
The real question is: does this render nice, full, text/plain? I doubt it - it's certainly possible to go from <rich XML format> to markdown/ReST/etc+html -- but it seems much easier to get good text/plain results by using something like markdown as the foundation (markdown becomes the text/plain part).
The faq doesn't say, and from a glance the docs don't mention text/plain. So I'm guessing this generates invalid email (no usable text/plain part).
I might be just too tired and not be open trying to search for these solutions until someone with a problem in that area hires me to solve it...
EDIT:
Reading my message again I must highlight there are some argumentation points in my original message :)
Except mutt, mu4e, notmuch, and friends. :(
Actually, I have my mine fillets set to pump html through w3e, so if you're lynx-friendly, then maybe it'd be passable? I usually just delete html email without reading it though.
Or even - do i get a greater chance that someone sending me mail is actually willing to accept a reply in the same channel?
Many nowadays just force us to go to their websites, login, find a contact form, read through faq’s first, then find a form that, even though i just signed in, doesn’t know my name and customer number, so i have to enter all these again... to receive a standardized reply a few days later.
So, mail is just abused to force marketing messages down our throats in a single-direction communication.
And most companies investing energy in Mails looking greater do it just for this sake, is my prejudice.
I've been a happy user in Gmail at work.
We could just start doing it too, at the moment text/markdown just shows as an attachment in clients that don't support it (i.e. all of them). So we could dual-send markdown as text/plain and text/markdown and gradually make clients adapt!
That's what I dream about at night anyways.
Edit: letters
This sort of thing makes navigating that absurd maze tolerable, so that you can write something comparatively straightforward and have it transform it into the eldritch horror that is HTML email.
This particular thing includes a few of the more mystical incantations to get the MSO renderer (Outlook and ) to do the right thing. I’m fairly impressed with it for that reason. It stays away from using VML for the best results, which… well, it’s probably safest.
Of course, the result is still far from perfect, because HTML for emails is that bad.
I suspect Lovecraft had premonitions about HTML emails.
The worst is not Outlook, you can get it to do what you want most of the time... the worst are the myriad of webmail clients. They do not use iframes (which would be the best way, given you can limit what an iframe can load - scripts, images, other external resources - pretty good), but they filter and rewrite the markup each in a different way so they can inject it more or less safely in the primary markup...
And next upon the list are the Android mail clients, they're a mess, too... and there is no practical way to do automated tests or even comparisons, you gotta test 'em all by hand.
At FastMail, we’re looking forward to using JMAP in production, because then the defanging of HTML emails will be done on the client side rather than in a rather ancient hunk of Perl that works tolerably well but we’ve mostly avoided touching because JMAP is coming (still, it’s already fairly good as webmail clients go).
Makes zero sense to me.
To be pedantic, no one really wants to write markup. Marketers want a simple solution that lets their emails get through intact. This is not a bad solution to that problem.