Hacker News new | ask | show | jobs
by shortformblog 774 days ago
MJML is easily the best tool of its kind and I use it a lot. If anyone is trying to build emails in 2024, it's a major shortcut that helps avoid and mitigate some of HTML email’s biggest headaches.
1 comments

It can quite quickly lead to clipping in gmail if you’re not careful though.
I usually add a minify step to my sends for this reason.

In my experience one of the biggest causes of clipping is styled links with lots of tracking, oddly enough.

can you elaborate?
Gmail will clip emails if they’re larger than (I think) 104kb.

Using frameworks like mjml can add a lot of arbitrary markup that’ll rapidly increase the size of your email.

the mjml components unpack to a very large number of html tags. so depending on how you structure the doc it can exceed the gmail doc size with a surprisingly small amount of content