add sendMail script.