概览
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
利用 schema.org 充分发挥电子邮件的价值
电子邮件是我们完成工作的重要方式。无论您是想与朋友一起规划活动,还是想安排前往巴黎的商务旅行,您可能都会使用电子邮件来协助完成任务。通过向您发送给用户的电子邮件添加 schema.org 标记,您可以让用户在各种 Google 产品中使用这些信息,并让用户轻松执行快速操作,例如办理航班值机手续。Gmail、Google 日历、Google 搜索和 Google 应用都已使用此结构化数据。
Schema.org 是一种标记词汇,由 Google 和其他公司合作进行标准化和管理。通过与 schema.org 合作,我们正在创建一种开放标准,以便您嵌入的标记可供接收这些标记的任何电子邮件产品使用。
观看此视频,了解更多激励因素和类似示例,以便了解为何应考虑为应用添加电子邮件标记。
Gmail 操作
Gmail 使用 schema.org 标记来加快用户操作速度,并突出显示用户需要从电子邮件中获取的最重要信息。
Gmail 支持以下类型的操作和互动卡片:
Gmail 精彩集锦
Gmail 使用相同的 schema.org 标记来突出显示电子邮件中的最重要信息,并允许用户对这些信息采取行动。
“促销”标签页可让用户轻松找到电子邮件中最有价值的内容。下面是一些精选内容:
- 系统会使用机器学习技术将最重要的电子邮件置顶。
- 套装有助于整理热门优惠和主题。
- 图片预览会展示消息中最精彩的部分。
- 优惠徽章会突出显示即将过期的优惠和超值优惠。
丰富的电子邮件预览内容有助于吸引更多客户。通过在电子邮件中添加图片、截止日期和优惠注释,控制哪些内容会以丰富预览的形式显示。
如需了解详情,请参阅 Gmail“促销”标签页。
Google 日历
借助“来自 Gmail 的活动”,Google 日历可以从预订确认电子邮件(例如航班、音乐会、餐馆预订或任何其他需要门票的活动)中提取活动,并自动将其添加到日历中。
Google 日历支持以下 4 种类型的标记:
通过向电子邮件添加标记,您可以将活动自动添加到用户的日历中,并包含所有重要信息。
如需了解详情,请参阅 Google 日历中自动添加的活动。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-08-29。
[null,null,["最后更新时间 (UTC):2025-08-29。"],[],[],null,["# Overview\n\nUnlock the power of your emails with schema.org\n-----------------------------------------------\n\nEmail is an important part of how we get things done. Whether you want to\nplan an event with friends or organize a business trip to Paris, you are\nprobably using email to assist with the task. By adding\n[schema.org](http://schema.org) markup to the emails you send your\nusers, you can make that information available across their Google experience,\nand make it easy for users to take quick actions, such as\nchecking in for a flight. Gmail, Google Calendar, Google Search,\nand the Google app all already use this structured data.\n\n[Schema.org](http://schema.org/) is a markup vocabulary that is standardized\nand managed as a collaboration of Google and other companies. By working with\nschema.org, we are creating an open standard, so that the markup you embed can\nbe used by any email product that receives them.\n\nSee the video for more motivation and similar examples of why you should\nconsider email markup for your app.\n| **Note:** Some of the schemas used by Google are still going through the standardization process of [schema.org](http://schema.org), and therefore, may change in the future. [Learn More](/workspace/gmail/markup/reference/schema-org-proposals).\n\nGmail Actions\n-------------\n\nGmail uses schema.org markup to accelerate user actions and to\nhighlight the most important information users need from an email.\n\nGmail supports the following types of actions and interactive\ncards:\n\n- [One-click Action](/workspace/gmail/markup/reference/one-click-action) for just about anything that can be performed with a single click\n- [Go-to Action](/workspace/gmail/markup/reference/go-to-action) for more complex interactions\n- [Flight interactive cards](/workspace/gmail/markup/reference/flight-reservation)\n\nGmail Highlights\n----------------\n\nGmail uses the same schema.org markup to highlight the most\nimportant information within an email, and allow user to act on it.\n\n- [Bus Highlight](/workspace/gmail/markup/reference/bus-reservation)\n- [Car Rental Highlight](/workspace/gmail/markup/reference/rental-car)\n- [Flight Highlight](/workspace/gmail/markup/reference/flight-reservation)\n- [Event Highlight](/workspace/gmail/markup/reference/event-reservation) for events with tickets\n- [Order](/workspace/gmail/markup/reference/order) and [parcel delivery](/workspace/gmail/markup/reference/parcel-delivery) Highlights for shopping\n- [Hotel Highlight](/workspace/gmail/markup/reference/hotel-reservation) for hotel reservations\n- [Invoice Highlight](/workspace/gmail/markup/reference/invoice)\n- [Restaurant Highlight](/workspace/gmail/markup/reference/restaurant-reservation) for restaurant reservations\n- [Train Highlight](/workspace/gmail/markup/reference/train-reservation)\n\nGmail Promotions tab\n--------------------\n\nThe Promotions tab puts the most valuable parts of email right at users'\nfingertips. Here are some highlights:\n\n- The most valuable email is pulled to the top using machine learning.\n- *Bundles* help organize top deals and topics.\n- *Image previews* showcase the most vibrant part of the message.\n- *Deal badges* highlight expiring and valuable deals.\n\nRich email previews can lead to more engaged customers. Control what\nis richly previewed by annotating your images, expiration dates, and\ndeals within email.\n\nFor more information, refer to\n[Gmail Promotions tab](/workspace/gmail/promotab).\n\nGoogle Calendar\n---------------\n\nWith \"Events from Gmail\", Google Calendar extracts events from\nbooking confirmation emails such as Flight, Concert, Restaurant reservation or\nany other ticketed events and adds them to Calendar\nautomatically.\n\nGoogle Calendar supports following 4 types of mark-up types:\n\n- [Flight Reservation](/workspace/gmail/markup/reference/flight-reservation)\n- [Event](/workspace/gmail/markup/reference/event-reservation) for events with tickets\n- [Hotel Reservation](/workspace/gmail/markup/reference/hotel-reservation) for hotel reservations\n- [Restaurant Reservation](/workspace/gmail/markup/reference/restaurant-reservation) for restaurant reservations\n\nBy adding markup to your emails, you get your events automatically added to\nuser's Calendar with all the important information.\n\nFor more information, refer to\n[Auto added Events in Google Calendar](/workspace/gmail/markup/google-calendar)."]]