Generate email confirmation token and send email to the user