sending emails: fix problem, now we can continue after a failure