Hi all,
In our app, we try to link the user’s email to our app user’s email.
In some cases, our customers contact us about email issue, telling that, the email we use for their account is not the one they use for Asana.
Sometimes, they don’t even khow why we get that email, as it was linked to someone else in their organization.
After investigation, we found some interesting data, but, still no response, about, what is the “real”, official, email address of one user.
I personnally have an account, which is the result of 5 emails merged.
3 are “direct email+password” (asana sandbox), 1 is gmail auth, and another is google workspace auth.
And, I still can’t reproduce some cases that users have.
Source of email addresses:
- The user use “oauth” process to get its token + refresh. We get an email from that response.
(from https://app.asana.com/-/oauth_token) - Another email is available from API “/users/me”. Can be the same as oauth, or not.
- Also, every workspace the user is member of, can have different email.
We think that it’s the “default communication email”, that the user can choose from the “notifications” tab, in Settings section.
Finally, when we are in the Asana UI, there’s a list all email addresses linked to the user’s account, in “settings / accounts” tab, Manage emails section.
I tried to logout / login using different method, on the same account, to see if the “oauth” and “users/me” response gives me different emails, but I always got the same.
I suppose that, somewhere, I have a “default” email address.
But, I don’t find any config section in asana where I can choose which one is it.
And, for some customers, why do they get different email from “/users/me”, VS “oauth” ?
Finally, is there a way to retrieve all emails listed in the settings/account section, from the API?
Thank you all.