Improved report mailing error handling.