Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

MJML Preview

Security covered Under active development 1 sites

This module helps you create MJML email templates from your Drupal content. It lets you preview the HTML generated by MJML and download the MJML template for a node.

This module allows converting a node to a MJML template and previewing the HTML generated by MJML from this template.

Features

  • Download the MJML template for a node.
  • Preview the HTML generated from the MJML template.

Post-Installation

You will need to ask for a MJML API key.
Then browse to /admin/config/services/mjml_preview to set your API credentials.

To write the MJML, you need to create a mjml view mode for your bundle and extend the template of this view mode in your theme.
(The template will need to contain MJML, not HTML.)

You will then have new "Preview MJML" and "Download MJML" tabs on each node.

Additional Requirements

Similar projects

This module does not allow sending MJML from Drupal (see the MJML module for this feature).

Ask your assistant about MJML Preview

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
3
Tracked since
Dec 2025
Latest release
9 months ago
Releases (12 mo)
3 ▲ from 0
Maintenance
Slowing

Release Timeline

Releases

Version Type Core PHP Release date
1.0.0-alpha2 Pre-release 10–11 Jan 7, 2026
1.0.0-alpha1 Pre-release 10–11 Dec 8, 2025
1.x-dev Dev 10–11 Dec 8, 2025