I'm trying to enable Email actions for Gmail and Google Inbox - documentation here - which should be pretty basic. It appears due to the fact that Sendgrid enforces Quoted-Printable
Gmail has 26% of the email clients market share and this feels like something Sendgrid should address. Are there any ways to work around this?
Btw, I'm aware this isn't really related to the PHP Library, but your support service directed me to Github if I wanted feedback from Sendgrid Engineering.
Hi @simonflore,
I don't know what the answer to this is, but I agree with you that it would be awesome to support this. I'm not sure if it's something we can do via the SDK, but I've added it to our backlog for further investigation.
Do you mind sharing the source code you were using for your tests?
Thanks!
With Best Regards,
Elmer
Hi @thinkingserious ,
Pretty sure you don't want to fix this in the SDK. Perhaps your SDK should support this, IF your infrastructure is able to support this.
This is a part of the source code of an email we sent, with the email actions added. Email clients are able to process this, but this seems to be a blocker for Google to identify the email actions.
<p>Hi Michiel</p><p>Great t=
o see that you=E2=80=99re interested in Teamleader. Activate your account n=
ow and start working smarter right away.<br>Your username is <strong>matti<=
/strong></p><br>
=
<script type=3D"application/ld+json">
{
"@context": "http://s=
chema.org",
"@type": "EmailMessag=
e",
"potentialAction": {
"@type": "ViewActio=
n",
"name": "Activate m=
y trial",
"target": "https://=
url.test.com/asdfjkaasdfasdfasdfasdfasdf&uid=
=3D1",
},
"description": "Activ=
ate my trial"
}
</script>
Thanks for taking the time on clarifying this, I'm passing this along to our product team.
@thinkingserious Any idea if this is something to be considered?
@simonflore,
It's on the product teams radar, but to gain priority we need more voices expressing a need/want for this feature. If you happen to know anyone else who may benefit, please encourage them to submit feedback.
With Best Regards,
Elmer
Hi @thinkingserious ,
We also ran into this, and are considering replacing sendgrid with frankly anything else that can provide this feature, as other alternatives would be of magnitudes more work, plus of course would require extra work from the users which is never a good thing.
Regards,
Balázs András Nagy
Thanks for adding in your vote @nagi603!
@thinkingserious Pretty sure this isn't the place to get those votes and it's something your product team should be able to get their head around.
Hello @simonflore,
Every vote added here is passed along to our product team.
For a more direct vote, a submission to our feedback form at SendGrid.com is an option.
With Best Regards,
Elmer
Also adding a "vote" here as we are trying to implement this but are unable to using Sendgrid. The QuotedPrintable issue is what's causing any Email Markup code to be ignored by Gmail.
Thanks @J-Gonzalez!
Hello @simonflore @J-Gonzalez @nagi603
I'm part of the support team and tested this issue out myself. I used the following in my content:
<html>
<head>
<title></title>
<script type="application/ld+json">
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://watch-movies.com/watch?movieId=abc123",
"name": "Watch movie"
},
"description": "Watch the 'Avengers' movie online"
}
</script>
</head>
<body>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="potentialAction" itemscope itemtype="http://schema.org/ViewAction">
<link itemprop="target" href="https://watch-movies.com/watch?movieId=abc123"/>
<meta itemprop="name" content="Watch movie"/>
</div>
<meta itemprop="description" content="Watch the 'Avengers' movie online"/>
</div>
</body>
</html>
This is one of the examples from Googles docs and it worked. You can see it here.
Could I get some examples of how you are trying to use this so I can run further testing and get to the bottom of this issue? If I could get some full examples like mine it would really help.
Thank you in advance.
Kyle
Hey @doctorby
I ran some tests and think I figured out what is going on in the example you gave. I tested in both our Legacy Templates and Transactional Templates and found that in Google's new Gmail UI the code does not work, but in the Old UI it does work.
Here is an example of the new UI.
Here is an example of the old UI.
So with this in mind the issue may need to be brought up to Google to get them to support it in the new UI. I can also say this does not work in Inbox.
@kylearoberts, Thank u for investigation and assistance.
But:
screenshot
it's old UI, ('Try new' option in drop down as proof)
I have tried on 2 different email accounts and didn't get luck. Will try on a new registered account later...
Mb there is a issue with trial sendgrid account?
@doctorby
Still trying to figure out why it would be different in your test. I am guessing you used the same template data/content I did? Did you do a v2 call or v3, or SMTP? There should not be an issue/difference with a trial account. Let me know what happened with your further tests. I'll retest and see if I can come up with some variations.
@kylearoberts
Yes, i used the same. screenshot
and sent template from sendgrid.com Preview & Test page.
@doctorby
I just want to make sure I have things correct. Were you ever able to get things to work in the new Gmail? I know I was not and it looks like we are running the same test.
@kylearoberts, No, I couldn't get Gmail Email Markup to work in any version of gmail (with the same content as you gave)
@doctorby
We can keep working to troubleshoot this issue, but since it does not work in the new Gmail I wanted to check in to see if this is still something worth digging into. Let me know your thoughts and we will go from there.
@kylearoberts I found that it works in the new gmail, but only on focus. I have an invitation with a working RSVP action. screenshot
@doctorby
I tried using Google RSVP example here, but it does not seem to want to work for me in the new Gmail. Could I get your example for further testing?
@kylearoberts, I don't have more info, this is a letter from google calendar. Just to prove that the markup works in a new design.
@kylearoberts
Just wanted to check if you guys are supporting this feature now, Im running into the same issue with adding EmailAction mark-ups.
Have same issue.
@kevinnwang98 @epopov
I just want to confirm that you have registered with Google for this feature. In testing we found we had to register to get things to work. https://developers.google.com/gmail/markup/registering-with-google
To register you need to send them emails from actual production server. How
I can do that if it doesn't work until I registered?
On Wed, Jun 5, 2019, 19:27 Kyle Roberts notifications@github.com wrote:
@kevinnwang98 https://github.com/kevinnwang98 @epopov
https://github.com/epopov
I just want to confirm that you have registered with Google for this
feature. In testing we found we had to register to get things to work.
https://developers.google.com/gmail/markup/registering-with-google—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/sendgrid/sendgrid-php/issues/579?email_source=notifications&email_token=AAQQIDREYCF3LJTHDFAZYA3PY7SNNA5CNFSM4EQAJZO2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXAIPXA#issuecomment-499156956,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAQQIDUTTCGFOSOIWA6TO7LPY7SNNANCNFSM4EQAJZOQ
.
Closing as this was marked as a non-library issue.
Yeah, there's a catch 22 with Registering with Google. We need the integration to work in order to develop and test, but they require a production-ready email in order to enable integration?
How would I send a production email from an [email protected] account? We are using GSuite, to begin with, we don't have those, and it's not like you can connect [email protected] account with Sendgrid with proper DKIM/SPF.
BTW here's the registration form. I don't have any issue with giving them all that info but how would I send them a correct email markup email without being able to test it first. https://docs.google.com/forms/d/e/1FAIpQLSfT5F1VJXtBjGw2mLxY2aX557ctPTsCrJpURiKJjYeVrugHBQ/viewform?pli=1
Nvm, you can just send an email to yourself, so if you have access to [email protected] and acme.com is connected to both GSuite and Sendgrid you should be able to test.
Most helpful comment
Also adding a "vote" here as we are trying to implement this but are unable to using Sendgrid. The QuotedPrintable issue is what's causing any Email Markup code to be ignored by Gmail.