Simplify gravatar integration to a simple function