I just got an email from Basecamp and it included a link to "View on Basecamp" which I could click from my Gmail inbox.
How do they do that? I looked at the raw message in Gmail but I couldn't see any headers that included the appropriate link - it only shows up in the actual message contents. Is this a Gmail/Basecamp specific partnership or is it something I can do when sending emails through my app too?
These are Gmail Actions, declared using JSON-LD or Microdata embedded in the email.
Related
I am currently developing a gmail addon. The addon sends an email, with an attached eml file, to a particular recipient. Unfortunately, the recipient is not able to open the eml file attached with the email I sent via GMAIL API. If they click on the attached eml file they will receive the message "An error occurred while loading the attached message."
I found two issues, which might be related to this issue, when I analyzed the data I saw when I clicked "show original" on the email. One is that all emails I sent via GMAIL API have the "Received from xxxxxxxxxxx named unknown by gmailapi.google.com with HTTPREST" header. And that the entire base64-encoded eml file is missing in the content of the email. Please see image below :
Is this related to Emails sent via GMAIL API are flagged as Phishy? Or am I missing or doing something wrong? If I set the "attachment-type" to "text/plain" then the base64-encoded eml file data is present and viewable when I "show original" the email. Thank you all in advance.
#GovZ you can use MailApp.send rather than GmailApp.send, along with setting the content-type to "message/rfc822" and the email should preview correctly.
Details here: https://issuetracker.google.com/issues/155736170
I have developed a gmail add-on for personal use and it can currently draft a reply to a recipient using message.createDraftReply(replyMessage);. I then have to manually send email.
After the button click event, I would rather that the the email just be sent directly without further action needed on my end and the UI go back to the inbox (rather than the email view).
Is this possible? If so, can you please provide some direction/example.
Have you tried using the sendEmail method?
See documentation here:
https://developers.google.com/apps-script/reference/gmail/gmail-app#sendEmail(String,String,String,Object)
I am making CRM for Gmail.
I want to get the unique "email id" in my chrome extension from the "xhr" response when "Send" button is clicked. I have not overridden any gmail functionality.
My plan is to use that email id to get the email using gmail api.
Is there any other way by which I can get the email data when the email is sent and save it in my system?
Thanks in advance!
After searching for a week, I got a way to get the unique emailID.
When email is sent, a link is displayed - "Your message has been sent. View message".
View Message is a link. If you inspect this link, you will get a span element. It has an attribute 'param', which contains the emailID.
I fetched emailID from there and passed it in request to gmail API to get the email data.
I know it is not a permanant solution, but working for me as of now.
If someone knows some other solution, please share.
I need to paste table (details of event) beetwen subject and body of the gmail message. Watch the example image http://i.stack.imgur.com/jQqqU.jpg
It's some feature of Gmail, I think. It looks like invitation of google calendar event, but it's not the same.
How to do it?
Thanks
This is schema.org markup - info to set up and process for approval is available here: https://developers.google.com/gmail/markup/
I am sending email activity using system Workflow. It sends email where email-body contains a link.
What I do that I insert a link using "Hyperlink" button on the Email-Template provided by the System Workflow.
When this email received at on Outlook it works fine. If it is received on Thunderbird or Gmail or Yahoo, it distracted.
That "Link" text does not works as link anymore and it's value(i.e full URL) displayed over there.
What i can do for this in email template to works on other EMail client.
I formulate this email using system Workflow. I don't have such flexibility over here.
Any idea will be appreciated. Please help.
Thanks,
Anish