email confirmation sending and confirming