Elestia Open Source Ratings
7.3

MJML

A strong pick. 4th of 9 email libraries.

MJML is a mature markup language and Node.js compiler that turns short XML-style tags into responsive HTML email that works in Outlook. It does not send email. Version 5 is actively maintained, and it is still a strong choice for templates that do not depend on React. React Email is the better fit for React and TypeScript codebases.

Best for: Teams that want responsive, Outlook-safe email templates that are not tied to React, or that are shared with non-JavaScript backends.

WebsiteGitHubnpm

Scores

Overall7.3

How strongly do we recommend it for a new project today?

Claude Opus 5.5: 7.0, likely 6.0 to 8.0

MJML is a strong, well-maintained pick for responsive email templates, especially outside React or across languages. React Email now does the same job better for most TypeScript and React teams and is growing much faster, and MJML's recent major-version churn costs it some trust. Pair it with Nodemailer or a provider SDK for sending.

GPT-6.2 Sol: 7.6, likely 6.5 to 8.6

MJML is a strong new-project choice for responsive, framework-independent email templates, especially when mobile stacking and Outlook compatibility matter. It has active maintenance and credible production use, while React Email is a better fit for TypeScript teams that want to author in JSX. Below-baseline adoption growth, open dependency advisories, and limited independent testing of stable v5 keep the recommendation below a category-wide default.

Needed by many5.0

How many developers need a tool for this job?

Claude Opus 5.5: 4.5, likely 3.5 to 5.5

Most web apps send some email, but only some teams build designed HTML templates themselves. MJML covers the templating and rendering part of the category's job and not the sending. It works with any framework, which makes it wider than React Email.

GPT-6.2 Sol: 5.4, likely 4.2 to 6.5

Responsive email templates are a recurring need for teams that own transactional or marketing email. MJML works across application frameworks and sending providers, and it covers the authoring and rendering parts of the category. Litmus found substantial interest in frameworks or templates among email teams, a narrower group than JavaScript and TypeScript developers as a whole.

Helps a lot7.9

How well does it do the job for those who need it?

Claude Opus 5.5: 7.5, likely 6.5 to 8.5

MJML handles email client rendering very well, with Outlook wrappers, VML and a published compatibility matrix. Users say it makes responsive email much easier than hand-written tables. The limits: no bundled types, no dark mode or plain-text output in v5, async mjml2html, and you still need an outside templating engine for data.

GPT-6.2 Sol: 8.2, likely 7.1 to 9.2

MJML 5.4.1 has a substantial component library, clear examples, and line-level validation that helps developers and coding agents catch markup errors. In an independent test of one template, MJML 4.18 stacked columns in all five phone apps and rendered correctly in classic Outlook, with heavier HTML than React Email or Maizzle. The test covered the previous major version, and a recent user report shows a rendering failure in new Outlook under a specific mail-server configuration. React Email is a better fit when typed JSX is central to the workflow.

Holds up over time7.4

Will it still be a good choice in two years?

Claude Opus 5.5: 7.5, likely 6.5 to 8.5

The project is active: 153 commits, 20 releases, a push the day before the data was read, and only 39 open issues. Mailjet funds it. The cost is churn: v5 changed the minifier, include handling and Node support, and v6 already needs Node 22 and changes the default typography.

GPT-6.2 Sol: 7.2, likely 6.0 to 8.3

MJML logged 153 commits and 11 npm releases in the past year, with recent repository activity and multiple people cutting GitHub releases. React Email and Maizzle have been more active by commit count. Bitwarden documented two v5 changes that could fail silently during migration, and the v6 alpha raises the Node.js minimum again. The project has a clear direction, while future staffing and the cost of the next upgrade remain uncertain.

Used widely5.2

How many use it, and is that growing?

Claude Opus 5.5: 6.0, likely 5.0 to 7.0

MJML has about 11.3M downloads in 4 weeks and 2,687 dependent repositories, the most of any templating peer. Its growth ratio of 3.2 is below the 4.1 median, while React Email grew about 8x, so MJML is losing share. Some downloads come from tools that bundle it, such as n8n.

  • npm downloadsLast4Weeks / downloadsSame4WeeksYearAgo: 11.3M vs 3.5M, ratio 3.2, below the 4.1 median
  • dependents.repos: 2,687 repos, more than React Email (134) or Maizzle (76)
  • peers React Email downloads: 31.2M vs 3.8M a year ago, much faster growth
  • github.xxxxic.workers.dev/n8n-io/n8n/pull/28570: n8n depends on mjml, which inflates downloads

GPT-6.2 Sol: 4.3, likely 3.2 to 5.6

ecosyste.ms found 2,687 dependent repositories and 374 npm packages, more tracked repositories than React Email or Maizzle and far fewer than Nodemailer. Four-week downloads rose from 3.55 million to 11.30 million, but the 3.18× ratio trailed the 4.1× catalog baseline and React Email's 8.26×, indicating a loss of relative ground. Automated and indirect installs inflate download totals, while partial repository coverage and modest social activity leave the number of projects choosing it uncertain.

  • dependents repos, packages: 2,687 tracked repositories and 374 tracked packages
  • npm downloadsLast4Weeks, downloadsSame4WeeksYearAgo, medianDownloadsRatio: 3.18× year-over-year growth against the 4.1× baseline
  • peers React Email, Maizzle, Nodemailer: Direct-use comparisons and substantially faster React Email download growth
  • github stars, bluesky posts, hackerNews top: 18,299 stars, two Bluesky posts, and low engagement on matched Hacker News stories
Vouched for7.3

Who stands behind it being good?

Claude Opus 5.5: 6.5, likely 5.5 to 7.5

Mailjet backs it, and products such as n8n and Mautic build on it. Many independent write-ups praise it, including Josh Comeau and Smashing Magazine. Much of that praise is old. Current comparisons name it the cross-platform standard but favour React Email for React teams, and there is no survey data.

GPT-6.2 Sol: 8.1, likely 7.0 to 9.1

Bitwarden uses MJML 5.4.1 to build email templates, and Customer.io supports MJML in its code editor. Mailjet, the project's creator, also uses it in its email tooling. Independent client testing and developer reports support its value for responsive layouts, with limited survey evidence on satisfaction with MJML itself.

Safe5.9

How safe is it to depend on?

Claude Opus 5.5: 6.0, likely 5.0 to 7.0

The MIT licence and the moderate dependency tree are good points. MJML has two path traversal advisories in mj-include, and the 2025 one followed an incomplete fix from 2020. That fix is only in v5. The Scorecard is 5.2, with zero scores for token permissions, pinned dependencies, security policy and SAST.

  • advisories: 2 path traversal advisories, latest Dec 2025, moderate
  • github.com/advisories/GHSA-45h5-66jx-r2wf: Patched in 5.0.0-alpha.9; earlier versions affected
  • scorecard: Score 5.2; no security policy, unpinned deps, broad token permissions
  • npm dependencies / license: 5 direct dependencies, MIT

GPT-6.2 Sol: 5.8, likely 4.6 to 7.0

The MIT-licensed stable release contains both published path-traversal fixes, though the second was needed because the first was incomplete. After the December 2025 disclosure, the follow-up fix reached an alpha in January and stable in April. The package has five direct dependencies, and its dependency tree still pulls in affected versions of glob and minimatch with an update pending. GitHub Actions provides an npm publishing workflow, but the 5.2 OpenSSF Scorecard flags weak token permissions and unpinned workflow dependencies, and the dependency advisories leave some risk dependent on how MJML is used.

Good

  • Generates the Outlook conditional code and VML backgrounds for you, and publishes a support matrix for each component.
  • Templates use plain markup that any backend, designer or ported engine can reuse, so they are not tied to React.
  • Actively maintained by Mailjet: 20 releases last year, a v5 stable line and a v6 alpha that adds dark mode and accessibility.
  • MIT licence, few open issues compared with its 2,000+ closed issues, and long production use.

Bad

  • The npm package ships no bundled TypeScript types, and XML templates give no type-checking of data.
  • Three major lines in about ten months (4, 5, then the 6 alpha) change the output HTML and the Node.js version it needs.
  • mj-include had path traversal advisories. The 2025 fix only reached the 5.x line, so 4.x users must upgrade.
  • Renders only: you need a templating engine for loops and data, and a separate tool such as Nodemailer to send.

The numbers

npm downloads, 4 weeks
11M ×3.2 in a year
GitHub stars
18k
Commits, 12 months
153
npm version
5.4.1 Sept 2026
Versions, 12 months
11
Advisories, 24 months
1 of 2 ever
OpenSSF Scorecard
5.2 out of 10, Oct 2026
Licence
MIT

Read on 21 November 2026 from GitHub (mjmlio/mjml), npm (mjml), OSV and the OpenSSF Scorecard.

Email libraries

  1. 8.2React Email
  2. 8.1Nodemailer
  3. 7.5Resend SDK
  4. 7.3MJML
  5. 6.7Postmark.js
  6. 6.3Maizzle
  7. 6.3Mailgun.js
  8. 4.9SendGrid SDK
  9. 4.7Email Templates
Compare all 9 on six scores