added email confirmation,
added email sending in production