Overview
Export your emails in multiple formats or push directly to your email service provider. All export options are available from the Publish button in the email viewer.Export is available on paid plans only.
Export Formats
- HTML
- React Email
- MJML
- PNG
- PDF
Email-safe HTML with inline CSS, table-based layouts for Outlook compatibility, responsive media queries, and dark mode support. Ready to upload to any ESP.
Direct ESP Export
Push your email directly to integrated platforms without leaving Migma:Mailchimp
Create or update a Mailchimp template. Choose between plain HTML or Mailchimp-optimized HTML with merge tags (
*|FNAME|*, *|EMAIL|*, etc.).Klaviyo
Export as a Klaviyo template. Opens directly in the Klaviyo editor after export.
HubSpot
Push to HubSpot as a draft template.
Brevo
Export as a Brevo template.
How to Export
Additional options:
- Minification toggle — switch between pretty-printed and minified HTML (shows file size)
- Mailchimp merge tags — when exporting to Mailchimp, choose “Merged Tags HTML” to auto-convert personalization variables to Mailchimp syntax
ESP Variables
Migma preserves ESP template variables during export. Include variables in your prompt using your ESP’s syntax:{{ }}), Liquid ({{ }}/{% %}), Mailchimp merge tags (*|FIELD|*), Handlebars ({{field}}), and Mustache ({{field}}).
Programmatic Export
Export emails via the SDK, CLI, or MCP server.migma export html|mjml|pdf|klaviyo|mailchimp|hubspot <id>.