Skip to main content
Already have an HTML email, a hand-coded template, an export from another tool, or a legacy newsletter that keeps breaking in Outlook? Drop it into Migma and it becomes a fully editable, email-safe Migma email. You can keep it exactly as-is, or have it adapted to your brand automatically. Because every import is rebuilt through Migma’s email engine, importing a broken legacy template is also the fastest way to fix its client-compatibility problems.

How it works

The plus add-content dropdown showing the HTML to Email option
1

Open the add-content menu

In the Migma create/chat input, click the ”+” (plus) button to open the add-content dropdown.
2

Choose "HTML to Email"

Select the menu item labeled HTML to Email.
3

Add your HTML

Paste the HTML code directly, or drop / upload a .html or .eml file.
4

Tell Migma what to do

Keep it as an exact conversion, or ask Migma to apply your brand. Hit Enter.
5

Review & refine

Tweak in chat or the visual editor, run Email Preflight, then export.
Paste is best for a quick snippet or a copied template. Upload a .eml when you’ve saved a real email out of your inbox and want the exact source.
The HTML to Email import dialog showing the paste area, file drop zone, and exact vs brand-adapt options

Two ways to import

Exact conversion keeps your email as-is and makes it Migma-editable and email-safe. Nothing about the design changes. Use this when the template is already the way you want it and you only need it inside Migma.
Convert this HTML into an editable Migma email exactly as-is, no design changes
Brand-adapt keeps the layout and structure but swaps in your project’s colors, fonts, and logo so it matches your brand context.
Convert this HTML but apply my brand colors, fonts, and logo

What happens under the hood

This is not a model guessing at your markup. A deterministic converter parses your HTML and rebuilds it as editable Migma email source. That single detail is what makes the import dependable:

Deterministic

A parser reads your HTML and maps it to Migma email source. The same input produces the same output every time, no model variance.

One engine

Every import compiles through the same engine that powers emails built from scratch in Migma, so the result is held to the same standard.

Email-safe output

The engine emits email-safe HTML for Gmail, Outlook, Apple Mail, mobile clients, and dark mode review.
Because everything flows through that one engine, the output renders reliably across Outlook, Gmail, Apple Mail, and mobile, and stays consistent in dark and light mode (Migma emits explicit color-scheme metadata). So if your original template renders fine in some clients but falls apart in Outlook, re-importing it through Migma is the fix: it comes back out as clean, email-safe HTML.
Tangled, inline-everything legacy markup becomes editable Migma email source
Quirks that break specific clients are normalized by the engine
The result is fully editable, not a flattened snapshot

Fixing a broken legacy template

This is the most common reason teams reach for HTML import. The workflow:
1

Import the broken template

Paste or upload the HTML that’s misbehaving in Outlook (or anywhere else).
2

Let the engine rebuild it

The deterministic converter rebuilds it as editable Migma email source.
3

Confirm with Preflight

Run Email Preflight to see it across major clients and devices before you send.
Hand-coded emails often hide client-specific hacks (conditional comments, fixed pixel widths, nested tables) that work in one inbox and break in another. Migma’s engine normalizes these, but always confirm the result in Email Preflight before sending to a real list.

After import

Once your email is in Migma, it behaves exactly like one you built from scratch: An imported HTML email open and editable in the Migma visual editor

Refine in chat

Ask for changes in plain language: “make the headline larger”, “swap the hero image”, “tighten the footer spacing”.

Edit visually

Click into any block to adjust text, images, colors, and layout directly.

Run Preflight

Test the imported email across major clients and devices before it goes out.

Export anywhere

Export clean, email-safe HTML for any ESP. No vendor lock-in.

HTML import vs other methods

HTML to EmailFigma to EmailClone from ImageClaude Design
SourceExisting HTML / .html / .emlFigma fileScreenshot / mockupReact / JSX .zip
MethodDeterministic converterDesign analysisVision + OCRDeterministic converter
SpeedNear-instant60-90 sec30-60 secFast
TextCarried over exactlyExactOCR-basedCarried over from design
Best forMigrating & fixing existing templatesOriginal Figma designsEmails you can only seeEmails designed in Claude
SetupThe HTML sourceFigma file accessNoneExport the .zip
If you already have the HTML, this is the most faithful path. Your content and structure come across as-is, and you gain email-safe rendering on top. If you only have a picture of an email, use Clone from Image; if you’re starting from a design file, use Figma to Email.

Troubleshooting

Cause: Partial markup, such as a copied fragment rather than a full document.Solution: Paste the complete HTML, or save the email as a .html / .eml file and upload that instead.
Cause: The original used a font that isn’t available across email clients.Solution: Migma maps to email-safe fallbacks automatically. To pin a specific one, ask in chat:
Use Arial as the fallback for the heading font
Cause: The original relied on CSS that some inboxes ignore. The engine rewrites those parts to email-safe equivalents.Solution: This is expected. The import is optimized to render reliably across clients. Confirm the result in Email Preflight, then refine anything you want to adjust.
Cause: The HTML referenced images by relative path or from a source that’s no longer reachable.Solution: Use absolute, publicly reachable image URLs in your source, or re-add the images in the visual editor after import.

Figma to Email

Import directly from a Figma design file.

Clone from Image

Recreate an email from a screenshot or mockup.

Client Compatibility

How Migma keeps emails rendering reliably across inboxes.

Email Preflight

Test your imported email across major clients and devices.

Export Options

Export clean, email-safe HTML for any ESP.

Claude Design to Email

Import a design built in Claude’s design tool via React / JSX.