tried to set up sending email confirmation