Skip to content
Advertisement

Tag: gmail

Pass Google Apps Script (GAS) – Charts Service chart to HTML Template within GAS

https://developers.google.com/apps-script/reference/charts I’d simply like to pass the chart object generated from Charts Service within the HTML template (where I choose – not as an attachment, but within the template) to email. I have had success attaching the chart object, but I’d like to integrate this within the email itself/embed Here is the Google Apps Script code (using the link above

How to send pdf via gmail api

I have implemented gapi/ 0Auth2 elsewhere in my code and everything works, except the attached PDF is broken. The PDF can not be previewed and is empty when downloaded. ´´´ ´´´ I have tried premade PDF, rather than jsPDF. I have followed the documentation on google and looked at different post, but there seem to be no documentation for this

Give permission in a gmail addon

I’m trying to put together a script for Gmail in Google Apps Scripts add-on that will reply to all email on weekends with an out of office message: I keep getting this error however: Exception: The script does not have permission to perform that action. Required permissions: (https://www.googleapis.com/auth/gmail.labels || https://www.googleapis.com/auth/gmail.metadata || https://www.googleapis.com/auth/gmail.readonly || https://www.googleapis.com/auth/gmail.modify || https://mail.google.com/) This happened after I

is there any way to copy the rendered HTML of a div?

I am working on a signature generator for emails and I want to copy the final signature with the press of a button instead of manually selecting the signature and copying it to the clipboard. This means I need the image, text and styling for them. I have tried a couple of variants, including the w3schools one, but no success,

Script to permenantly delete my emails with Google Script

How does this Gmail.Users.Messages.remove(userId, id) work? What is the ID of the email and is it the right function to permanently delete an email? In my case I want to delete all my sent emails instantly and definitely. Here’s some code I took from someone, only with a different label: Is this in anyway correct and could anyone help me

Bookmarklet in email

Is it possible to drag a bookmarklet from an email? Gmail doesn’t convert the raw javascript into a draggable link and will not attach javascript to image links. I tried several workarounds. I tried dragging a link then tried to redirect the header location with php. Putting JS in the header redirect is illegal and doesn’t work. I also tried

Open Gmail on mailto: action

How to force web-browser to navigate to Gmail and create (if logged in) new letter with filled in field ‘To’ on click on mailto:SomeMail@blabla.example? Answer There’s a Greasemonkey script. The compose URL is: https://mail.google.com/mail/?view=cm&fs=1&to=email@domain.example

Advertisement