Category "gmail-api"

How to get rid of the CORS error when sending email with attachments with Gmail API?

I know there are plenty of articles on the topic but none of them helped me solve this issue. I have a website where users can connect their Gmail account and m

How do I determine which gmail permission is causing Google to send my clients 'Limiting access to data in your Google Account' emails? [closed]

My clients are receiving emails like this (I quote the text, but it is an html email): From: Google Accounts Date: [OMITTED] Su

Google Gmail API - How to login programatically?

I'm looking to write a PHP script that scans my gmail inbox, and reads unread emails. There needs to be NO user interaction. This has to happen on a cronjob tha

Google Script to empty emails in trash folder

I was using the below google app script to delete emails automatically from my trash folder. for some reason, this is no longer deleting the emails however the

Google API GMail oauth2 can't refresh a RefreshToken after a week

I've a system that sends an email every day using GMail API. I get the RefreshToken once then save it to a file. before send daily mail the RefreshToken is refr

How can I authenticate Gmail API without Google Dll

I am trying to use Gmail API without Google Dll, and I would like to use it only with HTTP requests. How can I authenticate and authorize with scopes (like crea

Client is unauthorized to retrieve access tokens using this method Gmail API C#

I am getting the following error when i tried to authorize gmail api using service account "Client is unauthorized to retrieve access tokens using this meth

Why does the Gmail API return an "invalid to header" error while my API had been working fine for weeks?

Using the quickstart guide for the Gmail API with Python, I get an 400 error "Invalid to header" when trying to create a draft. I have been using my little scr

403 "Request had insufficient authentication scopes" when creating drafts in Google API with Python

I am working with the google api for the first time, and am new to coding in general, and have a question that I'm sure is very simple, but I cannot find the an

Google API (Gmail) failing with failed precondition 400

I am trying to use the google APIs to read emails and I'm repeatedly failing to get good results. It is supposed to be a server->server account that runs per

send email using gmail-api and google-api-php-client

I am using https://github.com/google/google-api-php-client and I want to send a test email with a user's authorized gmail account. This is what I have so far