I couldn’t get the widget to work properly (apologies if I am being thick) as it seemed to require admin access to be the back end to be able to display the widget for a specific user. It does have a custom function but I do not know what the custom email code is supposed to be.
Apologies I don’t think I made myself clear in the original post. I need the actual gravatar code so I can place it in a login / registration widget rather than be a separate widget.
I have tried the wordpress codex but none seem to work.