Question
Using Google Apps OAuth for authentication, how can I retrieve a user's email aliases?
I can't seem to find any API docs on how to do this. What are the necessary scopes and what is the correct call to get that info?
Why
Let's say I have a user Alice that invites [email protected]
to use the app. Unfortunately, [email protected]
is actually an alias for [email protected]
. When Bob logs into the service with Google OAuth, Google tells me his email address is [email protected]
. Now I have accidentally created two accounts for Bob when I want to recognize them as the same account.