fixed error in email sender