Use the Github API v3 because the email call has changed.
See https://developer.github.com/v3/users/emails/#list-email-addresses-for-a-user

Get the first verified email, otherwise the useremail will be a not verified empty string.