in reply to The Lego approach

You may want to look at Simon Cozens' Mail::Audit::Miner. It's not very well documented but its the same idea of mining your e-mail. Take a look at this journal entry of his that I happened to read awhile ago.

-biz-