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?

有帮助吗?

解决方案

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

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top