fixing user emailing process