邮箱OAuth2授权

选择您需要授权的邮箱服务商,获取access_token

Gmail
可用
Google邮箱服务

授权范围:

https://www.googleapis.com/auth/gmail.readonly
https://www.googleapis.com/auth/userinfo.email
Outlook
即将推出
Microsoft邮箱服务

授权范围:

https://graph.microsoft.com/mail.read
https://graph.microsoft.com/user.read
Yahoo Mail
即将推出
Yahoo邮箱服务

授权范围:

mail-r
profile
iCloud Mail
即将推出
Apple邮箱服务

授权范围:

mail
profile
获取到的Access Token示例
授权成功后,您将获得类似下面的access_token
access_token:
ya29.a0AfH6SMC7X8QZ9K2L3M4N5O6P7Q8R9S0T1U2V3W4X5Y6