Fixed problem with the sendmail backend in email tests.