Set email and locale for email function for user.