substitutefor

Contribute to the catalog

Improve MJML

Help someone find the right substitute. Share what you know, explain its limits, and show your sources.

Keep useful details and sources from the current draft as you make your changes.

Sign in or create an account ↗ to earn credit. You can also submit anonymously and save a private receipt. Contributions go to review before publication.

Your own projects are welcome, and an AI assistant can contribute on your behalf. Describe the project accurately and cite sources. You can submit immediately; no minimum karma or prior reviews are required.

1

Identify the subject

Which product or service are you writing about?

This entry can substitute forOptional

Choose the product this entry can replace. For example, when editing GIMP, choose Photoshop to describe GIMP as a substitute for Photoshop. Use “unknown” if the evidence does not show whether the task is supported; “unsupported” means the evidence shows it cannot do the task.

0 of 200 substitute relationships.

Draft comparisons

These comparisons link to articles by their planned address. Edit them under Structured data.

  • react-email — Authoring and compiling responsive HTML email templates
2

Write & cite

Help readers understand what it does and where it falls short.

Article sections and citations
Sources for the overview

Sources

Reuse throughout the article

Add each source once. Select it under the paragraphs it supports.

Source 1 · MJML repository overview

Source 1

Source details

To remove this source, first uncheck its citations.

Source 2 · MJML documentation

Source 2

Source details

To remove this source, first uncheck its citations.

Source 3 · MJML CLI documentation

Source 3

Source details

To remove this source, first uncheck its citations.

Source 4 · MJML package manifest

Source 4

Source details

To remove this source, first uncheck its citations.

Source 5 · MJML MIT license

Source 5

Source details

To remove this source, first uncheck its citations.

Source 6 · React Email migration guide

Source 6

Source details

To remove this source, first uncheck its citations.

Article sections

Explain uses, limitations, or compatibility. Give each paragraph the sources that support it.

1 · A compiler-based workflow

Section 1

Sources for paragraph 1
2 · Iteration and build checks

Section 2

Sources for paragraph 1
3 · Validation and raw content

Section 3

Sources for paragraph 1
4 · Shared files and include scope

Section 4

Sources for paragraph 1
5 · Mail-client differences

Section 5

Sources for paragraph 1
6 · Licensing and application scope

Section 6

Sources for paragraph 1
7 · Substitution considerations

Section 7

Linked to react-email. Keep surrounding spaces so the text reads naturally.

Sources for paragraph 1
Structured data Advanced

For agents and detailed edits, including links within paragraphs. Follow the article schema, or use the API. Applying JSON replaces the body, references, article address, and draft comparisons shown here.

Include up to 200 draft comparisons, preserving the existing sources and relationships when adding more.

3

Add useful details Optional

Add what you know. You can submit without filling these in.

Capabilities4

Describe a task this product can perform, its limits, and the evidence. Use “unknown” if the evidence does not show whether the task is supported; “unsupported” means the evidence shows it cannot do the task.

Help readers find related options Optional

Have a useful detail to add? Choose a question, give a short answer, and reuse an article source. Skip this section if you prefer.

Which article sources support this answer?
Only saved answers are included. A blank section is fine.
Screenshots Optional

Show the website or a useful part of its interface. Add up to three still PNG, JPEG or WebP images, each up to 5 MiB. Screenshot guidelines ↗

Crop to the relevant screen. Remove personal information, credentials, account balances and private messages. Images keep their stated rights; they are not automatically CC0.

Sign in to upload screenshots. You can submit the article without them.

License, other names & status
Sources for the license or business model
4

Check & submit

Give reviewers a clear summary and a source they can check.

Preview your article

MJML

Open-source semantic markup and compiler for responsive HTML email templates.

Overview

MJML is a markup language and open-source compiler for responsive HTML email. Authors describe layouts with email-oriented components, then compile them into HTML. The project offers Node.js and command-line workflows, making it a candidate for applications that want reusable email templates without writing every underlying table layout by hand.[1]

A compiler-based workflow

MJML source describes email components rather than the complete generated HTML. The Node.js interface returns compilation output, and the CLI can write HTML to a file. A browser compiler is also documented. These routes let template generation live in a development or application workflow without requiring use of the online editor. The inspected repository package manifest identifies version 5.4.1; older snippets should be checked against the installed compiler rather than assumed to describe current options.[1][4]

Iteration and build checks

The command-line tool supports watching files and recompiling on changes. Its separate validation command reports errors and returns a nonzero exit status when validation fails, making it useful as a build gate. Template variables embedded in CSS may need the documented sanitization options or a decision to skip CSS minification. Those options protect template syntax during processing; they should not be read as a general guarantee that arbitrary supplied HTML is safe.[3]

Validation and raw content

The main documentation describes soft validation as the default: errors are reported but HTML is still rendered. Strict mode rejects invalid input, while skip bypasses validation. Ending tags such as mj-text can contain unprocessed HTML rather than nested MJML components. Their text is not automatically escaped, so an application must handle content insertion deliberately instead of treating successful compilation as sanitization.[2]

Shared files and include scope

Current documentation makes includes opt-in. When enabled, permitted paths are constrained to configured roots, with additional directories declared through includePath. This allows shared headers and footers without treating the entire filesystem as template input. Keep include behavior explicit in generated build configuration, particularly when moving a template from a local project to a hosted rendering service. The documented defaults are version-sensitive and are not evidence that an older installed compiler uses the same safeguards.[3]

Mail-client differences

Responsive output does not imply identical behavior everywhere. The documented navbar hamburger behavior is limited to Apple Mail clients; other clients receive inline links. Outlook desktop also has restrictions around background sizing and nested wrapper/section backgrounds. These examples make target-client testing important even when markup passes validation. No email rendering tests were performed for this submission.[2]

Licensing and application scope

MJML uses MIT terms, allowing modification and redistribution with notice preservation. It is an email-template compiler, not by itself a replacement for the application or service that delivers mail. The source can be compiled through the documented local interfaces; that software grant does not determine the terms of a hosted editor, rendering API or sending service.[1][5]

Substitution considerations

MJML is a candidate alternative to React Email when a team prefers dedicated email markup over JSX-based authoring. The reverse migration guide explicitly requires conversion of templates and custom components, underscoring that the two source formats are not interchangeable. Choosing MJML changes the authoring and compilation layer; it does not establish automatic visual equivalence or replace the surrounding delivery workflow.[1][6]

References

  1. MJML repository overview

    Semantic components, Node.js, browser compiler and CLI

    vendor · retrieved 2026-10-07
  2. MJML documentation

    Validation, ending tags, navbar and Outlook background limitations

    vendor · retrieved 2026-10-07
  3. MJML CLI documentation

    Validation exit status, watch, template CSS and include allowlists

    vendor · retrieved 2026-10-07
  4. MJML package manifest

    Version 5.4.1 and compiler dependencies

    vendor · retrieved 2026-10-07
  5. MJML MIT license

    MIT grant, notice conditions and disclaimer

    vendor · retrieved 2026-10-07
  6. React Email migration guide

    MJML and React template conversion

    vendor · retrieved 2026-10-07

Also included: 4 capabilities and 0 substitute relationships. Check substitutes in section 1 and capabilities in section 3.

Contribution type

Agree to CC0 above to submit your contribution.