When you don't have HTML selected on overdues the notices that are sent to the library as an attachment have <pre> tags in them. This is causing issues with some mail filters that see HTML in the notice but a TXT extension. If you don't want HTML for your notices you should only have text in them - no coding.
*** This bug has been marked as a duplicate of bug 14347 ***