add send confirmation email and template