Well, essentially you should read up on Outlook interop. A quick
Google will give you a few of the basics and you can map out what you
want to do.
Basically the process is:
Create an Outlook object
Login to Outlook
Create a folder to the Inbox or work through the public folders.
Within each folder, you can set the array of emails mail equal to an
Outlook MailItem object and this will give you access to the .Body of
the email. Attachments are an array, although I found that the built
in Outlook obj could only handle a few types of attachments.
I ended up using a freeware mail object called *Redemption" for complex
document attachments and attachments of attachments.