Fixed sendmail plugin