Configure new endpoint (/send_email) to send email