Email not printable

I process my incoming email via a Mendix app. Created a document template to print the e-mail, the message field has property 'Render XHTML' set to True. Some emails can not be printed because of 'Error processing XHTML'. Reasons differ: - An attribute node (height) cannot be created after a child of the containing element. Most recent element start tag was output at line 660 of module inlinexhtml2fo.xsl; - Property ID "AppleMailSignature" (found on "fo:block") previously used; ID values must be unique within a document! (See position 150:101); - others. Is there a way to print these e-mails in a document template even if there are these kinds of inline errors?
1 answers

You probably need some tool like to do this.