title: _sppagecontext.userEmail does not return email ID for all users. how to configure it in Sharepoint online and 2013
body: <p>_sppagecontext.userEmail does not return email ID for all users.
  for some users _spPageContextInfo.userLoginNam is needed.</p>