Read Delete and send e-mail from Outlook with VB.Net

Introduction
You can create custom Microsoft Office Outlook objects and manipulate those
objects from within Microsoft Office Outlook 2003 or from another application.
You can manipulate Outlook objects by using Microsoft Visual Basic .NET code.
This article tells the ways to perform some common tasks used in Outlook by
using Visual Basic .NET.

Outlook provides a number of objects and methods for taking advantage of its
built-in capabilities. This article include programmatically reading unread
messages from the Inbox, deleteing messages and sending messages.

Read Unread
Messages from the Outlook Inbox

This section describes how to
use the Microsoft Outlook Object Library to retrieve unread messages from the
Outlook Inbox in Visual Basic .NET. One of the methods used in this is the
GetDefaultFolder method. Mailbox folders contain all Outlook built-in and
custom folders. One of the ways to add a reference to a folder in the Mailbox is
to specify one of the enumerations with the GetDefaultFolder method, such as is
the case of this procedure, olFolderInbox representing the Inbox.