Prevent plain text attachments with invalid UTF-8 from breaking mail notifications.