How to display the user email on account pages? On the user account page all feilds are displayed except for the email. I have tried to modify the user-profile.tpl, and added 

print $user-&gt;mail


but it displays the logged in user and not the account being displayed. Not a big problem since the end users usually only see their own account bit frustrating for admins. I also tried 

print render($user_profile['mail']);


but that displays nothing.
You can implement the following hook in the template.php of your theme:

/**
 * Process variables for user-profile.tpl.php.
 *
 * The $variables array contains the following arguments:
 * - $account
 *
 * @see user-profile.tpl.php
 */

function YOUR_THEME_preprocess_user_profile(&amp;$variables) {
  $account = $variables['elements']['#account'];
  //Add mail to $user_profile variable
  $variables['user_profile']['mail'] = $account-&gt;mail;
  // Preprocess fields.
  field_attach_preprocess('user', $account, $variables['elements'], $variables);
}


And in your user-profile.tpl you can use:

print $user_profile['mail'];