{"templateId":"markdown","sharedDataIds":{},"props":{"metadata":{"markdoc":{"tagList":["admonition"]},"type":"markdown"},"seo":{"title":"Sending AMP Messages","siteUrl":"https://documentation.mailgun.com","llmstxt":{"title":"Mailgun Documentation","description":"LLMS.txt containing a map of all the documentation files for Mailgun.","sections":[{"title":"Mailgun Send Documentation","description":"All of the Mailgun Send documentation.","includeFiles":["docs/mailgun/**/*.md"],"excludeFiles":["docs/mailgun/index.md"]},{"title":"Mailgun Send OAS","description":"All of the Mailgun Send API specifications.","includeFiles":["docs/mailgun/**/mailgun.yaml"]},{"title":"Mailgun Optimize Documentation","description":"All of the Mailgun Optimize documentation.","includeFiles":["docs/inboxready/**/*.md"],"excludeFiles":["docs/inboxready/index.md"]},{"title":"Mailgun Optimize OAS","description":"All of the Mailgun Optimize API specifications","includeFiles":["docs/inboxready/**/inboxready.yaml"]},{"title":"Mailgun Validate Documentation","description":"All of the Mailgun Validate documentation.","includeFiles":["docs/validate/**/*.md"],"excludeFiles":["docs/validate/index.md"]},{"title":"Mailgun Validate OAS","description":"All of the Mailgun Validate API specifications.","includeFiles":["docs/validate/**/*.yaml"]},{"title":"Mailgun Inspect Documentation","description":"All of the Mailgun Inspect documentation.","includeFiles":["docs/inspect/**/overview.md"]},{"title":"Mailgun Inspect OAS","description":"All of the Mailgun Inspect API specifications.","includeFiles":["docs/inspect/**/*.yaml"]}]},"description":"Sending AMP messages lets you deliver dynamic, interactive emails—like carousels, forms, or real-time updates—directly to users’ inboxes for a more engaging email experience"},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"sending-an-amp-message","__idx":0},"children":["Sending an AMP Message"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Google's Accelerated Mobile Pages (AMP) for email is a web component framework that you can use to easily create user-first websites, stories, emails, and ads. The AMP email format provides a subset of AMPHTML components for use in email messages, that allows recipients of AMP emails to interact dynamically with content directly in the message. Mailgun allows senders to include AMP components within their email message(s) using the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["amp-html"]}," parameter."," ","This allows recipients to interact within the email message."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Some examples include:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Answering surveys"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Replying to documents"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Viewing inventory in real-time"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Submitting updates"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"amp-requirements","__idx":1},"children":["AMP Requirements"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["While AMP is a really exciting email tool, it takes a bit of setup before you can successfully send an AMP email message to your recipients."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"registration","__idx":2},"children":["Registration"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Here's what you'll need to know to register:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["In order to send AMP emails to mailboxes that support it (Gmail for now), you’ll need to register your sending domain with Google.",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://support.google.com/mail/answer/81126"},"children":["Click here"]}," to register."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"content","__idx":3},"children":["Content"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Your AMP email content must comply with Google's requirements. Be sure to look at Google's ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://support.google.com/mail/answer/81126"},"children":["Bulk Senders Guidelines"]}," before composing your email."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["AMP messages must follow the ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-format"},"children":["AMP for Email Specifications"]},". Specifically, the required markup, AMP components, and CSS requirements."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["To ensure your content will pass the validation process, use Gmail's ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://amp.gmail.dev/playground/"},"children":["AMP for Email Playground"]}]}]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"info","name":"Note:"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["If you follow the AMP requirements set by Google, you should be well on your way to sending AMP messages."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"https-urls","__idx":4},"children":["HTTPS URLs"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["All URLs must use HTTPS, including tracking and unsubscribe URLs. If you're using Mailgun for your open/click tracking and unsubscribe UR:s, you'll need to ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://help.mailgun.com/hc/en-us/articles/360011566033-How-to-Enable-HTTPS-Tracking-Links"},"children":["Follow these steps"]}," to enable HTTPS on your Mailgun tracking URLs."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"sending-amp-emails","__idx":5},"children":["Sending AMP emails"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Mailgun has made it easy to send an AMP email using our API by providing the optional ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["amp-html"]}," parameter along with your AMP content. Mailgun will take care of building the proper ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["text/x-amp-html"]}," MIME portion. As long as you’re following the AMP requirements set by Google, you should be well on your way to sending your AMP messages."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"testing-your-amp-email-messages","__idx":6},"children":["Testing your AMP email messages"]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"info","name":"Note:"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["You can build and test your AMP email messages even while you're waiting for Google to register your domain."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"amp-best-practices","__idx":7},"children":["AMP Best Practices"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Visit your Gmail settings page (",{"$$mdtype":"Tag","name":"em","attributes":{},"children":["GSuite users will need their admins to enable the Dynamic Email Option"]},")"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Click the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Dynamic Email"]}," section, check the box to ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Enable Dynamic Email"]},"."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Click ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Developer Settings"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Enter your sending address in the field – This will whitelist your sending address."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Click ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["OK"]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Following the proper requirements and these steps for sending AMP messages will allow you to be able to receive an AMP email from your sending address to your Gmail account."]}]},"headings":[{"value":"Sending an AMP Message","id":"sending-an-amp-message","depth":1},{"value":"AMP Requirements","id":"amp-requirements","depth":3},{"value":"Registration","id":"registration","depth":4},{"value":"Content","id":"content","depth":4},{"value":"HTTPS URLs","id":"https-urls","depth":4},{"value":"Sending AMP emails","id":"sending-amp-emails","depth":3},{"value":"Testing your AMP email messages","id":"testing-your-amp-email-messages","depth":3},{"value":"AMP Best Practices","id":"amp-best-practices","depth":3}],"frontmatter":{"seo":{"title":"Sending AMP Messages","description":"Sending AMP messages lets you deliver dynamic, interactive emails—like carousels, forms, or real-time updates—directly to users’ inboxes for a more engaging email experience"}},"lastModified":"2026-10-28T19:46:32.478Z","pagePropGetterError":{"message":"","name":""}},"slug":"/docs/mailgun/user-manual/sending-messages/send-amp","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}