by andrewmcwatters · 5y ago · 0 comments
I customized them, extracted them into modules and created a design system which I then translated to an email CMS.
Coverage is pretty good although Outlook still glitches in some circumstances.
https://tedgoas.github.io/Cerberus/
FWIW caniemail is unreliable and does not have full coverage.
Also with this level of complexity I’d rather start with a few tested patterns than navigate the insane labyrinth of email client inconsistencies.
I made what they wanted with MJML. Looked good in a browser, gmail and phone.
Outlook had a few issues, can't remember which right now.
But replying from Outlook simply broke the styling completely. Gaps between each section, complete mess. Not the impression you want to give the customers when their order goes wrong. B2B means Outlook is what out customers use.
I've found that replying via Outlook is the ultimate integrity test of an eamil.
Now I'm making them by hand and it is a madening cargo cult bonanza. Takes a lot of time.
I guess MJML is fine for marketing.
This is an Outlook problem, not an MJML or even an HTML problem.
If you inspect the HTML for the email sent vs what Outlook sends on a reply you’ll see it has changed the code.
Here’s an excellent highlight of this bug https://www.hteumeuleu.com/2016/super-mail-forward-an-email-...
Though you are technically correct, I just don't think this is a constructive attitude. Half the job of making emails is working around (Outlook) bugs. This is just the annoying world email coding.
If MJML is content ignoring Outlook bugs, MJML just isn't a satisfying tool for email makers.
Sure, it'll get the job done for some marketing, but now the developer isn't learning skills that will make robust emails beyond that.
Making robust emails becomes a completely separate skillset and the developer who chose to invest time in MJML will have to start all over learninging the necessary skills if he needs to make email you can actually reply to.
This is a problem area where a good abstraction framework is highly useful in my opinion.
That said I don’t specialise in email, it’s something I do “when I need to”. So if I was spending more time doing this sort thing, I might be more inclined to move down an abstraction level back to HTML/CSS and improve my knowledge of various client support.
To just get the job done though, MJML is highly recommended.
I see also a lot of mentions on this thread about replying to emails breaking the layout. Part of me thinks we’re fighting a losing battle here anyway so there is a limit to how much time it’s worth spending to make sure even replies are formatted nicely across all clients. But the other thing to consider is whether the email template is just trying to do too much.
I try and keep my email templates very sparse, clean and simple and I generally haven’t had too many issues with reply/forward formatting (that I’m aware of).
I’m not interested in learning MJML. I’m interested in learning what subset of HTML and CSS email clients render and rasterize to.
That’s it.
I’m sick of stupid developers shilling their software product that I’m suppose to build other products with.
They do it with these cutesy photoshop/illustrator logos and dribbble crafted color schemes and drop in things like made with love in (city) in their README.mds on GitHub.
I want tools, not someone’s amateur marketing campaign.
Doesn't sound like you want a framework. Sounds like you want a book.
It’s also easy to teach to designers.
You can use Table and all its related fields, span, h_, and p. Anything else is risky.
For CSS you can set the font color and size. Setting a font itself is risky. Avoid using anything else including margins and padding as these largely don't work properly. multi layered tables are your margin and padding system. You also can only use inline styles. No classes, style tags or linked styles.
Thats about it for email. Have fun.
I would love something like very simplistic markup, doesn't even have to be HTML. Just something to inline some images and differentiate text.
Everything else is just horrible.
I get so many emails with basically websites in them, but when you click on a product, the deep link is broken and you just end up on the storefront.
I'd much prefer a small text that talks about the product and explains a few things and then a working link to that product.