Test your AMP emails in Gmail Stay organized with collections Save and categorize content based on your preferences.
Before you send a AMP-powered dynamic email, you can test it to verify itscontents and behavior.
There are two options for testing your dynamic emails in Gmail:
- Use Gmail’sAMP for Email Playground todraft AMP emails, see a live preview, and have your emails sent to your ownGmail account for testing.
Navigate to GmailSettings > General > Dynamic email and clickDeveloper settings. This opens a dialog where you can whitelistan email address that can send you dynamic emails for testing purposes.The AMP version of emails sent from the listed address to your accountare rendered, even if the email address is not registered with Google. Thislets you test your dynamic emails on your own accounts before registering toensure they are working as expected.
Note: In order to send AMP emails to your own account from theAMP for Email Playground, you need towhitelistamp@gmail.devin theDeveloper settings dialog.Note: Make sure to test delivering your email from your production systemusing option 2 above. This helps verify that the email you send in productionmeets all the delivery requirements, and helps test for potentialmodifications to your email made by yourESP. Seevalidate delivered emailsfor more details on how to verify whether the email still contains valid AMPafter modifications by your ESP.
Delivery requirements
For your AMP email to be delivered to any account, the email must meet thefollowing conditions:
- TheAMP for Email security requirementsmust be met.
- The email must contain a fallback HTML version (
text/html) or plain textversion (text/plain) in addition to the AMP MIME part (text/x-amp-html).This fallback version is displayed in situations where the AMP MIME partcannot be displayed, such as when the mail client is offline or 30+ days afterthe email was received by Gmail. - The AMP MIME part must contain avalid AMP document.
- The email should include the AMP MIME part before the HTML MIME part.
- The
FromandToheader fields of the email must contain different emailaddresses.
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-12-11 UTC.