add send email mechanism