Unlock the power of your emails with schema.org
Email is an important part of how we get things done -- from planning an event with friends to organizing a trip to Paris. So much information is contained inside emails -- like the details of a dinner party or travel itinerary -- and so many emails require action -- like RSVP, or flight checkin.
By adding schema.org markup to the emails you send your users, you can make that information available across their Google experience, and make it easy for users to take quick action. Inbox, Gmail, Google Calendar, Google Search, and the Google app all already use this structured data.
Schema.org is a markup vocabulary that is standardized and managed as a collaboration of Google and other companies. By working with schema.org, we are creating an open standard, so that the markup you embed can be used by any email product that receives them.
Gmail uses schema.org markup to accelerate user actions and to highlight the most important information users need from an email.
Gmail supports 4 types of actions and 1 interactive card:
- RSVP Action for events
- Review Action for restaurants, movies, products and services. Warning: Review action is deprecated and will soon cease to be supported.
- One-click Action for just about anything that can be performed with a single click
- Go-to Action for more complex interactions
- Flight interactive cards
Inbox by Gmail supports all the above actions and cards, as well as the five interactive cards described below.
Highlights in Inbox
Inbox uses the same schema.org markup as Gmail to highlight the most important information within an email, and allow user to act on it. It supports the RSVP, One-click and Go-to actions as well as shows Highlights for the following markup types:
- Flight Highlight
- Event Highlight for events with tickets
- Order and parcel delivery Highlights for shopping
- Hotel Highlight for hotel reservations
- Restaurant Highlight for restaurant reservations
Answers in Search
Google Search is evolving from surfacing search results to answering questions. With Voice Search and Natural language queries, users can speak or type questions they have and see highly structured information cards in Search.
By marking up email you can help your users find their information faster on Google.
For more information, refer to Answers in Google Search.
Bring users the right information at just the right time with confirmation cards. For example, the Google app can show you directions to your next event, the boarding pass for your upcoming flight, the check-out time for your hotel, and more.
By adding markup to your emails, you can provide Google with the information that makes this possible.
For more information, refer to Confirmation cards.
With "Events from Gmail", Google Calendar extracts events from booking confirmation emails such as Flight, Concert, Restaurant reservation or any other ticketed events and adds them to Calendar automatically.
Google Calendar supports following 4 types of mark-up types:
- Flight Reservation
- Event for events with tickets
- Hotel Reservation for hotel reservations
- Restaurant Reservation for restaurant reservations
By adding markup to your emails, you get your events automatically added to user's Calendar with all the important information.
For more information, refer to Auto added Events in Google Calendar.