This tutorial describes how to configure Iterable to send AMP emails to Gmail (or Google Apps). To do this, you'll create an AMP email, validate it and use Iterable to send it to Gmail's registration address.
In this article
Before you can send AMP emails to Gmail (or Google Apps), you must register each of your sending addresses with Google. This security measure allows Google to verify that you aren't a spammer and that you can be trusted to send dynamic content.
To register a sending address with Gmail, follow the steps in Register With Google to Send Dynamic Emails. At a high level, you'll need to:
- Understand and comply with Gmail's registration guidelines
- Send a production AMP email to Google
- Fill out a registration form
To send AMP emails from Iterable, you must use Mailgun or SparkPost as your ESP. Iterable does not currently support sending AMP emails with SendGrid or Amazon SES.
1. Review Google's Registration Guidlines
To start, review Gmail's Registration Guidelines, and make sure that you can comply with all the requirements.
In particular, note that AMP emails sent to Gmail must be authenticated with SPF, DKIM and DMARC, as mentioned in their Security Requirements. If you have not yet set up these authentications, talk to your Iterable customer success manager.
2. Create, validate and test an AMP email
As part of the registration process, Gmail requires you to send a
production-ready AMP email to
email@example.com. To create
Get set up to test AMP emails in Gmail.
In a Gmail account to which you can send test AMP emails, enable the Settings > General > Dynamic Email setting. For more information, read Test Your AMP Emails in Gmail.
Learn how to create AMP emails.
Read the AMP for Email documentation, which provides an overview of how to create AMP for Email messages. Also read AMP for Email Fundamentals, which gives a helpful overview of the markup to use in AMP emails.
Create a production-ready AMP email.
Use the AMP Playground to build a production-ready AMP email. While building it, use the Send button to send proofs to your test Gmail account (discussed above).
- When creating the email, remember that AMP for Email includes a templating
language that makes use of double curly braces. Since Iterable normally uses
double curly braces for Handlebars expressions, you should instead use double
pipes for Handlebars expressions (to reference user profiles, event fields,
etc.). For example, reference the
firstNamefield on a user profile with
- All URLs (tracking domain, links, images, etc.) included in an AMP email must use HTTPS. If an AMP email contains any HTTP URLs, Gmail will revert to the HTML version of the message.
- When creating the email, remember that AMP for Email includes a templating language that makes use of double curly braces. Since Iterable normally uses double curly braces for Handlebars expressions, you should instead use double pipes for Handlebars expressions (to reference user profiles, event fields, etc.). For example, reference the
Validate the AMP email.
Use the AMP Validator to validate your message. Fix any errors that it highlights.
Save the AMP email so that you can use it to send a campaign in Iterable.
3. Use Iterable to send the message to Gmail's registration address
Follow these steps to send your AMP email to Gmail's registration address:
In Iterable, on the Audience > Lists screen, click Import List and create a static list containing only one address:
Navigate to Messaging > Campaigns and click Create New Campaign to create a blast campaign that sends to this new static list.
On the HTML Version tab of the template editor, create a production-ready HTML version of the AMP email designed above.
On the AMP HTML Version tab of the template editor, paste the AMP email message defined above.
Iterable's editor does not validate AMP email content. Use the AMP Validator for this purpose.
Send the campaign, making sure it comes from the send you're registering with Gmail (and that your account and DNS are configured to meet all security requirements specified by Google, such as DKIM and SPF).
4. Fill in Gmail's registration form
Fill in and submit a copy of the Sender Registration - AMP for Email in Gmail form, and await Google's response.
5. Start sending AMP emails to Gmail recipients
Once Gmail has accepted your registration, you can start including AMP email content in your Iterable email campaigns
Your Gmail-based recipients do not need to adjust any Gmail account settings to receive AMP emails from you.
Want to learn more?
For more information about some of the topics in this article, check out these resources:
- AMP for Email
- AMP for Email announcement
- AMP for Email Playground
- AMP for Email Validator
- (YouTube) What's New in AMP for Email
- Tools to help you build AMP emails
- AMP Email Guides & Tutorials
- AMP for Gmail
- AMP for Gmail - Registration Guidelines
- AMP for Gmail - Supported Browsers
- AMP for Gmail - Test Your AMP Emails in Gmail.
- AMP for Gmail - Plagyground.
- Outlook.com Sender Registration