The MailItem class contains the methods and properties you use to perform tasks with e-mail messages.
| Task | Procedure | 
|---|---|
| Create an e-mail message. | |
| Send an e-mail message. | |
| Respond to new e-mail messages with a custom action. | How to: Programmatically Perform Actions When an E-Mail Message Is Received | 
| Save attachments. | How to: Programmatically Save Attachments from Outlook E-Mail Items | 
| Add attachments | How to: Programmatically Attach Files to Outlook E-Mail Items | 
| Iterate through all unread messages. | How to: Programmatically Retrieve Unread Messages from the Inbox | 
For more information about Outlook tasks and the Outlook object model, see Outlook Object Model Overview.