When using json ld to markup an email, what JSON LD schema must be used to display a company icon with your email in Google Inbox/Gmail.
I've tried setting multiple props as follows, but Google does not recognise the metadata.
<script type="application/ld+json" >
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"description": "Test!",
"image": "https://apiant.com/appResources/icons_large/shopify.png",
"thumbnailUrl": "https://apiant.com/appResources/icons_large/shopify.png",
"sender": {
"@type": "Organization",
"name": "name",
"logo": "https://apiant.com/appResources/icons_large/shopify.png",
"brand": {
"name": "name"
}
}
}
</script>
What am I doing wrong?
Relevant docs:
AFAIK, the only way is to create a Gmail or Google Apps account with the same email as the sender email and add a photo to that profile:
https://postmarkapp.com/blog/how-to-easily-add-a-sender-image-to-gmail#adding-a-sender-image-to-gmail