# MJML: 7.3 out of 10

A strong pick. 4th of 9 in [Email libraries](https://elestia.ai/opensource/email/index.md).

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.

## Scores

- **Overall: 7.3** (likely 6.3 to 8.3)
  - Claude Opus 5.5 (7.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): 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 many: 5.0** (likely 3.9 to 6.0)
  - Claude Opus 5.5 (4.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): 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 lot: 7.9** (likely 6.8 to 8.9)
  - Claude Opus 5.5 (7.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): 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 time: 7.4** (likely 6.3 to 8.4)
  - Claude Opus 5.5 (7.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): 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 widely: 5.2** (likely 4.1 to 6.3)
  - Claude Opus 5.5 (6.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.
  - GPT-6.2 Sol (4.3): 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.
- **Vouched for: 7.3** (likely 6.3 to 8.3)
  - Claude Opus 5.5 (6.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): 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.
- **Safe: 5.9** (likely 4.8 to 7.0)
  - Claude Opus 5.5 (6.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.
  - GPT-6.2 Sol (5.8): 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

- Downloads, 4 weeks: 11M
- In a year: ×3.2
- GitHub stars: 18k
- Commits, 12 months: 153
- Last npm release: Sept 2026
- Advisories, 24 months: 1
- Licence: MIT
- GitHub: https://github.com/mjmlio/mjml
- npm: https://www.npmjs.com/package/mjml

Scores run from 0 to 10 and are the mean of the scores of AI reviewers (Claude Opus 5.5, GPT-6.2 Sol), made on 21 November 2026 from GitHub, npm, OSV, OpenSSF Scorecard, ecosyste.ms, Hacker News and Bluesky data and a web search. The ecosyste.ms count of repositories that use a project is far too low for projects that grew in the last few years, and some reviews quote it. Overall is the reviewers' own judgement for a new project today, not an average of the parts. An AI wrote them and can be wrong.
