front-end for sending email