add send email flag