sending email and testing sending email