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).
Supporting organizations:
Project information
Minimally maintained
Maintainers monitor issues, but fast responses are not guaranteed.1 site reports using this module
- Created by prudloff on , updated
Stable releases for this project are covered by the security advisory policy.
There are currently no supported stable releases.
Releases
1.0.0-alpha2
released 7 January 2026
Works with Drupal: ^10 || ^11
Install:
Development version: 1.x-dev updated 28 Mar 2026 at 10:04 UTC
