send emails and reset password