add sendmail class