MiN8T All Insights

On This Page

  1. How AMP Export Works
  2. 3-Part MIME Structure
  3. AMP Validation
  4. Sending via ESP
  5. Next Steps
Guide7 min read

How to Export AMP HTML Emails

M
MiN8T Team
Email Engineering
April 12, 2026

1 How AMP Export Works

When your template contains AMP blocks (carousel, accordion, form, or amp-list via Smart Elements), MiN8T automatically generates the AMP HTML version alongside the standard HTML. There's no separate "AMP export" button. AMP is included in every HTML export when AMP content is detected.

The export modal shows an info note explaining that AMP content will be included automatically. The export produces:

  • HTML file, standard email HTML with table-based layouts, VML for Outlook, and responsive CSS
  • AMP HTML, a valid AMP4Email document with <!doctype html>, <html amp4email>, AMP boilerplate, and all required component scripts
  • Plain text, auto-generated text-only fallback

2 3-Part MIME Structure

For AMP emails to work, the email must be assembled as a multipart/alternative MIME message with parts in a specific order:

Content-Type: multipart/alternative; boundary="..."

--boundary
Content-Type: text/plain; charset="UTF-8"
[Plain text version]

--boundary
Content-Type: text/x-amp-html; charset="UTF-8"
[AMP HTML version]

--boundary
Content-Type: text/html; charset="UTF-8"
[Standard HTML version]

--boundary--

The order matters: text/plain → text/x-amp-html → text/html. Email clients that support AMP render the AMP part. Clients that don't fall back to HTML. Clients that don't support HTML fall back to plain text.

✓

MiN8T assembles the 3-part MIME automatically. When sending via a connected ESP or through the test email modal, the correct MIME structure is generated using Nodemailer's amp field.

3 AMP Validation

Before including the AMP part, MiN8T runs the AMP Validation Service to check:

  • DOCTYPE, must be <!doctype html>
  • Root element, must have <html amp4email> or <html ⚡4email>
  • Charset, must declare <meta charset="utf-8">
  • AMP boilerplate, required <style amp4email-boilerplate>
  • AMP runtime, must include amp.js
  • Size limits, total document under 200KB, CSS under 50KB (75KB for sender-whitelisted)
  • Forbidden content, no <script> (except AMP components), no <form> (use <amp-form>), no external stylesheets
  • Component scripts, every <amp-*> tag must have its corresponding <script> in the head

Validation results are included in the export response. If validation fails, the AMP part is still included but flagged with warnings so you can fix issues before sending.

4 Sending via ESP

When sending through a connected ESP (Brevo, Mailchimp, SendGrid, etc.), MiN8T includes the AMP HTML in the export payload. The ESP must support AMP emails for the dynamic content to render. Most major ESPs support the text/x-amp-html MIME part.

!

Your sender domain must be whitelisted with Gmail and Yahoo for AMP emails to render. Without whitelisting, recipients see the standard HTML fallback even if the MIME structure is correct.

5 Next Steps

  • How to Test and Export AMP Emails, the complete testing workflow
  • AMP Email Whitelisting Guide, get approved for AMP sending
  • How to Preview and Test Templates, pre-send validation checks

Last updated: April 2026. All details verified against MiN8T's actual codebase implementation.

Ready to start?

Stay up to date - the latest on email design and deliverability.

Let's get you building. Start your free account today.

MiN8T

108+ ESP integrations. Built-in deliverability. AI-powered design. Try MiN8T free today.

MiN8T

The email marketing operations platform.
Replace Stripo, ZeroBounce, BeeFree, Litmus,
and 4 more tools.
Inbox guaranteed across 108+ ESPs.

Product

  • API
  • Pricing
  • Integrations
  • How it works
  • Testimonials

Resources

  • Blog
  • Insights & Guides
  • Documentation
  • API Reference
  • DeliverIQ Docs
  • Deliverability Guide

Company

  • Contact
  • Support
  • Talk to Sales

Legal

  • Privacy Policy
  • Terms of Service
  • Cookie Policy
  • DPA
© 2026 MiN8T. All rights reserved. Powered by ABLA.
Trusted by 1,000+ teams 108+ ESP Integrations SOC 2 Compliant GDPR Ready