google-email-settings-api

Unable to delegate users using Email Settings API

只愿长相守 提交于 2020-01-07 03:05:41
问题 Does anyone know if the Admin SDK / Email Settings API has changed recently? Previously we were able to delegate a user account for a user that was disabled, this is no longer that case. Following is the stacktrace: 400 Bad Request { "error" : "invalid_grant" }. Stacktrace follows: com.google.api.client.auth.oauth2.TokenResponseException: 400 Bad Request { "error" : "invalid_grant" } at com.google.api.client.auth.oauth2.TokenResponseException.from(TokenResponseException.java:105) at com

Unable to delegate users using Email Settings API

自闭症网瘾萝莉.ら 提交于 2020-01-07 03:05:32
问题 Does anyone know if the Admin SDK / Email Settings API has changed recently? Previously we were able to delegate a user account for a user that was disabled, this is no longer that case. Following is the stacktrace: 400 Bad Request { "error" : "invalid_grant" }. Stacktrace follows: com.google.api.client.auth.oauth2.TokenResponseException: 400 Bad Request { "error" : "invalid_grant" } at com.google.api.client.auth.oauth2.TokenResponseException.from(TokenResponseException.java:105) at com

Google Email Settings api using OAuth 2.0 service account in java

半城伤御伤魂 提交于 2020-01-06 14:55:17
问题 I want to use Google Email Settings api using OAuth2.0 service account authentication method in Java, however I am unable to find any useful client classes from Google or sample examples about how to do this. I have had a look at Directory apis which are very useful for user or group related operations. Is there any equivalent for Email Settings api? 回答1: You can still use the old library AppsForYourDomainClient.jar with Service Accounts. You need to override the method were the user/password

Google Apps Email Settings API using .Net and OAuth 2.0

我只是一个虾纸丫 提交于 2019-12-23 03:37:11
问题 I want to use the email settings API, but can not find any documentation how to use this api with the oAuth2 authentication Am I using the correct API? Am I using the latest API? (Google.GData.Apps.dll Version 2.2.0) How can I use this DLl with an google console project with p12 file and serviceaccount? According to the Google documentation this is the latest api voor email settings: https://developers.google.com/admin-sdk/email-settings/ I can not find any documentation on this page how to

How to automatically set gmail filter via chrome extension?

假装没事ソ 提交于 2019-12-20 07:19:08
问题 I would like to implement the following use case as a Chrome extension: user visits gmail exension checks current email body for a keyword if a keyword is present, a gmail filter is added and saved (adding label, archiving, the details are not important here) The first part sounds easier: there is gmail API to work with and even a gmail.js project that should make it easier. Adding filter seems to be much harder. There is email settings API doing precisely what I want but I am fairly sure it

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

我们两清 提交于 2019-12-18 03:46:49
问题 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 matched the level of detail that I put into my response below, so I'm just trying to help out some fellow programmers by posting this. As the administrator of a Google Apps domain, how do you use the Google Email Settings API with OAuth 2 to

Email Settings API - ClientLogin

送分小仙女□ 提交于 2019-12-13 04:32:32
问题 We are using EMAIL Settings API and ClientLogin for Authentication. EMAIL Settings API is still on GDATA Libraries. Using GDATA libraries can we start using OAuth 2.0 ? (we are using the appsforyourdomain client library to use EMAIL Settings API) Or can we continue using ClientLogin ? Based on the post looks like ClientLogin is going to retire by April 20, 2015. Please guide me the right approach. GDATA API : 1.46.0. EMAIL Settings API is used only for disabling the webclips for the user.

How to get mails of delegated accounts

旧巷老猫 提交于 2019-12-12 16:30:07
问题 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 delegates, not delegators. Is there a way to do that progamatically. Feel free to ask for more information 回答1: To find out who has given you delegated access to their account, you would need to perform the retrieve delegates API call: https:/

Possible to “swap” OAuth2 Gmail API scopes?

假如想象 提交于 2019-12-12 03:49:46
问题 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 to move to the Gmail API and use this scope: https://www.googleapis.com/auth/gmail.settings.basic We already have the Gmail "compose" scope, however this doesn't allow us to retrieve the signature. We have over 250 businesses using our software

Manage gmail signatures with python service account

丶灬走出姿态 提交于 2019-12-11 00:40:53
问题 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 a different api. According to https://developers.google.com/admin-sdk/email-settings/ this api is the Admin SDK which I have enabled via Google Developer Console. I am trying to use the library gdata.apps.emailsettings.client (which doesn't have