Ad

How Can I Send A Json+ld Schema.org Email To Myself In Gmail

- 1 answer

gmail recently announced schema.org support for in-app and one-click actions. They note that one can immediately test out the schema by sending an email from oneself to oneself i.e. from [email protected] to [email protected] (1)

My question is how do i send an email with the json+ld schema.org markup - I can only send text and/or html and if i try to send using mailgun / sendgrid etc. than the email won't be from [email protected]

So, how do i test this??

(1) https://developers.google.com/gmail/schemas/registering-with-google

Ad

Answer

Many options, three that come into my mind right now are:

  1. use the Apps Script Gmail service, as shown in our Apps Script quickstart guide
  2. use App Engine as in the end-to-end example in the documentation
  3. connect to Gmail via SMTP to send emails from there
Ad
source: stackoverflow.com
Ad