Fancy Emails with MJML

Episode #411 by Teacher's Avatar David Kimura

Summary

Managing email styling and formats can be a large task so having a templating framework in place to help manage these will not only help them be consistent, but also easier to maintain as time goes on. In this episode, we'll look at implementing MJML as well as solving some common problems.
rails mail view 12:41

Chapters

  • Introduction (0:00)
  • Adding dependencies (1:56)
  • Generating a mailer (3:33)
  • Exploring the MJML-rails generated files (4:06)
  • MJML Extension for VSCode (4:53)
  • Using a template (5:10)
  • Troubleshooting the MJML rendering (6:13)
  • MJML Templates (7:28)
  • MJML Parsing Errors (8:13)
  • Using ERB tags (8:51)
  • MJML App (9:19)
  • MJML Partials (10:03)
  • Cautious about MJML versions (11:10)
  • Final Thoughts (12:09)
Student & Teacher
$ 9 /mo

Valid School Email Required

Same Access as Pro

Subscribe Now
Pro Monthly
$ 19 /mo

Access to Pro Episodes

Invite to Slack Channel

Priority Suggestions

Ad Free

Subscribe Now
Pro Annual
Autumn Sale
$ 144 190 /yr

Access to Pro Episodes

Invite to Slack Channel

Priority Suggestions

Ad Free

Subscribe Now
Teams
$ 57 /mo

3 Users Minimum

$19.00 / user / month

Same Access as Pro

Subscribe to Teams