I am trying to run the basic example below by sending it to my personal GMail account, but it does not work. Also trying through my company account (GMail) and not working either.
<html> <head> <script type="application/ld+json"> { "@context": "http://schema.org", "@type": "EmailMessage", "description": "Approval request for John $10.13 expense for office supplies", "action": { "@type": "ConfirmAction", "name": "Approve Expense", "handler": { "@type": "HttpActionHandler", "url": "http://gmail-actions.appspot.com/success/AHRlWrqR2G4i3DyDAnwbluqlRfCAM6w_gZfpgUuAfdHNUam6cI-SwsiPSfl9SZAD33R6F2N-ZSzV2G_1ZWYtrsTJQd6MZK7gsDa2XfzN2VqY0zpTwNYCG8ryo4YHtbl0RIrwgOCJOgXR" } } } </script> </head> <body> <p> This a test for a One-click action in Gmail. </p> </body> </html>
The HTML body above runs in the https://www.google.com/webmasters/markup-tester/u/0/ test.
The companyβs email address and my own very low spam and all DKIM and SPF data based on http://dkimvalidator.com/ .
I also tried sending via http://gmail-actions.appspot.com/ and did not work.
What am I missing?
UPDATE: 08/31/2017
Following this tutorial I was able to see the action button. But examples like the ones below still don't work even with the google script platform.
<html> <body> <script type="application/ld+json"> { "@context": "http://schema.org", "@type": "EventReservation", "reservationNumber": "IO12345", "reservationStatus": "http://schema.org/Confirmed", "underName": { "@type": "Person", "name": "John Smith" }, "reservationFor": { "@type": "Event", "name": "Google I/O 2013", "startDate": "2013-05-15T08:30:00-08:00", "location": { "@type": "Place", "name": "Moscone Center", "address": { "@type": "PostalAddress", "streetAddress": "800 Howard St.", "addressLocality": "San Francisco", "addressRegion": "CA", "postalCode": "94103", "addressCountry": "US" } }, "performer": { "@type": "Person", "name": "The Foo Fighters", "image": "http://www.amprocktv.com/wp-content/uploads/2013/01/foo-fighters-1-680x383.jpg" } }, "modifiedTime": "2013-05-01T08:00:00-08:00" } </script> <p> Dear John, thanks for booking your Google I/O ticket with us. </p> <p> BOOKING DETAILS<br/> Reservation number: IO12345<br/> Order for: John Smith<br/> Event: Google I/O 2013<br/> Start time: May 15th 2013 8:00am PST<br/> Venue: Moscone Center, 800 Howard St., San Francisco, CA 94103<br/> </p> </body> </html>