add sendemail function
the xsendmail use ssmtp.