Iam trying to authenticate gmail using OAuth2 for my web application. From the server, we return a url to the client, which then uses that to open a pop-up. The code is as shown: From the pop-up , i want to extract the “code” param which google returns to us after the authentication is completed. But when i try to
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