add send mail in main