I am trying to send confirmation emails to the user using flask when the user submits a form on a contact page.