fixing the email address in sendmail function