Gmail shows the plain HTML copy of an AMP email when any one of 26 tests fails. Google's debugging guide names the failed test with one of these codes:
INVALID_AMP MALFORMED MESSAGE_CLIPPED NOT_AVAILABLE_ON_PLATFORM
AUTH_FAILED DKIM_FAILED DKIM_NOT_MATCHING_FROM SPF_FAILED TLS_ENCRYPTION
AUTO_FORWARDED OLD_EMAIL THREAD_TOO_LONG
PHISHY SPAM SUSPICIOUS
DYNAMIC_EMAIL_DISABLED HIDING_IMAGES TRANSLATED NOT_MAIN_WINDOW ACCOUNT_TYPE
WRONG_VERSION BROWSER_ERROR REFRESH_REQUIRED OFFLINE TIMEOUT INTERNAL_ERROR
Answer
If your AMP email is not rendering, add your sender address to the allowlist in Gmail's developer settings and send the email to a different Gmail account.
Gmail then shows a banner with one reason code. Find that code in the table below, apply its fix, and send again.
Find your code in this table
The rows run from the causes you control most to the ones you control least. To build the AMP and HTML parts first, read what AMP email is and how it works.
Codes in the banner | What they point to | Where to read |
|---|---|---|
| The email file or a sender setting | Cause 1 |
| Sender authentication and encryption | Cause 2 |
| The message itself | Cause 3 |
| Gmail safety flags | Cause 4 |
| The reader's Gmail settings, device or connection | Cause 5 |
Each of the 26 codes in Google's list sits in one of these rows. Google's own table gives the same codes with a one line description each.
When a code in your banner looks unfamiliar, compare it with this table before you change anything.
Turn on the banner in Gmail
The banner is the fastest way to get your code. It shows in Gmail on the web when the AMP part is not rendering, and it states the reason.
It stays hidden until your sender address is on the allowlist, and it does not show at all if dynamic email is switched off in the settings panel.
Set it in the Gmail account that receives the test email, because the settings belong to that account.
In Gmail on the web, open Settings, then General, then Dynamic email.
Click Developer settings.
Add the sender address of your test email to the allowlist.
Refresh the page and open the test email.
The allowlist field sits inside the Developer settings dialog.
Enter the address that appears in the From line of your test email.
The allowlist is for test emails. Real recipients need more, and Google's registration page states the rule: "you must register with Google for each sender email address that you use."
Google adds that you register once, even when the email content changes.
Send an AMP email test that proves the fix
A test proves something only when its setup matches Google's rules, so go through this list before each send.
[ ] The From and To headers hold different addresses, as Google's testing guide requires.
[ ] The sender address is on the allowlist.
[ ] Dynamic email is on for the receiving account.
[ ] External images are allowed for that account.
[ ] The email is a fresh send, not a forward.
[ ] You open it in the main Gmail window.
Here is a worked example: a sender tests from news@example.com to news@example.com. The From and To headers match, so the test breaks Google's rule before any code gets read.
Sending to a second Gmail account repairs the test and leaves the email untouched.
Once the setup is right, a failing AMP email shows the banner above the message.
Fix one code, send again, and read the banner again.
Cause 1: the email file (INVALID_AMP, MALFORMED, MESSAGE_CLIPPED, NOT_AVAILABLE_ON_PLATFORM)
Is this you: your banner name is one of these four codes.
What it means:
INVALID_AMPReports AMP content that fails the AMP for Email spec.MALFORMEDReports more than one AMP part, or a missing fallback text/html or text/plain part.MESSAGE_CLIPPEDReports an AMP part that is too long.NOT_AVAILABLE_ON_PLATFORMReports that the sender disabled dynamic content on this platform.
Confirm it: Count the bytes. The AMP Project's email format rules cap the whole AMP markup at 200,000 bytes and the style tag at 50,000 bytes.
Fix it: Validate the markup against the AMP for Email spec and repair what fails. Cut the markup under both limits. Keep exactly one AMP part beside a text/html or text/plain part.
For NOT_AVAILABLE_ON_PLATFORM, switch dynamic content back on for that platform in your sending setup, and open the email on mobile as Google suggests.
Takes effect: On the next send. A message already delivered keeps the AMP part it was sent with.
Cause 2: sender authentication and encryption (AUTH_FAILED, DKIM_FAILED, DKIM_NOT_MATCHING_FROM, SPF_FAILED, TLS_ENCRYPTION)
Is this you: your banner name is one of these five codes.
What it means:
AUTH_FAILEDReports a failure on one of the sender authentication requirements.DKIM_FAILEDReports a failed DKIM test.DKIM_NOT_MATCHING_FROMReports a failed DKIM alignment.SPF_FAILEDReports a failed SPF test.TLS_ENCRYPTIONReports an email that was not TLS encrypted.
What Gmail requires
Google's security requirements ask for DKIM that passes, SPF that passes, and TLS encryption. The DKIM signing domain must share the same organizational domain as the From address, which is the relaxed alignment rule.
Mail signed by mail.example.com and sent from news@example.com passes, because both belong to example.com.
Google's two pages disagree on DMARC. The registration page says to authenticate with SPF, DKIM and DMARC.
The security page calls DMARC optional, recommends a quarantine or reject policy, and says the policy might be enforced later.
For the full setup, read how SPF, DKIM and DMARC fit together.
Where Yahoo differs
Yahoo renders AMP in Yahoo Webmail and in the Yahoo Mail apps on iOS and Android.
Gmail describes relaxed DKIM alignment, and Yahoo asks for strict alignment unless DMARC passes.
Check | Gmail | Yahoo |
|---|---|---|
Registration | Per sender email address | The sender registers first, with a production email that carries the AMP part and Yahoo's form |
DKIM | Must pass and align under the relaxed rule | The email must be signed, and one DKIM domain must match an approved DKIM domain |
DMARC | Optional, recommended | The email must pass DMARC, or DKIM with strict domain alignment |
Confirm it: Read the banner code, then open the full headers of a test email and compare the DKIM signing domain with the From domain.
Fix it: Repair the DKIM record so the signing domain shares the From organizational domain. Fix the SPF record. Send over TLS.
Takes effect: A DNS change takes effect at the record's TTL. Say the TTL is 1,800 seconds.
Then 1,800 divided by 60 is 30 minutes, and a resolver holding the old record can serve it for that long. Wait one TTL before you retest.
Cause 3: the message itself (AUTO_FORWARDED, OLD_EMAIL, THREAD_TOO_LONG)
Is this you: the reader opened a forwarded copy, an old email, or a long reply chain.
What it means:
AUTO_FORWARDEDReports an email that another account forwarded automatically. Open it with the account it was sent to.OLD_EMAILReports an email sent more than 30 days ago.THREAD_TOO_LONGReports a reply chain that is too long because dynamic content renders only for the last 10 messages.
Confirm it: Look at the send date and count the messages in the thread.
Fix it: Send a fresh email. Send it directly, because "Gmail removes AMP MIME parts when forwarding an email," as the registration page puts it.
Takes effect: On the next send. The 30-day limit is fixed, so an AMP email falls back to HTML once it is older than that.
Cause 4: Gmail safety flags (SPAM, PHISHY, SUSPICIOUS)
Is this you: your banner name is one of these three codes.
What it means:
SPAMReports an email flagged as spam.PHISHYReports an email flagged as phishing.SUSPICIOUSReports an email that appears suspicious.
Confirm it: Send the same email to a second Gmail account. If both banners show the same code, the flag follows the message and not one inbox.
Fix it: Treat it as a deliverability problem. Fix cause 2 first, then look at complaint sources, because Google's registration page asks senders to keep spam complaints low.
Takes effect: Google documents no window. Judge the fix on later sends, not on one retest.
Cause 5: the reader's Gmail settings and device (11 codes)
Is this you: your own test passes and one reader still sees the HTML copy.
What it means: Every code below sits on the reader's side.
Codes a reader can fix
DYNAMIC_EMAIL_DISABLED: reports that dynamic email is off, and the reader turns it back on in the Gmail settings panel.HIDING_IMAGESReports blocked external images, and the reader turns the image setting back on and refreshes.TRANSLATEDreports automatic translation on the email, and the reader turns it off and opens the email again.NOT_MAIN_WINDOWReports an email opened in a separate window, and the reader opens it in the main Gmail window.ACCOUNT_TYPEReports an account type without dynamic email, and a new test Gmail account avoids it.REFRESH_REQUIREDReports a client that needs a refresh, and the reader uses a hard refresh, or clears app data on mobile.
Codes tied to the device or the connection
WRONG_VERSIONreports a device that does not support dynamic content.BROWSER_ERRORandINTERNAL_ERRORreport unexpected errors in the browser and inside Gmail.OFFLINEandTIMEOUTreport a client without a connection and dynamic content that loaded too slowly.
Confirm it: Ask the reader to add your sender address to the allowlist in their own Gmail settings and open the email again. Their banner then names their code.
Fix it: The fixes sit with the reader, and you control none of them.
Takes effect: Google Workspace turns dynamic email on by default for an organization and all its users.
An admin can switch it off in the Admin console under Gmail user settings, and Google Workspace Admin Help says the change can take up to 24 hours and often lands sooner.
A Hacker News thread on Google's dynamic email admin page reached 70 points in August 2022. Its first comment explains how to disable the feature for one user, several commenters object to it, and one calls it a security accident waiting to happen.
A reader who switched it off sees the HTML version every time. No change on your side fixes that, so the HTML part has to carry the message on its own.
When no code explains it
No banner appears
One of the banner conditions is missing. The sender address is not on the allowlist, dynamic email is off for the account, or you are not in Gmail on the web.
Add the address exactly as it appears in the From line, refresh, and open a fresh test email.
The banner is clean, but real recipients see the HTML version
Sender registration is the next suspect, because none of the 26 codes report it. Google reviews only the most recent email it received from the sender address, so send a real email from your production servers before you apply.
The domain of the sender address must serve or redirect to a valid website, not a parked domain.
Related error codes
For Gmail bounces like550-5.7.26, read why Gmail blocks a message.
A DKIM_NOT_MATCHING_FROM banner and a 554 5.7.5 bounce both involve the DKIM and DMARC records, and the DMARC policy bounce shows how to read the second one.
For other replies, SMTP reply codes explained lists the full families.
How TrueEmailer builds AMP email
TrueEmailer's AMP email builder adds interactive blocks to its template editor. It offers 12 blocks: Form, Multi-step form, Input field, Textarea, Select, Radio, Checkbox, Carousel, Star Rating, Number Rating, Smiley Rating, and Thumbs Up/Down.
A reader can fill a form, rate, or swipe through a carousel inside the email.
The product page states that the AMP markup is written and validated for you, so you add no code. Each send carries an AMP part, an HTML part, and a plain text part.
That covers the fallback part that MALFORMED reports as missing, and readers whose client cannot show AMP get the HTML version. The builder also has Spam Check and Preview and Test.
The builder does not replace the checks above. The sender address still needs Google's registration, and DKIM, SPF, and TLS still have to pass.
The product page does not say how it handles registration, so confirm that before your first send.
FAQ
Do I need to register to send AMP emails to Gmail?
Yes. Google's registration page says you must register for each sender email address you use, so registering news@example.com does not cover offers@example.com. You register once, even if the email content changes.
How long does AMP email registration take in Gmail?
Google's target is a reply within 5 business days for most requests. That is a target, so plan for the wait before a launch.
Can I use AMP in Gmail?
Yes. Gmail renders AMP email for senders registered with Google whose mail passes its authentication rules.
Which email clients support AMP, and does Outlook?
AMP email client support is narrow. The AMP Project lists five clients: AOL Mail, FairEmail, Gmail, Mail.ru and Yahoo Mail. Outlook and Apple Mail are not on that AMP Project client list, so plan for those readers to see the HTML version.
Is AMP email still supported in 2026?
Google's Gmail pages for AMP email carry a 3 September 2026 update date, and the debugging guide still lists 26 reason codes.
Read the code before you touch the file
Allowlist the sender, send to a second Gmail account and read the banner. Fix the table row that matches it, wait one TTL if you changed DNS, and send again. If real recipients still see the HTML copy after a clean test, register the sender address with Google next.
Error strings and fixes verified 22 October 2026 against Google's Gmail developer documentation, Google Workspace Admin Help, Yahoo's AMP sender page and the AMP Project documentation.
