travis-ci/travis-ci — Issue #423: User gravatar-id from github for gravatar when no user email given.
Author: KL-7
Created: 2012-02-19 20:19:58+00:00
State: open
Labels: frontend

When user has no public email configured in his github profile travis-ci doesn't receive any email in OAuth payload. That leads to using default silhouette image as user's avatar. At the same time Github API always [provides](http://developer.github.com/v3/users/) `gravatar-id` field (same md5 hash of user's email that might not be public) that can be used to display correct gravatar.

I'm going to work on that, but I'm not sure when is the right moment to issue an API call to fetch that information. The easiest choice is right when the user is created, but it'll slow down user registration process. Is that ok? Is there any better solution?