bugfix: make forgot password work if user.mail is None