AMP for Email: Google brings interactive real-time content to Gmail – but reactions are mixed

A few days ago, Google announced a plan to enable “more engaging, interactive, and actionable email experiences” by bringing AMP to email. While interactive email and real-time content are supposedly big trends in the email industry, feedback from developers was modest, to say the least – for good reasons.

About AMP and the new MIME part

The AMP (Accelerated Mobile Pages) project is Google’s open-source framework designed to improve the performance of web content and advertisements. Its original goal was to make mobile pages load faster. Today, the credo is to enable “the creation of websites and ads that are consistently fast, beautiful and high-performing across devices and distribution platforms”.

Last week, the AMP project has been extended by an AMP4EMAIL proposal. The goal of the new specification is “to enhance and modernize the email experience through added support for dynamic content and interactivity while keeping users safe”.

To use AMP4EMAIL, a sender has to embed AMP HTML in the message body as a new MIME part. MIME (Multipurpose Internet Mail Extensions) is the internet standard that allows you to put different content types like plain-text and HTML as separate parts into your email. The new AMP part will be rendered by email clients supporting the spec, with graceful fallback to non-AMP content.

Here’s what an email with the new MIME part could look like:

Subject: AMP for Email
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----=_Part_16933578_1687195995.1518333358392"

------=_Part_16933578_1687195995.1518333358392
Content-Type: text/plain

Hello World
  (.  \
    \  |  
     \ |___(\--/)
   __/    (  . . )
  "'._.    '-.O.'
       '-.  \ "|\
          '.,,/'.,,mrf
      ( \
       \ \
       / /                |\\
      / /     .-`````-.   / ^`-.
      \ \    /         \_/  {|} `o
       \ \  /   .---.   \\ _  ,--'
        \ \/   /     \,  \( `^^^
         \   \/\      (\  )
          \   ) \     ) \ \
      jgs  ) /__ \__  ) (\ \___
          (___)))__))(__))(__)))          


------=_Part_16933578_1687195995.1518333358392
Content-Type: text/html

<!doctype html>
<html>
  <head>
    <title>Hello World</title>
    <meta charset="utf-8">
  </head>
  <body>
    <p>Hello World</p>
    <img src="https://loremflickr.com/400/300?random=1" width="400" height="300" alt=""/>
    <img src="https://loremflickr.com/400/300?random=2" width="400" height="300" alt=""/>        
  </body>
</html>


------=_Part_16933578_1687195995.1518333358392
Content-Type: text/x-amp-html

<!doctype html>
<html amp4email>
  <head>
    <title>Hello World</title>
    <meta charset="utf-8">
    <style amp4email-boilerplate>body{visibility:hidden}</style>
    <script async src="https://cdn.ampproject.org/v0.js"></script>
    <script async custom-element="amp-carousel" src="https://cdn.ampproject.org/v0/amp-carousel-0.1.js"></script>
  </head>
  <body>
    <p>Hello World</p>
    <amp-carousel width="400" height="300" layout="responsive" type="slides">
      <amp-img src="https://loremflickr.com/400/300?random=1" width="400" height="300" layout="responsive" alt=""></amp-img>
      <amp-img src="https://loremflickr.com/400/300?random=2" width="400" height="300" layout="responsive" alt=""></amp-img>
    </amp-carousel>    
  </body>
</html>


------=_Part_16933578_1687195995.1518333358392

 

We know that the text/plain part of the above email could render like this:

We also know that the text/html MIME type could look like this:

Now, this is new: The AMP for Email’ified text/x-amp-html part may look like this in an email client, which supports the specification…

Note the interactive arrows on the left and on the right side of the image.

How to code such an interactive AMP EMAIL?

The above example is straightforward. Let’s inspect the text-x-amp-html part of the email, or rather the AMP-HTML code inside.

To enforce email users’ expectations of security and privacy, AMP for Email proposes a strict amp4email email validation specification, as indicated by the attribute on the document element. The email itself first loads the AMP Carousel javascript from ampproject.org, which provides us with the amp-carousel component. The component then organizes both amp-img images in an interactive and responsive carousel widget. That’s about it.

Again, this is what our AMP EMAIL looks like in HTML:

<!doctype html>
<html amp4email>
  <head>
    <title>Hello World</title>
    <meta charset="utf-8">
    <style amp4email-boilerplate>body{visibility:hidden}</style>
    <script async src="https://cdn.ampproject.org/v0.js"></script>
    <script async custom-element="amp-carousel" src="https://cdn.ampproject.org/v0/amp-carousel-0.1.js"></script>
  </head>
  <body>
    <p>Hello World</p>
    <amp-carousel width="400" height="300" layout="responsive" type="slides">
      <amp-img src="https://loremflickr.com/400/300?random=1" width="400" height="300" layout="responsive" alt=""></amp-img>
      <amp-img src="https://loremflickr.com/400/300?random=2" width="400" height="300" layout="responsive" alt=""></amp-img>
    </amp-carousel>    
  </body>
</html>

 
You can try it out yourself; to do so, just copy the above AMP EMAIL and paste it in on the left side at AMP Playground:

The right side then shows the rendered representation of your code. Feel free to experiment with different parameters and components.

 

What possibilities does AMP4EMAIL offer?

The image carousel is a simple example. AMP for Email has a lot more to offer. It does not cover the whole AMP spec due to email-specific security reasons. However, supposedly email-safe components like amp-form, amp-anim,amp-lightbox and some others open up interesting options for interactive features and real-time content, i.e. content that updates upon opening an email.

At the AMP Conf 2018, which took place on Feb 13 and 14 in Amsterdam, Doodle, Booking.com, and Pinterest explained how they use it. AMP EMAILS allow their subscribers to respond to surveys and pick availabilities, they can explore offers, update email preferences, browse through pins and save them – all right within the email, without visiting landing pages. It’s the interactive real-time content, which email marketers always dreamed of, and which was previously reserved for html experts and agile applications like Liveclicker or Multifunction Mail (in Germany).

Here is what an interactive Gmail experience with Pinterest emails looks like:

If you got 20 minutes, watch the AMP Conf 2018 video here:

Can I use AMP for Email, now?

Not really. The proposed AMP for Email specification is available on github.com/ampproject, now. Google also offers a limited number of marketers to sign up for a Gmail Developer Preview. The preview allows to start building and testing dynamic AMP EMAILS in Gmail. In order to participate, a legal contact first has to sign Google’s non-disclosure agreement.

Apart from the preview, the launch date is unclear, as well as the supported email clients. Google announced that “AMP for Email [… ] will be supported in Gmail later this year.” So it remains to be seen whether this includes, for example, Gmail for Android and Inbox by Gmail, and if “later” actually means “end of [2018]”.

Although AMP for Email is an open specification, it is unlikely that other email providers like Microsoft will adopt it. This did not happen with schema.org Email Markup, let alone with AMP, which was taken up with mixed feelings in the past.

Controversies around AMP & AMP4EMAIL

The general cheering among developers after this news is rather restrained. There are several reasons for this.

The proposed specification stipulates that another email MIME type is to be sent, along with the usual text/plain and text/html (see the initial code box). Another part, however, would require many emailing platforms and libraries to update. This did not happen with text/watch-html for Apple Watches, and my guess is that it also will not happen with text/x-amp-html. Besides that, another MIME part also means that emails get bloated even more. In the past, email weight grew especially due to mobile optimizations:

Criticism also concerns Google’s supposed strategy to further expand market dominance, and maybe using it to gain an illegal advantage again and again? A heavily discussed column on Techcrunch warns that AMP is “Google exerting its market power to extend its control over others’ content. […] People leave Gmail all the time to go to airline webpages, online shops, social media, and other places. Places that have created their own user environments, with their own analytics, their own processes that may or may not be beneficial or even visible to Google. […] But if these everyday tasks take place inside Gmail, Google exerts control over the intimate details, defining what other companies can and can’t do inside the email system — rather than using the natural limitations of email”. The market power is evident since Gmail owns probably between 20 and 30 %, and Google, of course, wants to monetize it:

Emailgeeks add that instead of extending a contentious and Google-controlled specification to the email environment, one should have better focused on further supporting existing HTML and CSS standards to allow for forms, CSS animations and interactivity, and other things in Gmail.

As an aside: I personally never believed in the pretended interactive email trend. Geeks talk enthusiastically about for about two and a half years. Image carousels and the like (see GIFs below) are indeed nice gimmicks. They which are in line with specialized html coding skills, but not necessarily with subscriber needs. Besides (mostly) only providing limited value, interactive emails might not work in important email clients anyway. (I must admit that maybe I don’t share the enthusiasm just because I’m really bad at designing emails 😉 .)

This looks quite different when it comes to real-time email content. Some critics believe that any email should always be like an immutable copy of a conversation, and AMP opposes this. It may apply to business correspondence and transactional scenarios. In newsletter communications, however, the way of thinking that emails are static after they have been sent has long since been superseded. Personalized email recommendations, calculated and rendered by AI-driven recommendation engines in real-time upon email opening, become more and more the norm. Emails change depending on the context – time, location, device, recent activities. This technology has already proven its value.

Final thoughts

All in all, my guess would be that in one year, AMP for Email adoption is not greater than the adoption of quick actions.

Feel free to form your own opinion about whether the reservations against AMP for Email are based on conspiracy theories, or whether it is really a Trojan horse. Here’s part of the discussion on Twitter:

Enjoyed this one? Subscribe for my hand-picked list of the best email marketing tips. Get inspiring ideas from international email experts, every Friday: (archive♞)
Yes, I accept the Privacy Policy
Delivery on Fridays, 5 pm CET. You can always unsubscribe.
It's valuable, I promise. Subscribers rate it >8 out of 10 (!) on average.

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.