Anurag
Anurag

Reputation: 87

Doubts on using oauth tokens for Gmail APIs

I am accessing Gmail IMAP and SMTP servers using oauth 2.0 token with just this one scope 'https://mail.google.com/'. Is this scope enough to access all the Gmail APIs?

Thanks,
Anurag

Upvotes: 0

Views: 95

Answers (1)

SGC
SGC

Reputation: 1035

Authorization scopes are permissions you request users to authorize for your app. When https://mail.google.com/ scope is used, it gives full access to the account(users), including permanent deletion of threads and messages. Here is the link for documentation on the gmail scopes.

Upvotes: 2

Related Questions