You should have a peek at what my former coworker William is doing with Heliotrope. Pretty nice email client that supports threading with incredibly fast searching. It's not exactly what you're looking for and it's still pretty raw, you have to be familiar with the command line, but it has a lot of potential. https://github.com/wmorgan/heliotrope