avoid treatment of attachment part with text/plain content as message body and add exception handling for binary attachment badly attached as text content