How to add View your email addresses to GitHub app

how to get primary email address of user?