How can I setup an email to be sent when a submit button is clicked?