Templates
Open Source Transactional Email Templates: 12 Worth Using
The best open source transactional email templates are Postmark, Mailgun, MailPace and Waypoint sets, all MIT licensed. Compare license, stack and upkeep.
Published · Updated
TL;DR: The open source transactional email templates worth using today are the Postmark, Mailgun, MailPace and Waypoint sets, all MIT licensed, plus frameworks like MJML, Maizzle and React Email for building your own. MailPace's set is the only ready-made one updated in 2026. Whichever you pick, SendHQ can host it as a versioned template with typed variables and send it by key through one API call.
Open source transactional email templates are free HTML files for the emails your app sends on its own: welcome, password reset, receipt, invoice, security alert. The best maintained sets in November 2026 are MailPace templates (MIT, Maizzle and Tailwind, last commit 2026-11-10), Postmark templates (MIT, last commit 2023-04-02) and Mailgun templates (MIT, last commit 2022-02-03). Older sets still render, but expect to add dark mode and plain-text parts yourself.
Ready to send one? Create a SendHQ account and send your first template from a verified domain: one observable email workflow for products and agents.
How does SendHQ handle templates you bring?
SendHQ hosts templates as versioned objects, so an open source HTML file becomes a contract your code can rely on. From the SendHQ hosted templates docs:
- Typed variables. Each variable has a key, a type, a required flag and an optional default. A render with missing or wrong data fails with HTTP 422 instead of sending
{{first_name}}to a customer. - Escaping by context. Inserted values are escaped, so a user name cannot inject HTML into a receipt.
- Draft, test, publish. One editable draft with a revision number (a stale save returns 409), a test send to an address you control, then an immutable published release.
- Provenance. Every template send records the template, release, compiler version and rendered-content hash, so you can trace any past email to the exact content that produced it.
Sending a published template is one request:
POST /emails
{
"from": "hello@example.com",
"to": ["customer@example.net"],
"template": {
"key": "account-welcome",
"data": { "first_name": "Asha" }
}
}A personalized template send takes exactly one To recipient and no Cc or Bcc; use the batch endpoint for many recipients. SendHQ also has its own free transactional email template library with verification, password reset, magic link, welcome, receipt and security alert templates. What SendHQ does not do: it does not ship a drag-and-drop designer for these sets, so you paste the HTML (inlined) into the template draft.

Ready-made template sets
These are complete HTML emails you can edit and send. License, stars and last commit read from the GitHub API on 2026-11-22.
| Set | License | Stack | Last commit | Templates |
|---|---|---|---|---|
| SendHQ template library | Free to copy | HTML, {{variable}} | live site | 6 |
| MailPace | MIT | Maizzle, Tailwind, Vue | 2026-11-10 | 6 |
| Postmark | MIT | HTML, MailMason | 2023-04-02 | 7+ |
| Mailgun | MIT | HTML, Grunt | 2022-02-03 | 3 |
| Waypoint | MIT | HTML | 2024-03-12 | 24 |
| SendGrid Paste | MIT | HTML | 2022-04-09 | 5 |
- SendHQ transactional email templates: six product moments with a hidden preheader, presentation-table roles and visible fallback links for security actions. Best when you want copy that already covers expiry and "ignore this if it wasn't you" paths.
- MailPace templates: welcome, confirm address, reset password, receipt, new sign-in and account closed, each dark-mode ready with a plain-text version. The most current set; you need Node and Maizzle to build it.
- Postmark transactional email templates: welcome, reset password, reset password help, receipt, invoice, dunning and comment notification, each in Basic, Basic full and Plain layouts. Best breadth for SaaS billing emails.
- Mailgun transactional email templates: action, alert and billing emails tested with Email on Acid, with pre-inlined copies in
/templates/inlined. The simplest to drop in; the most popular set at about 6,900 stars. - Waypoint responsive transactional templates: 24 templates covering marketplace, banking and e-commerce cases such as OTP, payout receipts and delivery notices. Widest range of scenarios.
- SendGrid email templates (Paste): password reset, email confirmation, welcome, receipt and digest, described in Twilio's 2017 post. Fine as a skeleton; untouched since 2022.
Which open source template frameworks are still maintained?
Frameworks give you components and a build step instead of finished emails. Use one when you need more than six templates or want them in your codebase.
- React Email: build emails as React components, MIT, about 20,000 stars, committed to on 2026-11-18. Best for TypeScript teams.
- MJML: a markup language that compiles to Outlook-safe HTML, MIT, committed to on 2026-11-20. Best for teams that want templates outside JavaScript.
- MJML email templates: example layouts in MJML. The GitHub API detects no license file, so check before commercial use.
- Maizzle: Tailwind CSS for email, the base of the MailPace set. Last commit 2026-06-16; the GitHub API detects no standard license file, so read the repo terms.
- Foundation for Emails: Inky markup and a Sass grid, MIT, last commit 2026-03-13. Mature and steady.
- Cerberus: three responsive patterns (fluid, responsive, hybrid) tested in Outlook and Gmail, MIT, last commit 2026-09-14. Best for learning why email HTML is built with tables.
- Responsive HTML email template by Lee Munroe: one simple MIT template with about 13,700 stars. Best minimal base for a single brand layout.
Which templates are MIT licensed?
All six ready-made third-party sets above (MailPace, Postmark, Mailgun, Waypoint, SendGrid Paste) and React Email, MJML, Foundation for Emails, Cerberus and Lee Munroe's template are MIT licensed, per their repositories on 2026-11-22. MIT lets you use them commercially; keep the license notice in your source. The two exceptions are MJML's example templates repo and Maizzle, where GitHub detects no standard license file.
Are they still maintained?
Only MailPace among the ready-made sets had a commit in 2026. Postmark (2023), Waypoint (2024), SendGrid (2022) and Mailgun (2022) still render in current clients, but none ships dark-mode styles or plain-text parts except MailPace. Add a text version yourself: SendHQ and most email APIs accept both an HTML and a text body.

How do I send an open source template through an API?
- Clone the repo and pick the template, for example
git clone https://github.com/mailgun/transactional-email-templates. - Inline the CSS. Postmark's README recommends Premailer or Style Merge; Mailgun ships inlined copies.
- Replace hard-coded text with variables (
{{first_name}},{{reset_url}}). - In SendHQ, create the template draft, declare each variable's type, render with sample data and send a test to your own address.
- Publish, then send by
template.keyas in the request above. Run the result through the email preflight checker before the first real send.
Start here
New to transactional email? Read our HTML email guide, copy one SendHQ template, then switch to MailPace or React Email when you need more than a handful. For order emails, see our order confirmation email templates.
FAQ
Are open source email templates free for commercial use?
The MIT licensed sets are: MIT allows commercial use, modification and redistribution as long as the license notice stays with the code.
Which open source templates use MJML, Maizzle or React Email?
MailPace uses Maizzle and Tailwind CSS. MJML's own example repo uses MJML. React Email ships components and examples rather than a fixed set.
Do I need to inline CSS before sending?
Yes for plain HTML sets. Postmark's and Mailgun's READMEs both say to inline before sending, because several email clients strip <style> blocks.
What is the difference between transactional and marketing templates?
Transactional templates are triggered by a user action (reset, receipt, alert); marketing templates go to a list. See transactional vs marketing email.
Send your first template today. Start on SendHQ: Starter Transactional is $9/month for 50,000 emails, with inbound email and delivery events included.