Boy... there's a lot of stuff in there for me to learn. Thanks a lot!
However... I don't see where you set which Inbox you're pointing $outlook to. I guess you've reached your main Inbox - I'm trying to read messages from my Archive (which used to be 'Archive/Inbox', but that name doesn't work anymore).
Do you know how we could access the Archive mailbox?