sends email confirmation