changed email to be sent