add sendEmail to enroll