Get users private email address using github app

hi,

I have github app that has permissions to manage users email address.
I’m trying to fetch users data and get the user’s private email with no success.

there is any way to get the users private email using github app ?
Thanks.

Hi @naortalmor1 :wave:

I am not quite clear on the use case here. Your app can perform actions on behalf of the user. Please see our Web application flow information.

https://docs.github.com/en/developers/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps