user model refactoring email