Skip to main content
Filter by
Sorted by
Tagged with
0 votes
1 answer
30 views

Java Google Mail API send "Precondition check failed" - 400 Bad Request for Service Account server-to-server no user

In response to google's recent change to disallow username/password access to Google Workspace accounts from Google Cloud VM-instances, I am attempted to replace sendmail calls with Google API calls ...
jn4's user avatar
  • 45
-2 votes
0 answers
55 views

gmail api, when i am under project quota or user quota? [closed]

i wanna use gmail api but i don't understand what is the difference between user quota and project quota and when enabling gmail api it creates a project automatically, so am i limited to 1.2M quota ...
Blomiir's user avatar
0 votes
0 answers
35 views

How to open a specific react native app screen from a gmail link?

In my react-native app, I've implemented deep linking so I can access my reset password page from a gmail link sent after "forgot-password". The component is opening from adb command, but ...
georgio bou sleimen's user avatar
3 votes
1 answer
132 views

Receiving error with GmailApp.SendEmail all of a sudden

I have an Appscript program that I've used for a long time. It sends me an email with an attachment. The attachment is a Google sheet that has been exported to an xlsx format. All of a sudden, I'm ...
Matt Sirkin's user avatar
0 votes
0 answers
39 views

having problem using gmail-api ,There something wrong with Gmail.buidler , i think i'm adding credentials wrong way

so this is my first project in spring boot (noob) , i wanted to created this gmail sending service, i got code from some repository but it's not working , i saw official documents , but they are ...
Lemon03's user avatar
6 votes
4 answers
411 views

Multiple different attachments using Gmail API in Django

How do I account for sending multiple (or no) attachments (via request.FILES) in Django using the Gmail API, so I can store the legacy message ID (ie "FBf…MiD") for future retrieval to reply ...
chris Frisina's user avatar
0 votes
0 answers
61 views

getting Module not found error for credentials.json when they are there (web app)

⨯ Error: Cannot find module '/Users/user/Desktop/contratos/credentials.json' when calling this function from the docs: async function authorize() { let client = await ...
user29972736's user avatar
-2 votes
1 answer
67 views

How do you successfully use Google's python quickstart API in a Colab environment?

This is kind of a follow up to this question I asked 2 years ago. I'm revisiting the work I've done in the past, and trying to get my old scripts to work (... again). And, I'm getting stuck (... again)...
Scott Borden's user avatar
-4 votes
1 answer
44 views

I want to use [email protected] while using the Gmail API

I am working on implementing the Gmail API, and I have created the email alias [email protected]. However, after implementing the feature to send emails to users from that address, I want to ...
user29966339's user avatar
0 votes
1 answer
87 views

How to setup Aurinko api for google email API

I recently watched a YouTube video where he built a SaaS project. The instructor built an email client SaaS project, and you have to set up an Aurinko account. I was following and building the same ...
Krishna Kamal's user avatar
0 votes
1 answer
60 views

Gmail API Not Sending Email Attachments with PDF in Django

I'm using the Gmail API to send emails with PDF attachments from my Django backend, but the attachment is not appearing in the email — only the email body is received. Here are the logs showing the ...
Aamir Qayyum's user avatar
0 votes
0 answers
39 views

Can't read mailbox with Gmail API - ACCESS_TOKEN_SCOPE_INSUFFICIENT

I have been messing around with the Gmail API lately and I haven't been able to read my mailbox. Got it to read my labels (used the Gmail API Quickstart for this), then made it send me an email, both ...
Artur's user avatar
  • 1
3 votes
1 answer
58 views

How can i fetch a child labels in a gmail through api endpoint

Initially, I have fetched the labels from the gmail through this endpoint, Now how can I fetch the child labels from the selected label like INBOX, STARRED, SENT?
premkamal's user avatar
0 votes
1 answer
155 views

Gmail API 500 error sending an email with an attachment and a specific email address - NodeJS [closed]

I have a NodeJS app that among doing other things sends emails using the Gmail api with simple pdf attachments. This worked for months and then suddenly it stopped working and I started getting 500 ...
Bailey's user avatar
  • 3
0 votes
0 answers
96 views

When sending a reply with the Gmail API, is there a way to include the text from the previous emails?

When I use the MS Graph API to reply to emails, it automatically adds the quoted text to the reply email from previous emails in the email thread. Is there a way to accomplish this with the Gmail API ...
data-dawg's user avatar
0 votes
0 answers
42 views

Correct 'from' field for sequential email sending in a thread using GmailApp

I work on problem sending main email and few reminders (not spam) after some time into same email address and thread. I use google app scripts and it has built-in GmailApp. So this is my messaging ...
JessyJane's user avatar
0 votes
0 answers
44 views

Email signatures for employees using Google Workspace

I'm developing a web app that allows you to create email signatures for your company. The idea is that once you have your email signature, I want users to be able to click a button and install those ...
Cris's user avatar
  • 1
0 votes
0 answers
52 views

Mail tags in the Contact Form 7 Message Body aren't working when using WP Mail SMTP Wordpress plugin with Gmail API

I have Contact Form 7 working to submit emails from my site, however when using the WP Mail SMTP plugin and Gmail API, the tags in 'Message Body' aren't working. It worked before I started using the ...
CryptoPiggy's user avatar
0 votes
0 answers
34 views

How to ignore images attached from the signature from Gmail API (Python)

I would like to ask about using the Gmail API. I want to know if I can use Python to fetch data from the Gmail API, but I'm not sure if it will be able to ignore images attached from the signature in ...
Willy Suppawit's user avatar
1 vote
1 answer
60 views

Deleting Personal Emails from Gmail Efficiently

My Gmail reached the 15 GB limit, so I archived old emails with Thunderbird and I want to delete all the emails that are older than two weeks. Using the GUI is cumbersome because it seems like I can ...
Paul Lewallen's user avatar
0 votes
1 answer
76 views

Google Apps Scripts Update Subject, Content , CC , BCC etc

I am trying to implement a Google Apps Script function that will help me update the subject, content, cc, bcc, etc., of an email. However, I have encountered an issue where, despite having written the ...
Harsh's user avatar
  • 3
0 votes
0 answers
67 views

Increasing error 500 on GMail API sending

My company has a "send mail" module. In this module customers can define their own GMail account for sending mails through the app: // Send using the simple upload request for the Gmail API ...
Noam Benyamini's user avatar
-3 votes
1 answer
69 views

How can I add sending emails in my webapp?

I built a webapp using spring boot and I want to add send emails feature, which allows users to send emails to their contacts using their own email address. How can I setup this feature? I think using ...
Soumitra Agrawal's user avatar
2 votes
1 answer
136 views

Google Workspace Admin SDK Email Log Search Reports API: How to retrieve email delivery status?

I'm using the Google Workspace Admin SDK Reports API - Email Log Search in Node.js to retrieve email logs for messages sent from my domain. I'm able to get details like: Sender email Recipient email ...
Shafi_dev's user avatar
0 votes
0 answers
47 views

Email Address Authentication for Gmail API Fails

I'm trying to make the GMail API work. This is what I have: A project in the Google Cloud for the Gmail API. Valid client ID and client secret codes. Valid redirect_uri Valid test user Redirect and ...
Dave's user avatar
  • 13
-1 votes
1 answer
108 views

DriveApp and GmailApp Services not working simultaneously in Google Apps Script

I'm encountering an issue with Google Apps Script when trying to use DriveApp and GmailApp together. Here's the situation: When I call DriveApp alone, it accesses folders without any issues. ...
codingWars's user avatar
0 votes
1 answer
76 views

Strange characters turning up in generated email messages

Using GMail api to send emails from within various apps. Use MimeKit to generate message content. The issue is when I generate my message and send it off, I always get a number of instances of  ...
Shane Brodie's user avatar
0 votes
0 answers
115 views

Mail sent through Gmail's API with Python is being identified as spam/phishing

I just learned how to write a Python script that uses Gmail's API to send mails automatically and it works fine except for a couple of issues. First, all the mails sent throught this method have a ...
Flavio Fernandes's user avatar
0 votes
0 answers
45 views

Why are some emails not being moved to trash using Gmail API in a batch process?

I'm working on a Node.js application using NestJS and the Gmail API to move emails to trash in batches. However, users are reporting that not all emails are being moved to trash. For example, out of ...
aromanarguello's user avatar
0 votes
0 answers
115 views

Message ID from Google Apps Script is different from ID from Gmail API

I am trying to build a Google Workspace Add-on card that pulls some information from a sheet and adds it to a Gmail card. On the sheet, I have a list of emails with their Message ID pulled from the ...
5tanczak's user avatar
  • 171
0 votes
0 answers
62 views

OAuth Scope Error in Gmail API for Sending Emails with Google OAuth in Python

I'm integrating Google OAuth to send emails on behalf of users. My function for sending emails throws the following error: ('invalid_scope: Bad Request', {'error': 'invalid_scope', 'error_description':...
El1Harolds's user avatar
0 votes
1 answer
45 views

Not able to set custom display name

I'm not able to set a custom display name. Logs seem correct: Sender: Admin Display Name [email protected] To: [email protected] But in the email resulted, display name is missing. ...
gva12's user avatar
  • 3
1 vote
0 answers
243 views

Getting "Error 401: disabled_client" in Google OAuth API Before Using the API

I recently set up a new Gmail API project in the Google Cloud Console, but I’m facing an issue before even getting the chance to use it. Whenever I try to authorize the API, I receive this error: ...
Ela Gürler's user avatar
0 votes
0 answers
115 views

invalid_grant using Gmail API

I have a node.js backend that uses gmail API to retrieve user emails. The problem is that for some users who recently sign up to use the app they get an "invalid_grant" error after some time....
Chris's user avatar
  • 103
1 vote
1 answer
119 views

Gmail with Nextjs 15 Reply conversation

i working with Gmail in Nextjs 15, i can get all my email, sending email, but my reply has a problem.when i reply a mail, in my mail conversation i can fetch every previous mail which is fine. but the ...
Peter Just Peter's user avatar
1 vote
1 answer
70 views

Gmail API notifications to PubSub

I am working on some email automation that requires using the GMail API and PubSub as described in the Google document here: https://developers.google.com/gmail/api/guides/push. This setup requires ...
Abhinav Ankur's user avatar
1 vote
0 answers
52 views

Email Sending getting timed out

This is my python code which I m using to send email to Gmail using SMTP import smtplib from email.mime.text import MIMEText subject = "Email Subject" body = "This is the body of the ...
Data writer's user avatar
0 votes
0 answers
27 views

Can i use Gmail's "send later" function from the Thunderbird client?

Thunderbird sports a Send Later add-on, that allows one to send an email some hours later, or at a certain time/date, etc., but it requires Thunderbird (not to mention the computer itself) to be up ...
lurix66's user avatar
  • 552
0 votes
0 answers
50 views

Unable to redirect back to Kotlin Mobile app after login using Google Account

I have created a Kotlin Mobile app to Use Gmail API. But after login with Google account it will not automatically redirect back to the app. Can you please help me with this? `This is my source code. ...
Vihanga Nimesha's user avatar
0 votes
1 answer
124 views

Field startHistoryId getting invalid forcing us to rescan the entire mailbox to get a new startHistoryId

We are using Datto SaaS to backup mailbox for a tenant in google workspace. Our support on that platform has reasons to believe there is an issue on googles side causing their APIs calls to do backups ...
user27740617's user avatar
0 votes
1 answer
109 views

Unable to Retrieve and Read .eml Attachments in Gmail Using Google Apps Script

I am facing an issue while using Google Apps Script to automate the retrieval of .eml file attachments from specific emails in my Gmail inbox. My script is designed to search for emails with a ...
MD ZUBAYER JAMIL's user avatar
0 votes
0 answers
98 views

Integrate Gmail API to Android Kotlin app

I was trying to implement email sending functionality using Gmail API in a Kotlin Android application. I was able to implement Google one-tap sign-in. I'm getting the token from the onActivityResult() ...
Vihanga Nimesha's user avatar
0 votes
1 answer
117 views

Error sending message: SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting

My website use smtp.gmail.com to send emails. The service has stopped. Error sending message: SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting The script has working ...
Jean-Pierre Lolivier's user avatar
0 votes
0 answers
54 views

GMail API asks for authentication every time - Python Script

I would like to receive and send mails from GMail using a Python script. I have orientated myself on the Quickstart.py script from Google. https://github.com/googleworkspace/python-samples/blob/main/...
MisterGray's user avatar
1 vote
0 answers
55 views

Quota Limits for GMail batchModify

The GMail API has a batchModify method, which allows you to assign or remove labels from a large number of messages at one time. https://developers.google.com/gmail/api/reference/rest/v1/users....
Alana Storm's user avatar
1 vote
0 answers
43 views

Is it possible to include body in list response for Gmail API

I am trying to get body and subject of an email message. Is it possible without having to call another endpoint for each message since that will be a major slowdown. const response = await gmail....
Dživo Jelić's user avatar
2 votes
1 answer
74 views

Error when trying add filter to Gmail using python script

I am trying to create a simple Python app that would be able to delete and add filters to Gmail. Using different SCOPES I can easily list labels, filters, and so on but when trying to add a new filter ...
Jan Pips's user avatar
  • 145
1 vote
1 answer
99 views

Formatting Specific Portions of a Gmail Email Created with Apps Script

I'm trying to find a way to create emails using Google Apps Script and format specific words or phrases (not the whole body) in the email body. I want to automate creating some emails that have ...
AnonymousTurtle's user avatar
1 vote
0 answers
377 views

Use service account from google to send emails through smtp.gmail.com

I'm trying to use a gmail account that I've using so far to relay emails automatically with a web app. Using the email and password, being insecure and therefore not allowed from the 30th September. I ...
Juan Maria Martin's user avatar
0 votes
0 answers
246 views

How to send email using Gmail Api and ASP.NET Core Web API?

I am working on a POC using ASP.NET Core Web API and the Google.Apis.Gmail.v1 NuGet package to send emails via the Gmail API, as SMTP-based email sending will no longer be supported after September 30 ...
VishnuKumar ps's user avatar

1
2 3 4 5
87