Thanks,
I really don't want to make an IMAP connection to the server. I'd rather do this on at the filesystem. I'll look into the IMAPClient module. I have a feeling that you're right in saying the way to check for new messages is with an IMAP connection.
Thanks again,
chrisj