API2 get user/emails or user/emails/{email} always returns error?

According to the API Docs the user/emails and user/emails/{email}'s return behavior is to always return am error?

Anyways, I’m doing an oauth integration with BB and want to get the authenticated users email (or organization would do) so I can authorize them to use my application. Domain on their email address would be the easiest, but it seems like the API doesn’t support this?

Email has become a bit of a touchy subject with the GDPR changes…
Have you defined email in your OAuth scopes? Bitbucket Cloud REST API scopes
Maybe this is also required, but check the scope first: Guidelines for requesting access to email address

Hope this helps,
Tobias