Jon’s Radio, Indexing and searching Outlook email: I never thought I’d find myself digging around in my Outlook message store, but Mark’s SpamBayes addin — which is written in Python — turns out to be a great Python/MAPI tutorial. Borrowing heavily from his examples, I came up with a script to extract my Outlook mail to a bunch of files that I could feed to a standalone indexer.
Here’s a link to the article from the O’Reilly Network: Using Python, Jython, and Lucene to Search Outlook Email.