set up routes for sending the email