Mime4J provides a parser, MimeStreamParser, for e-mail message streams in plain rfc822 and MIME format.