Lot of time you need to connect to people personally but you do not actually know their emailid. GitHub is a social coding platform where you can get email id’s of the active programmers who have submitted their code to repo’s. This information is actually publically available because with the user commits the email id also gets passed to the repo along with the code.
I hope this technique is used in a positive way rather than being misused.
Replace the yssharma with the user id of the person whose email id you want to extract.
You would receive a JSON with public activity of the user. Search for the email field in the JSON (Ctrl + F) and there your email is. Voila !!
Thats all for this post. Hope it was helpful.