Send e-mails transactionally (originally cloned from zope.sendmail)