Outlook automation uses the Outlook object model. Open the Outlook VBA
project (Alt+F11) and use the Object Browser to see what methods,
properties and events are available there. Also start looking at http://www.slipstick.com/dev/index.htm for more information about
Outlook programming.