活动电子邮件 - google 日历自动接受

Event emails - auto accepted by google calendar

我想知道航空公司、活动和大型活动如何设法创建专门为活动设置格式的电子邮件,如下所示:

并自动将此事件添加到 google 日历。

任何人都可以指导我查看有关所用方法的任何教程或解释吗? 我无休止地搜索,一无所获。

您所描述的是在您的电子邮件中添加一些标记的结果:https://developers.google.com/gmail/markup/getting-started

一个示例事件:

<script type="application/ld+json"> [ {
  "@context": "http://schema.org/",
  "@type": "EventReservation",
  "reservationnumber": "9454as",
  "reservationfor": {
    "image": "whatever image url",
    "name": "My event",
    "@type": "Event",
    "enddate": "2016-01-06T20:00:00+00:00",
    "startdate": "2016-01-06T17:00:00+00:00",
    "location": {
      "name": "11th Street",
      "@type": "Place"
    } } } ] </script>

在此之前,请确保执行此处描述的注册步骤: https://developers.google.com/gmail/markup/registering-with-google