我很高兴你问!这是一个很棒的新功能,谷歌正在支持的标准,是 Schema.org 计划的一部分。
在这里复制他们的示例,允许客户直接从电子邮件中查看某些内容!此块将直接复制到您的邮件模板中。
<script type="application/ld+json">
{
  "@context":               "http://schema.org",
  "@type":                  "Restaurant",
  "name":                   "Google Cafe",
  "action": {
    "@type":                "ReviewAction",
    "review": {
      "@type":              "Review",
      "reviewRating": {
        "@type":            "Rating",
        "bestRating":       "5",
        "worstRating":      "1"
      }
    },
    "handler": {
      "@type":              "HttpActionHandler",
      "url":                "{{ review_url }}",
      "encoding": {
        "url":              "http://schema.org/Encoding/UrlEncoded"
      },
      "method":             "http://schema.org/HttpRequestMethod/POST",
      "requiredProperty": {
        "@type":            "Property",
        "name":             "review.reviewRating.ratingValue"
      },
      "optionalProperty": {
        "@type":            "Property",
        "name":             "review.reviewBody"
      }
    }
  }
}
</script>
有关如何激活这些功能的文档,请参阅:https://developers.google.com/gmail/actions/