jsonld@web:/email-message$
cat ./email-message.jsonld
rich results · passed
@type · example
> Email Message - JSONLD.COM
This JSON-LD schema markup type for EMAIL MESSAGE is validated by Google structured data testing tool and ready to use.
- published
- modified
- size
- 1.1K
- path
- /email-message/
Last updated October 2, 2019 by Patrick Coombe
This is a lovely type of schema markup released a little while ago that may allow your email messages to stick out amongst the rest.
email-message.jsonld
· 297B
test
<script type="application/ld+json">
{
"@context":"https://schema.org",
"@type": "EmailMessage",
"description": "View this Pull Request on GitHub",
"action": {
"@type": "ViewAction",
"url":"https://github.com/perma-id/w3id.org/pull/47",
"name":"View Pull Request"
}
}
</script

Results
<script type="application/ld+json">
{
"@context":"https://schema.org",
"@type": "EmailMessage",
"description": "View this Pull Request on GitHub",
"action": {
"@type": "ViewAction",
"url":"https://github.com/perma-id/w3id.org/pull/47",
"name":"View Pull Request"
}
}
</script
If properly implemented, you can get a nice “go-to action” on your emails in Gmail. This requires somewhat of an approval process from Google, but once you are in the club they roll out nicely.
