Better Mailing thread error logging