Source: https://gitlab-test-org.docs.pageloop.ai/amp-email-template

# AMP Email Template

AMP (Accelerated Mobile Pages) for Email lets you send dynamic, interactive content inside the email itself, such as carousels, accordions and forms. Recipients can interact with the content without opening a new tab or visiting a website, which gives them a website-like experience right in their inbox.

> [!TIP]
>
> In Fyno, the [Stripo editor](./template-creation-email#stripo-editor) supports AMP. The AMP blocks (**Carousel**, **Accordion** and **Form**) are marked with a lightning icon in the **Blocks** section.

## What you can do with AMP emails

- **Forms**

  Run surveys and collect feedback, such as NPS and CSAT, without the user leaving the email.
- **Carousels**

  Present content with many links in a carousel that users can browse without opening a new page.
- **Accordions**

  Show details of multiple products or services in collapsible sections, so users open only what interests them.

## How AMP for Email works

A marketing or transactional email is usually a multipart message, with each part delivered as a different MIME type:

| Part           | What it is                                                                                                                                |
| -------------- | ----------------------------------------------------------------------------------------------------------------------------------------- |
| **Plain text** | The original email format. It still acts as a fallback for the HTML part.                                                                 |
| **HTML**       | The format most email clients support today.                                                                                              |
| **AMP HTML**   | AMP markup, which looks like HTML but follows its own specification. It is delivered as a third MIME type, on top of HTML and plain text. |

The AMP part is shown only in inboxes that support AMP. All other email clients fall back to the HTML version.

## Supported inboxes and providers

#### Inboxes

Email client
AMP for Email

Gmail

Yahoo Mail

FairEmail

Mail.ru

#### Email providers in Fyno

Email service provider
AMP emails in Fyno

SES

SendGrid

SparkPost

Mailmodo

Mailgun

SMTP

> [!INFO]
>
> Support can change over time. Always check the latest [AMP for Email support information](https://amp.dev/about/email) from the email services.

## Before you send AMP emails

To send AMP emails, you need to register as a sender with the email clients that support AMP.

1. **Set up SPF and DKIM**

   Make sure SPF (Sender Policy Framework) and DKIM (DomainKeys Identified Mail) are set up for the domain you send from.
2. **Get approved for dynamic emails**

   Your email must be approved for sending AMP (dynamic) emails, including elements like carousels, accordions and forms. See [Google's AMP email documentation](https://developers.google.com/gmail/ampemail).
3. **Send a production-ready AMP email for review**

   Send a production-ready AMP email to these addresses:
   - `ampverification@yahoo.com`
   - `ampforemail.whitelisting@gmail.com`
   - `postmaster_amp@corp.mail.ru` (recommended only if you have more than 5,000 users with the mail.ru domain)
4. **Complete the sender registration form**

   Fill in the [AMP for Email: Sender Registration form](https://docs.google.com/forms/d/e/1FAIpQLSdso95e7UDLk_R-bnpzsAmuUMDQEMUgTErcfGGItBDkghHU2A/viewform?gxids=7628). This is the only form you need to fill in to send AMP emails to all supporting email clients.
5. **Wait for confirmation**

   Each email client tells you your allowlist status by email. If you have any issues, contact the AMP for Email Working Group through the [AMP for Email GitHub repository](https://github.com/ampproject/wg-amp4email).

> [!WARNING]
>
> **Important**
>
> - Register every From email address you plan to send AMP emails from.
> - Adding your From email address to Gmail's allowlist can take up to three weeks.
> - Yahoo Mail doesn't send a confirmation email. After 7 days, AMP starts working in Yahoo Mail if you meet all its sender requirements.

### Other requirements

- The recipient must have dynamic emails enabled in their inbox settings.
- You must send a non-AMP fallback email along with the AMP version, so the email still renders in inboxes that don't support AMP or have it disabled. See [HTML fallback for AMP emails](#html-fallback-for-amp-emails).

> [!TIP]
>
> **Test before you're allowlisted**
>
> You can test AMP emails by sending them to yourself. In Gmail, go to **Settings → Dynamic email → Developer settings** and add the email address that sends the dynamic content.

## HTML fallback for AMP emails

Always create an HTML fallback for your AMP emails, so every recipient has a good experience. This matters most when you add videos or images, which some email clients can't show.

The recipient sees the fallback instead of the AMP version when:

| Scenario                           | What happens                                                                                          |
| ---------------------------------- | ----------------------------------------------------------------------------------------------------- |
| **The AMP email has expired**      | AMP content expires after 30 days. If the user opens the email after that, they see the fallback.     |
| **The email is forwarded**         | The person it is forwarded to sees only the fallback.                                                 |
| **The inbox does not support AMP** | The recipient's email client or provider doesn't support AMP, or they have dynamic emails turned off. |

In all these cases, the HTML fallback makes sure the recipient still gets the information they need.
