问题
Apologies if this is covered elsewhere and I have missed it.
Google's Email Settings API is deprecated and set to be turned off on July 7, 2017.
With this date looming, I have started investigating migrating our local delegated account management web application to the new API. As you might expect, this applications allows users to list, add and delete delegate access to a Gmail account.
It currently uses the OAuth 2.0 scope of.
https://apps-apis.google.com/a/feeds/emailsettings/2.0/{domain}/{username}/delegation
However, the delegate section of the migration guide, written in July 2016, says:
Delegation settings are not yet available via the API.
The most recent version of the Gmail API I can find is Gmail API v1 (Rev. 62) 1.22.0 which has no obvious support for Delegated accounts.
Ideally I want the application to keep working beyond 7th July. How should I proceed?
回答1:
Joel Solomons of Google replied to my query on Google Cloud Connect (maybe sometimes it pays to cross post?). He said the Gmail API will support delegation in the future. However, this has been pushed out until the end of Q2 2017.
So Google have postponed the deprecation of the Email settings API until November 15th 2017 to compensate.
UPDATE
This has been further delayed until sometime around September 2018
回答2:
Google has updated the Gmail API to support delegation now.
https://developers.google.com/gmail/api/v1/reference/users/settings/delegates
来源:https://stackoverflow.com/questions/42623328/google-gmail-api-delegation-settings