How to track emails sent using google app script? - email

I use google sheets to track sales contacts. I use a simple google app script to automatically send emails to all the people listed in the spreadsheet.
I also use services like streak and mailtrack to track my emails (ie know that it the recipient has viewed it)
The problem is that both these plugins are chrome extensions. So I noticed that they work fine if I send an email manually through gmail on chrome. However when I send mass emails using the above script, these tracker tools are oblivious.
Any ideas?
Update
I tried sending the email using GmailApp, but didn't work either:
GmailApp.sendEmail(testEmail, subject,'sample body', {
htmlBody: message
});

Related

Send email from Google Workspace Catch All email

I’m currently using Apple Hide My Email to create random email addresses for each website I create an account on. I really like the privacy and spam control I can get from this feature, but the Apple email client is terrible, and the process to create a new email is also terrible, specially when I’m not on my iPhone.
I would love to simulate this whole experience using a catch-all email config through Google Workspace. However, I don’t think I would be able to reply to incoming emails using the same email address that I used to create the account.
Is there a way to send emails from the email addresses I’m creating through a catch-all config on Google Workspace? If not, would it be possible to simulate the experience I have with Apple’s Hide my Email on Google Workspace?

Track Gmail email opens on Salesforce

When sending an email to a Saleforce contact using Gmail I would like to track the opening of that email and send it back to Salesforce.
Any ideas on how to do that ? The only way I found is to send the email from Salesforce.
Thanks a lot
The Chrome extension Email Tracker for Gmail - Mailtrack seems to have the functionality that you are looking for in their Pro (paid) version. It will tell you when your email has been read and it has an integration to Salesforce.
There are probably other third-party applications that provide similar functionality. For the record, I am not affiliated with them in any way.

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.

Struggling with adding new Gmail EventReservation schema Tags to emails

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.