add send email handler