You must lowercase the email for gravatar to work.

https://en.gravatar.com/site/implement/hash/