I’m looking for a Haskell library that can parse RFC2822 email bodies to extract the content, including attachments.
The only one I see is Text.ParserCombinators.Parsec.Rfc2822 from the hsemail package, but the author warns that it is not entirely up to par.
What about
Codec.MIME.Parsehttp://hackage.haskell.org/package/mime-0.3.3.2?