Hi, I'm reviving this old bug report because I think I have made some progress. Here is a new patch that tries to send mail asynchronously. This seems to work for me but, of course, it needs testing, testing and even more testing.