add send email in schedule