If you are using *nix OS, why don't you try metamail utility to pass email through before running your parser? This programm parses email to plain human-readable text without technical info and special control symbols. As far as i remember it supports MIME parsing also.
Re: How to parse emails with and without attachments?
Replies are listed 'Best First'.