Added sendmail type