Hello,
I am specialist on this kind of scripting / automation problem solving stuff.
I have already your software program ready to go, I work in this way: first I get solved your needs then I bid.
So you don't need to wait 3 days. I can just send it to you.
It works in this way. You select the Smart Mailbox to extract in the mail application, shows estimated running time for the case you have high quantity of mails to process, then delivers a text file on documents folder sorted and without repeated email addresses.
Just let me know
Kind Regards.
Diego