how to automatic send email confirmation number