Skip to content


Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

Latest commit


Git stats


Failed to load latest commit information.
Latest commit message
Commit time
May 23, 2022 09:20
July 22, 2019 17:01
June 16, 2022 14:23
May 30, 2019 10:23
June 16, 2022 14:23
June 16, 2022 14:23
February 11, 2021 09:32
June 16, 2022 14:23
October 2, 2019 15:13
June 16, 2022 14:23
June 16, 2022 14:23


A complete toolset to streamline building and updating a set of consistent transactional emails.

Brought to you by Postmark

Few tasks are more tedious than building a consistent set of well-tested and beautiful transactional email templates for your application. Not any longer.

With MailMason, you can use Grunt tasks, Handlebars, and SASS to streamline building a consistent set of transactional email templates using layouts and partials to reduce redundancy and create both the HTML and plain text versions of your transactional emails in one fell swoop.

By default, the generated templates use Mustachio for the variable placeholders so that you can easily use them as Postmark templates. However, the Mustachio pieces are only placeholders, and the generated templates could easily be adapted to work with any email provider.

What does it do for you?

  • Gives you a thoroughly tested and reliable starting point for building consistent email templates
  • Uses Handlebars to enable layouts and partials in templates and avoid redundancy
  • Enables the use of SCSS for generating the styles
  • Automatically inlines the resulting CSS for testing email client compatibility
  • Automatically generates text versions of emails with the same content as the HTML versions
  • Enables easy sending of test emails through your Postmark account
  • Enables easy batch testing against the Postmark Spamcheck API
  • Enables easy batch testing through Litmus
  • Enables easy uploading of image assets to your CDN so you can include images in your templates (but you don't have to)
  • Enables easy template pushing to your Postmark account

Interested in contributing?

Read through our guidelines for contributing to help make contributions quick and easy.

Visit the wiki for documentation and usage

If you need help getting started or using MailMason, make sure to check out the MailMason wiki.


MailMason is licensed under the MIT license. Please refer to the LICENSE for more information.


A complete toolset to streamline building and updating a set of consistent transactional emails.







No packages published