Question

I am trying to add Go To Action in Gmail subject line using Gmail "Quick Actions" but every time it comes without action link in mail subject.

Here is my mail body:

<html>
  <head>
    <script type="application/ld+json">
    {
      "@context":       "http://schema.org",
      "@type":          "EmailMessage",
      "description":    "Check this out",
      "action": {
        "@type": "ViewAction",
        "url":   "https://www.youtube.com/watch?v=eH8KwfdkSqU"
      }
    }
    </script>
  </head>
  <body>
    <p>
      This a test for a Go-To action in Gmail.
    </p>
  </body>
</html>

Can anyone help me to figure out the problem?

Was it helpful?

Solution

Please note that the mails must be authenticated via DKIM or SPF and that you have to register with Google. Without registering, it just works when you send the email to yourself.

You can find more information here: https://developers.google.com/gmail/actions/registering-with-google

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top