Get users private email address using github app


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 ?

1 Like

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.

Private Email only provides IMAP/POP3 for inbound and SMTP for outbound.
Due to these protocols, access from within an application may have restrictions.

A REST API would be ideal as it is an easier method of communication to work with since it generally operates over HTTP/S requests (i.e. ports 80, 443). Services such as MailChimp and SendGrid have these APIs to help applications and programs send emails.