add async sendmail method