title: How can I send a user registration confirmation email using Tornado and MongoDB?
body: <p>I'm working with Tornado and MongoDB and I would like to send a confirmation email to the user when he creates an account in my application.</p>
  
  <p>For the moment, I use a simple XHTML page with a form and I send information to my MongoDB database using Tornado. I would like to have an intermediate step which sends an email to the user before inserting the data into the database.</p>
  
  <p>I would like to know how could I send this email and insert the user account only after the user receives the email and confirms his registration.</p>