What is the Google API that will allow me to interact with Admin Gmail Advanced settings?
Right now, I'm interested in editing the Recipient address map.
In the Google Admin site, it's located at
Apps > G Suite > Settings for Gmail > Advanced settings > General Settings > Recipient address map
Gmail general settings are no more reachable from the Gmail API. In the Email Settings API migration guide it is typed «General settings are no longer available via the API». You could create an Issue Tracker feature request about mapping incoming mail addresses.
Related
Service accounts cannot invite attendees without Domain-Wide Delegation of Authority
I see the error and searched lot but no solution was useful for me and I still see the error.
I don't have any issue on creating an event with service account but can't invite any user
I already added my client id in the Security > Access and data control > API Controls.
In the Domain wide delegation pane, Manage Domain Wide Delegation.
No changes I see
I already followed these steps and no changes applied.
From your Google Workspace domain’s Admin console, go to Main menu menu > Security > Access and data control > API Controls.
In the Domain wide delegation pane, select Manage Domain Wide Delegation.
Click Add new.
In the Client ID field, enter the service account’s Client ID. You can find your service account’s client ID in the Service accounts page.
In the OAuth scopes (comma-delimited) field, enter the list of scopes that your application should be granted access to. For example, if your application needs domain-wide full access to the Google Calendar API, enter:
https://www.googleapis.com/auth/calendar
Click Authorize.
I am trying to enable Gmail API following steps in Java Quickstart. When I click on "Enable the Gmail API" button in the Google developer console, no option like "Download Client Configuration" is displayed.
So, I am unable to get credentials.json File.
Gmail API credentials are restricted to enhance apps security. To enable the credentials click on API Console after clicking on Enable the Gmail API. You will travel to a filled form on the Credentials menu on Google APIs. You can change there the name and/or restrictions to better suit your project. Finally, you can click on Generate key to finish the process.
If you have followed the steps so far, you would have created the Gmail API credentials. To achieve your request you will need to click on Download JSON button on the right side of your newly created credentials. Do not hesitate to ask for more information if I haven't explained the process with enough detail.
Just enabling the Gmail api isnt going to create client credential for you. Unfortunately the developer console changes more often then the quick starts get updated so it can be difficult to understand.
Go to the https://console.developers.google.com
Find the credentials tab on the left and click the Create credentials button
You are probably going to be looking for an oauth client id, as service accounts only work with gmail if you are connecting to a gsuite account.
Does anybody know how to programmatically (headless in Objective-C/C++, NOT by using NSAccessibility, AppleScript or any other technology accessing the UI) add a CalDAV account to the macOS system?
Manually this ca be done in System Preferences > Internet Accounts > Add an account > Add Other Account... > CalDAV account.
So far I have only found the Accounts framework, but there are no constants or any other hints how to add/create a CalDAV account.
Regards,
Dominik
At this point there is no API for doing this, but you may be able to add the account using a so called "configuration profile".
To read more about this: Configuration Profile Reference
is there and api to add an pop3 account to a gmail account .. i did get a link to the api to enable and disable the pop setting api Pop Settings link. but could not find the api to add an account from which i need to do a po
There is no API currently that provides this capability. As you stated, only changing the POP access settings to the account can be done with the current APIs.
Is it possible to read or set the recovery email address in Gmail programmatically?
For example via OAuth.
I need to do this for a web app in Ruby on Rails.
Yes, you can do it via web page requests, using a gem e.g. mechanize or system tool e.g. curl.
https://support.google.com/mail/bin/answer.py?hl=en&answer=6566
As far as I know, there's no API way to change it for a normal gmail user.
Google Apps users may have additional capabilities, and so do Google Apps admins, and if you're able to use these then read about admins and provisioning here:
https://developers.google.com/google-apps/email-settings/?hl=en
Retrieving the domain administrator's secondary email address is possible via HTTP:
http://code.google.com/apis/apps/admin_settings/docs/1.0/admin_settings_developers_guide_protocol.html#RetrievingAdminSecondEmail
So is changing the domain administrator's secondary email address; see the same link above.