Struggling with adding new Gmail EventReservation schema Tags to emails - email

I am trying to test the new EventReservation Schema that Gmail offers to transaction confirmation emails sent from my site. I have followed all the steps recommendend on the site (https://developers.google.com/gmail/schemas/reference/event-reservation).
I also used the Structured data markup helper (https://www.google.com/webmasters/markup-helper/?email=true) to generate the Tags. using the script.google.com site i wrote a test to send the same confirmation emails but NO DICE!! Would anyone be able to help me?

How is your test failing? Are you expecting an inbox action button and not seeing it? Or are you expecting Google Now to generate a reminder card?
The Event Registration schema does not give the recipient an action button in the inbox. It should however be used by Google Now to generate a reminder card which will remind the recipient of the date/time of the event.
Google Now will remind the user on the day of the event. The user will
receive a time to leave reminder (based on traffic etc).
- Basic Event Reminder
When using the RSVP Action schema it should cause an action button to be displayed in the inbox that shows a dialog for the recipient to respond with a yes/no/maybe in regard to if they will attend the event.
In either case there are currently (at the time of this writing) a few gotchas in regard to using these schemas.
The first thing you need to know is that you must register with Google in order to be whitelisted to use these inbox actions in Gmail. Without registering and being whitelisted all you can do is send emails to yourself (your own Gmail account) in order to test these schemas out. If your trying to send to someone else's Gmail account it will not work.
Many of these schemas are only in API Preview mode for now.
As of July 11, 2013 the RSVP Action is only enabled for emails sent by Google Calendar.
You can follow updates relating to the inbox actions on the Release Notes page.

Related

Managing user opt-in with Mailgun

I have an app which sends a daily reminder message. If a user forgets to log in on certain days, it will send an email reminder. I want users to be able to unsubscribe to this reminder by clicking a link on the email. There may also be different kinds of subscription. For example, a user might not want daily emails, but they may want password reset, or blog emails.
Mailgun has an unsubscribe feature. While this allows some control with tags, this seems to lack a resubscription option. They also have a mailing list, but that also seems more for blasting emails rather than opting in to notifications.
One option is to connect the email to my database. So that when the user clicks an unsubscribe link, it will flip a flag in my database such that the user isn't contacted regarding this email. But I can't find a way to do this, that doesn't involve giving the user an API link on the emails.
What are some options I can do to solve this?
You probably would be able to accomplish this using Mailgun mailing lists (but I wouldn't for reasons below). You'd have to maintain a list for each type of email that you want to send to users. So when you add/delete users from your system you'll have to use the API or control panel to add/remove from each of the lists. Mailgun can generate a unique unsubscribe url for each of the lists so that when the user hits unsubscribe from the email it will flag the email as unsubscribed for that one list.
From Mailgun docs:
For managing unsubscribes in Mailing Lists, you can use
%mailing_list_unsubscribe_url%. We will generate the unique link to
unsubscribe from the mailing list. Once a recipient clicks on the
unsubscribe link, we mark the recipient as “unsubscribed” from this
list and they won’t get any further emails addressed to this list.
Mailing lists should work unless I don't understand your requirement.
From my point of view I'd just prefer to handle this inside my own system. Otherwise you have to maintain your application's user records and then a separate mailgun list for each email type. In multiple applications I have user email preferences stored in the db. The user (or customer admin login) can adjust preferences through the UI or in some cases by hitting unsubscribe link in an email which links to a web page (part of my app) "You have now unsubscribed to daily emails" -- the page sets the user as unsubscribed in my app DB.
Its extra work but the advantages to handling this in your app is:
You've only got one user DB (list) to maintain
List membership is easier to modify by the app user or app user account manager
It doesn't tie you as tightly to Mailgun -- in case you decide to
choose another provider
More on Mailgun Mailing lists:
https://documentation.mailgun.com/en/latest/user_manual.html#mailing-lists

How to make Gmail atom feed show all emails in a conversation, or the last email in a conversation

Background: I'm currently trying to use the Gmail Inbox Feed (https://developers.google.com/gmail/gmail_inbox_feed) in my browser automation script in order to defeat 2-factor authentication. I'm working as a tester and want to bypass the profile creation to get to testing the actual bugs quicker. Basically my script tries to log into my website that has 2-factor authentication, then it gets the latest email using the feed and looks for the token that the website sends.
My problem is that it seems like the feed is only showing the oldest email from each conversation. It doesn't show new emails. That won't work for me since my script will trigger a bunch of these emails and they all get grouped into one conversation. And I need the latest email since that is the one that has the token. Curiously, the <issued> tag shows the date and time of the newest email even though the email in that containing <entry> tag is an old one.
If you want to reproduce this problem yourself: send an email to yourself, then reply to that email with a different message so that both emails show up in the same conversation. Then mark them both as unread by clicking the dropdown arrow on the oldest email and then clicking "Mark unread from here". If you go to the feed URL above, it will only show the first email you sent to yourself.
Is there a setting or parameter that I can set in order for the feed to show all latest emails? Or at least the newest email in each conversation?
I tried turning "Conversation View" off at Settings > General but that didn't solve my problem.

How to import event automatically from isc file to customers calendar

We're sending email through SendGrid. We first create these emails with SMTP in our Apache server with PHP. When we send this email with the .ics file attached we need to import the event into the customers' calendar automatically.
Right now we managed to add it only in Gmail accounts. In all other like Hotmail, MSexchage etc. we had no luck! The email goes, but in order to add the event to the calendar, you have to click on it and click on the CTA add to calendar. Is this a server issue? Is something we forget?
Kostas,
What happens with an ics attachment depends very much on each users setup and what they have said should happen with ics files. Mine open in a text editor for testing for example, not in my google calendar. Also it depends what email address it is sent to. Even google invitations don't work if we use one email address, even though it is linked to the google email.
I very much doubt that events would be added totally automatically just by receipt of an email with ics file attached. Imagine the spam abuse that might happen if that were the case.

Can emails senders deactivate gmail event creation?

I would like to know if there is a way from an email sender side to specifically ask Gmail not to take into account an email while trying to generate an event.
This is because one of our emails sends information about an abandon purchase and it is currently automatically generating an event on the user's calendar. This generates a problem for the user because he does not actually has a reservation.

Google gmail quickbutton action

I'm reading about the new development of Google quick action buttons in the mail inbox.
I'm a little bit lost in this topic and not understand how I can include this function in my emails.
I have read about DKIM/SPF but I don't know if this functionality could need to do an google app.
I have my mail server with marketing segmentation and I want this button is visible when email come to client (destiny) gmail inbox (guess only works in gmail....). If i have included the markup code in html in my emails, why i can't see this button?
would it need create a specific mail application to implement this feature and send emails from this app? Someone tried this?
I know maybe this has been reply before but i think must start more down... so.. sorry.
Thanks and regards!
When you are ready to launch your marked up emails to your users, you will need to register with Google. Please follow this process:
1.Send a real-life email coming from your production servers (or a server with similar DKIM/SPF/From:/Return-Path: headers) including the markup / schema to schema.whitelisting+sample#gmail.com.
2.If you send a test/blank email, an email that does not contain schema or if you don't send an email for review your application will be silently discarded.
3.Make sure that the markup is correct prior to sending the email. For more details see Testing your Schema. Especially make sure the email passes the Email markup Tester and that there are no errors, also make sure to include as much data as possible.
4.Gmail removes all markup when forwarding an email. Do not forward the email but send it directly.
Fill out the registration form available here.
Here is the link for the documentation.
Hope this helps!!
Are you sending a promotional email (offers, etc.)?
If yes, then you are likely to be delivered to the Promotions tab, where quick actions do not work (according to Litmus - https://litmus.com/ebooks/gmail-ebook/gmail-ebook/).
Quick Actions work best in the Inbox for transactional emails.
("Here is your booking confirmation" [Check-in now] quick action)
These typically arrive directly in the Inbox.