How to specify a read receipt for MailApp - google-apps-script

I am using MailApp from Google Apps Script to send emails. When I send an email, I want to be able to track to see if the email was opened or not. This email account is a G Suite account and Email Read Receipts is set to "Allow email read receipts to be sent to any email address."
With MailApp, how do I specify to send the read receipt for the email?

I believe this is not possible with the MailApp class. The only option I thought it would be possible is by using the method sendEmail(recipient, subject, body, options). However, this method does not include any option to request for a read receipt as how you can see under the Advanced parameters explanation.
I also checked the GMAIL API service and there is no option to do this as well. The help center article here, explains this is available inside the gmail web UI and after several testing, I found out this is not possible via API.
In summary, by using apps script or the Gmail API is not possible to achieve this. The only thing that comes to my mind right now, is to implement a system in which you will include a unique image in the message and track for when the image is loaded. When the image is loaded, that means the message has been read. I have no idea how to implement such solution but I know is possible.

Related

DocuSign Email Notifications - How to remove email address and name from the body of the email

DocuSign notifications are being sent out with the DocuSign account owners name and email within the body of the email. Worked with DocuSign support and determined modification needs to be made to the email resource file (there is also a signing resource file) and this is not something DocuSign support can help with.
I am trying to remove/hide the Name and Email Address from the body of the email. I have attached a screenshot example.
Which line in the resource file (I can attach both email and signing resource files here if necessary) would need to be modified? Would it also be multiple lines that need to be modified?
We recommend that any changes done to the resource file should be performed by an HTML knowledgeable person, because this file contains settings for the entire account.
If you want to make the changes yourself you can look up the appropiate section by searching for the text "your documents have been completed".
We hope this helps
Adrian
DocuSign Support

Send messages from google sheets (google apps script) to Microsoft Teams

I want to use Google Apps Script to send a message from Google Sheets to Microsoft Teams.
I know it is possible to send an e-mail to a channel, but I have no idea how to send a message.
To send a message to a Microsoft Team channel you need to know its email address, you can get it in the channel itself with More Options (⋯) 🠺 Get Email Address. Later, to send the message from Apps Script, you will need to use the .sendmail() method of the MailApp service. You can find the full options of the method and some examples in that documentation link. Also, keep in mind Microsoft Team channel limits (at the bottom of the page) to be sure about the message being delivered. Please, ask for more clarification if you need further help.
#Pierre W Please try using Connectors to send a message inside Microsoft Teams. However, connectors are built on Teams scope so you can send a message inside a team but not in 1:1 chat.

How can I set such "track" link in gmail?

I saw the following "Track order" link in Flipkart's order confirmation mail (gmail):
How do I acheive this? I don't know what it is called, so don't know what to search for. I apologize if this question is already asked.
This is done using an Email Schema via schema.org.
Google uses this service to allow rich markup of emails (https://developers.google.com/gmail/markup/overview)
You will need to register with Google and comply with their guidelines in order to use a schema in an email to provide a deep-link to your website.
The guidelines are located here: Registering with Google
In Summary:
Emails must be authenticated with SPF or DKIM
Emails must come from a static address and must follow Google's Bulk Sender Guidelines
The link must be to a specific page on your website and the label should clearly reflect the intent of the action
There's a few more, but these are the main requirements. Once you comply, you need to email schema.whitelisting+sample#gmail.com to allow Google to ensure you comply with the requirements and white list your domain for deep-linking.

Is it possible to send email using the box-api v2?

Is it possible to send email messages to collaborators using the box v2 api? I usually do this through the web interface, but it would be nice to do it from the api.
It's not possible to send email messages to collaborators via the API.The closest you would be able to do this is by adding a comment to a file. An '#' comment, which is possible to do via the API, would ensure that an email notification is generated by Box to inform them of the comment.
Rory

user email in About service

I need to get the user email when I get document permissions. I have seen this problem here
value attribute for Permissions Resource not populated in responses
but in about service does not appear my email. I need it because I have a service account and my application need know the user email. I want to avoid call to profile service.
Is this possible? from where I can get the user email?
Thanks.
As you rightly say, you will have to make a call to the profile service. In some ways it is better like this, because it separates the concerns of the Drive API and the Profile API, and can use specific scoping to let the user know exactly what they are authorizing your app to do.