Code Self Study Forum

CSS Frameworks for Email

I’m looking for a CSS framework that will let me create nice-looking HTML emails quickly.

Here are a few that I found in my research. If anyone else knows of any, leave a comment below.

MJML

This looks relatively simple, but it might not support templating as well as some other options. I haven’t looked closely enough to tell yet.

https://mjml.io/

Maizzle

This one is based on Tailwind CSS and looks pretty good.

Foundation for Emails

Foundation for Emails looks good, but I’m not sure if it’s what I’m looking for.

https://get.foundation/emails.html

CSS Tricks has a comparison of Foundation and MJML here:
https://css-tricks.com/choosing-a-responsive-email-framework mjml-vs-foundation-for-emails/

I once worked on a project that generated HTML email. We found it easiest to run an internal web server and do an HTTP request to get the content and add the resulting HTML as a MIME part.

1 Like