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
3
votes
1 answer

How to send GMail/GSuite email using OAuth2 without browser popup?

Following this github article I am able to authenticate against GMail using OAuth2 and send gmail messages programmatically uisng SMTP and IMAP (clients from MailKit). The link was kindly provided by the author (jstedfast). The problem with the…
pete.a
  • 31
  • 3
3
votes
2 answers

Invalid delegate for mailbox in Gmail API

I am trying to get the Delegates for a mailbox using Gmail API. My application is running on Google App-engine and has the feature of Add, Remove,Get Delegates using Email Setting API. Now I am planning to migrate these features to Gmail API since…
3
votes
3 answers

How to authenticate with Google Email Settings API using service account oauth2 Python client?

I'm using Python 2.6 and the client library for Google API which I am trying to use to get authenticated access to email settings : f = file(SERVICE_ACCOUNT_PKCS12_FILE_PATH, 'rb') key = f.read() f.close() credentials =…
3
votes
1 answer

How to get mails of delegated accounts

Being authenticated as user1, i'd like to retrieve mails of all the users who have delegated access to user1. So i have two problems : Retrieve all the accounts that have delegated access Retrieve the mails The emails-settings-API gives acccess to…
Jerome
  • 2,104
  • 1
  • 17
  • 31
2
votes
1 answer

How to reply to specific email using UID in imap fetched emails in php

I have send emails using SMTP gmail settings which is working fine and i fetched the emails using IMAP function of php and that also return listing of emails. Now i have list of emails with their uids. I want to send the reply to that received…
Mr. AK
  • 89
  • 11
2
votes
1 answer

New GMail API Signatures Settings

I've tested the EMail Settings API with many third party tools, and it seems to strip inlined embedded images (Base64), however the WebGUI can create inline embedded images in signatures with some browsers. Has this been improved in GMAIL API…
Dom
  • 121
  • 6
2
votes
2 answers

Manage gmail signatures with python service account

I want to edit signatures of users in a google apps domain. I plan to use a service account. The service account is delegated to the entire domain. I have this working with the gmail API to send and retrieve email, but signatures are modified using…
2
votes
1 answer

Error 403 "you are not authorized to access this API " Email setting API

I am writing a code in salesforce to update Email signature using the API documentation mentioned in https://developers.google.com/admin-sdk/email-settings/. I am using a 3 legged approach. Considering that this is an API for domain admins, My…
2
votes
0 answers

google email settings api send as alias

I'm getting an error when trying to create a sendas alias using the Email Settings API for C#. Here's my code using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using…
teejer
  • 21
  • 1
2
votes
0 answers

Issue managing Google Apps Forwarding with OAuth Login

I'm trying to fix my script which sets up mail forwarding on Google Apps with the new OAuth2 authentication. I have the directory API working fine, but the forwarding stopped working last week with the username/password authentication. I've updated…
2
votes
1 answer

How to use the Google Email Settings API and the OAuth2 for Apps Script Library to set email signatures for users in a Google Apps domain

This is my first time using the "Answer your own question" feature. I hope I'm doing this right. My Title triggered a warning that my question looks subjective and will probably be deleted. I searched the site and didn't find any questions that…
2
votes
2 answers

Enable mail forwarding using a Google Apps Service Account

On April 20, 2015, several Google Apps APIs are being discontinued, including the Provisioning API(gdata). In my Python scripts, I am using a Service Account and OAuth 2.0, instead of ClientLogin, and the replacement API: Directory API. However, I…
2
votes
1 answer

How to retrieve gmail filters list via "Google Apps Email Settings API"?

I'd like to retrieve all mail filters list of a given google account and eventually delete some of them. I've found only the API for adding filters, but not the ones for listing and deleting. I think it's strange but I am not able to find that APIs,
Irr
  • 656
  • 1
  • 9
  • 19
2
votes
1 answer

Enabling labs features using GData API

I am build an application(with .Net) in order to automatically configure our own domain gmail. I can setting many thing using the API as described here : https://developers.google.com/google-apps/email-settings/#api_operations But, Is it possible to…
Aladdin Gallas
  • 701
  • 2
  • 12
  • 36
1
vote
1 answer

Google email offline access using react native expo app

I am creating one app using react native expo, which allow end user to login by their google account , and then applicaton try to save the access_token so that server based applicatin can use this to send the email on their behalf , But when using…
1
2 3 4 5