- CODE
- RENDER
- PREVIEW
- HUMAN
Short answer
How can I make responsive emails using AI?
You describe the structure, columns, or content you need in plain English. Your agent uses the MJML tool to write the markup and render the final HTML. You get valid, responsive code ready for your email service provider.
The results you get
What your agent produces
Depending on your prompt, your agent delivers different technical assets.
CODE
Valid MJML markup
The agent writes the MJML source code based on your layout requirements. You can copy this directly into your editor.
RENDER
Ready-to-use HTML
The agent converts the markup into standard HTML. This is the version you actually upload to your email platform.
PREVIEW
Visual layout check
The agent renders the code so you can see how the columns and images stack on different screens.
HUMAN
Manual refinements
You review the generated code to tweak specific colors, padding, or branding that requires a human eye.
The workflow
What your AI does when the description arrives.
The agent acts as a bridge between your ideas and the MJML syntax.
Interpret layout
Your agent reads your description of columns, sections, and text blocks to understand the intended structure.
render_mjmlWrite markup
The agent translates those structural requirements into clean, valid MJML code.
render_mjmlConvert to HTML
The agent runs the markup through a renderer to produce the final HTML output.
render_mjmlVerify responsiveness
The agent ensures the resulting code follows responsive rules so it looks right on mobile and desktop.
render_mjml
Try it
Copy these to start.
Use these prompts to kick off your first email layout.
Starting points
Swap the bracketed details for your specific brand colors or content needs.
MJML Connector
You're all set. Choose your MCP client and follow the setup instructions.
https://edge.vinkius.com/vk_preview_LwlmmoPeznMVTkYs7MAzFYiK3XjrkSp7oDHD4F4u/mcpClaude Desktop
Follow the steps below to connect in seconds.
- 1In Claude Desktop, open Settings → Connectors.
- 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
- 3Click Add and start a new chat — MJML capabilities are ready to use.
{
"mcpServers": {
"mjml-email-markup-mcp": {
"url": "https://edge.vinkius.com/vk_preview_LwlmmoPeznMVTkYs7MAzFYiK3XjrkSp7oDHD4F4u/mcp"
}
}
}Create an MJML layout for a newsletter with a hero image, two columns for text, and a footer.
Generate a responsive email template using a dark blue background and white text for a product announcement.
Build a single-column MJML layout for a welcome email that includes a button and a social media icon section.
Write the MJML code for a promotional email with a large header and a three-column grid for featured products.
Claude
ChatGPT
Cursor
VS Code
Windsurf
Claude Code
JetBrains
Cline
Start here
Connect MJML once, then ask.
One connection gives your agent the ability to write and render email code. You can find the full setup instructions on the Connector page.
Connect MJML to your AIFAQ
How this task behaves
- 01
Can the AI edit my existing HTML files?
No. The agent creates new MJML and HTML files based on your instructions; it does not modify files on your local drive.
- 02
Does the AI handle image hosting?
No. You must provide the URLs for your images in your prompt so the agent can include them in the markup.
- 03
Will the email work in Outlook?
Yes, because the agent uses MJML to generate the HTML, which is specifically designed to handle Outlook's rendering quirks.
- 04
Can the AI send the email for me?
No. The agent only produces the code and the rendered HTML. You still need to upload that code to your email service provider to send it.
- 05
Does the agent decide the brand colors?
No. The agent follows the specific color and styling instructions you provide in your prompt.
More questions about MJML? The Connector page answers them. See everything the MJML Connector can do
Connect MJML to Claude, Cursor, ChatGPT & more
