email is sent to the user when a form is submitted