I am trying to customize the user-profile.tpl.php file.
I can access the all custom fields using $user_profile['field_fieldname']
, and I can even access the user picture using $user_profile['user_picture']
, but I don't know how to get the user email.