Skip to content
Advertisement

Tag: gmail-api

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

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

Advertisement