Get email address via github API v3

It couldn't get email address since Github API was upgraded. This patch is using the latest version of API Github provided to get user's emaill address.