add confirmation and modify email template