add function  of send mail