Add header "User-Agent" and retrieve verified email from github

Github add requirement, that all requests should contain user-agent header. Also Github API returns Public email, which can be empty and not verified.

This pull request do the following:
— add User-Agent header
— Make one extra API call /user/emails to retrieve valid email