compatibility with Fooman_EmailAttachments