remove DBI
eliminate some direct SQL in the sendmail.pl script