Mark Logic has published an XQuery based site for interacting with email archives. According to Jason Hunter, "Each email is stored internally as an XML document and accessed using XQuery. All searches, faceted navigation, analytic calculations, and HTML page renderings are performed on a single MarkLogic Server machine." They're currently indexing 500 or so Apache mailing lists, jdom-interest, and xml-dev, among others.