send mail API by package SMTP