How to add PayPal like structured data to Google email markup?
问题 I was wondering how to achieve same email structure as PayPal has. It looks like this (in Google's Inbox): But I can't find right type for it here: https://developers.google.com/gmail/markup/reference/ Any idea how to achieve the PayPal-like markup? 回答1: Using schema.org/Invoice and schema.org/PayAction, I was able to get the email structure that you've posted from PayPal. It also generated a "View Bill" button, which only shows in Inbox and not Gmail. Check out my example script below. The