Oauth email scope not allowed

I get token following https://developers.google.com/identity/protocols/oauth2/limited-input-device
but the https://mail.google.com scope not allowed.
How to get token following https://developers.google.com/identity/protocols/oauth2/limited-input-device and add https://mail.google.com scope to the token

I think you’re asking your question in the wrong forum. This forum is dedicated to Apigee. You may want to ask in the Security forum.