Questions tagged [google-email-settings-api]

An API which enables Google partners to programmatically manipulate most user-level Google Mail settings. It was deprecated in 2019.

The Google Email Settings API enables Google partners to programmatically manipulate most user-level Google Mail settings. It supports many operations, such as:

  • Creating filters, labels, aliases, delegates;
  • Updating various settings for a user's account;
  • Retrieving existing settings for a user's account.

Your application will be able to interact with the API sending HTTP requests (GET, POST or PUT) to specific URLs (each of them represents a particular user's setting).


You can visit the official API page and consult the Developer's Guide for further information.

74 questions
1
vote
2 answers

Can't create email labels & filters via Google Apps for Work API

I need to be able to programmatically set email filters (something that gmail API doesn't support), so... I signed up today for a Google apps for Work 30 days trial, I read the docs over here and I found this PHP code (adapted for my needs, code…
TheDude
  • 3,045
  • 4
  • 46
  • 95
1
vote
2 answers

Using Email Settings API from app engine with service account

I'm trying to use the Email Settings API from within a google marketplace app. Because I need all the logic to happen offline (in a cron job). I'm using an app engine Service Account, but when I'm trying to actually change the email settings for the…
MeLight
  • 5,454
  • 4
  • 43
  • 67
1
vote
3 answers

How do I reliably verify if I can send an email via Google's smtp servers, for an email address that may or may not be a send-as alias?

I'm using Google's smtp servers to send email using oauth2. If I want to send with a different 'from' address, Google lets me specify one. If the from address is a verified send-as alias for the account, Google will use it in the email. If it's…
Tim Haines
  • 1,496
  • 3
  • 14
  • 16
1
vote
3 answers

Is it possible to set signatures for each approved "send mail as" through the Google Apps Email Settings API?

I have a Google Apps account with two others approved "Send mail as" accounts. In the Gmail settings (web interface) I can set one signature for each of the three email addresses. Is it possible to do the same through the Googe Apps Email Settings…
eivind
  • 13
  • 2
1
vote
2 answers

Is there a way to modify user e-mail routing via the api?

I would like to be able to modify user-level e-mail routing via an API, but I can't seem to find a library that will permit this. Am I missing something, or is this not possible?
JeffDG
  • 11
  • 1
0
votes
0 answers

SMTPAuthenticationError at /

my django app is not being able to send email. On my email less secure apps is turned on and i have unlocked captcha. am stuck i dont know what am missing. any help will be appreciated. Traceback Environment: Request Method: POST Request URL:…
joel
  • 1
  • 2
0
votes
1 answer

Line Breaks - Gmail Apps Script

I have made some code to automate my email from a spreadsheet and want to expand it across my team but I would like to add a footer/signature to it and also not have to include the recipient and subject in the code itself but rather pull it from the…
0
votes
1 answer

Sending emails from multiple email addresses via one SMTP server

I want to send emails from multiple email addresses like test@test1.com, sample@sample2.com via one smtp server that is against one email address. But when I do this I get following error: raise SMTPAuthenticationError(code, resp)…
0
votes
2 answers

Is it possible to set MX records to receive emails in Google App Engine?

I have created a receiving email app with Google App Engine using the doc (https://cloud.google.com/appengine/docs/standard/python/mail/receiving-mail-with-mail-api). I want to receive emails using my custom domain. What should be mx settings? Can…
0
votes
3 answers

What needs to be added to this google script to mark the emails as read

I'm looking to see how to mark the messages read after executing this script. I've read through Class GmailApp, but I am too much of a novice to know what to do. This script would be successful for me if it pulled the email data into google sheets…
0
votes
1 answer

Email set up in Google App Engine

We have domain registered on godaddy and mapped into Google App Engine. Now we want to set up email address with our domain. Can anyone know how to do it?
Umid Boltabaev
  • 442
  • 2
  • 6
  • 17
0
votes
1 answer

Admin SDK Email setting API to delegate Email

I am looking for email delegation using google admin sdk. I am using admin sdk because still its not available in Gmail API. I checked google doc https://developers.google.com/admin-sdk/email-settings/#delegation_examples But it gives only feed…
compyutech
  • 578
  • 3
  • 8
  • 26
0
votes
0 answers

Possible to "swap" OAuth2 Gmail API scopes?

We have an app in the Google Apps Marketplace that currently uses the Email Settings API: https://apps-apis.google.com/a/feeds/emailsettings/2.0/ We use this to get a user's email signature. This is being discontinued later this year, so we now want…
Chris Wood
  • 521
  • 6
  • 13
0
votes
1 answer

How to cancel an auto-send email - can't find the script or source to cancel?

Used Google Scripts and when we search my history, the script is gone I followed this link to set the email up, and now I cannot cancel it, any help would be much appreciated
JDJ4311
  • 1
  • 1
0
votes
0 answers

Google Schema Violation Error with scope parameter

I have a scenario here that I am creating an application which I need to get into connection with Google API Server. Upon Authorization request I encounter an error that says The problem is an XML schema violation error. The line question (no. 47…