# Outlook — how to use (mcp.ai)

Outlook in natural language: read, search, send and organize emails, folders and contacts, and view or create calendar events. Works with personal accounts (outlook.com, hotmail, live) and with company Microsoft 365. The platform provides the OAuth app, just click Connect and pick your Microsoft account. Multiple accounts can be connected to the same MCP.

## Option A — via MCP (recommended)
Remote MCP endpoint (HTTP, streamable): `https://api.mcp.ai/p_outlook?ms=1796396520000`
Add it as a custom/remote MCP connector in your client (Claude, Cursor, VS Code…), then authenticate when prompted. Once connected, ask the agent to use the server's tools (e.g. `outlook_add_event_attachment`).

## Option B — via direct REST API
Base URL: `https://api.mcp.ai/api/outlook`
Auth: `Authorization: Bearer sk_live_…` — create a workspace API key at https://new.mcp.ai/settings/api-keys
Discover endpoints: `GET https://api.mcp.ai/api/outlook/_endpoints`

### Endpoints
- `POST https://api.mcp.ai/api/outlook/add/event/attachment` — Adds an attachment to a specific Outlook calendar event. Use when you need to attach a file or nested item to an existing event.
  - body: { item?: object, name: string, event_id: string, odata_type: string, content_bytes?: string }
- `POST https://api.mcp.ai/api/outlook/add/mail/attachment` — Tool to add an attachment to an email message. Use when you have a message ID and need to attach a small (<3 MB) file or reference.
  - body: { item?: object, name?: string, isInline?: boolean, contentId?: string, attachment?: object, message_id: string, odata_type?: string, contentType?: string, contentBytes?: string, contentLocation?: string }
- `POST https://api.mcp.ai/api/outlook/calendar/create/event` — Creates a new Outlook calendar event, ensuring `start_datetime` is chronologically before `end_datetime`.
  - body: { body?: string, is_html?: boolean, show_as?: string, subject: string, location?: string, time_zone: string, categories?: string[], importance?: string, recurrence?: object, calendar_id?: string, end_datetime: string, attendees_info?: object[], start_datetime: string, is_online_meeting?: boolean, online_meeting_provider?: string }
- `POST https://api.mcp.ai/api/outlook/create/calendar` — Tool to create a new calendar in the signed-in user's mailbox. Use when organizing events into a separate calendar.
  - body: { name: string, color?: string, hex_color?: string }
- `POST https://api.mcp.ai/api/outlook/create/contact` — Creates a new contact in a Microsoft Outlook user's contacts folder.
  - body: { notes?: string, userId?: string, surname?: string, birthday?: string, jobTitle?: string, givenName?: string, homePhone?: string, categories?: string[], department?: string, companyName?: string, displayName?: string, mobilePhone?: string, businessPhones?: string[], emailAddresses?: object[], officeLocation?: string }
- `POST https://api.mcp.ai/api/outlook/create/contact/folder` — Tool to create a new contact folder in the user's mailbox. Use when needing to organize contacts into custom folders.
  - body: { display_name: string, parent_folder_id?: string }
- `POST https://api.mcp.ai/api/outlook/create/draft` — Creates a new Outlook email draft with subject, body, recipients, and an optional attachment. This action creates a standalone draft for new conversations. To create a draft reply to an existing conve
  - body: { body: string, is_html?: boolean, subject: string, attachment?: object|object[], cc_recipients?: string[], to_recipients?: string[], bcc_recipients?: string[] }
- `POST https://api.mcp.ai/api/outlook/create/draft/reply` — Creates a draft reply in the specified user's Outlook mailbox to an existing message (identified by a valid `message_id`), optionally including a `comment` and CC/BCC recipients.
  - body: { comment?: string, cc_emails?: string[], bcc_emails?: string[], message_id: string }
- `POST https://api.mcp.ai/api/outlook/create/email/rule` — Create email rule filter with conditions and actions
  - body: { actions: object, sequence?: integer, conditions: object, is_enabled?: boolean, display_name: string }
- `POST https://api.mcp.ai/api/outlook/create/mail/folder` — Tool to create a new mail folder. Use when you need to organize email into a new folder.
  - body: { is_hidden?: boolean, display_name: string, return_existing_if_exists?: boolean }
- `POST https://api.mcp.ai/api/outlook/create/user/master/category` — Tool to create a new category in a user's master category list. Use when you need to add a category to organize email and calendar items for a specific user.
  - body: { color?: string, display_name: string }
- `POST https://api.mcp.ai/api/outlook/delete/calendar/event` — Tool to delete a calendar event from a user's Outlook calendar. Use when removing events that are no longer needed or were created in error.
  - body: { event_id: string }
- `POST https://api.mcp.ai/api/outlook/delete/contact` — Permanently deletes an existing contact, using its `contact_id` (obtainable via 'List User Contacts' or 'Get Contact'), from the Outlook contacts of the user specified by `user_id`.
  - body: { contact_id: string }
- `POST https://api.mcp.ai/api/outlook/delete/mail/folder` — Delete a mail folder from the user's mailbox. Use when you need to remove an existing mail folder.
  - body: { folder_id: string }
- `POST https://api.mcp.ai/api/outlook/download/outlook/attachment` — Downloads a specific file attachment from an email message in a Microsoft Outlook mailbox; the attachment must contain 'contentBytes' (binary data) and not be a link or embedded item. High-volume para
  - body: { file_name: string, message_id: string, attachment_id: string }
- `POST https://api.mcp.ai/api/outlook/get/contact/folders` — Tool to retrieve contact folders from a specific user's mailbox. Use when you need to list or browse contact folders for a given user.
  - body: { top?: integer, skip?: integer, expand?: string[], filter?: string, select?: string[], orderby?: string[], user_id: string, page_token?: string }
- `POST https://api.mcp.ai/api/outlook/get/event` — Retrieves the full details of a specific calendar event by its ID from a user's Outlook calendar, provided the event exists.
  - body: { event_id: string, include_sensitivity_label?: boolean }
- `POST https://api.mcp.ai/api/outlook/get/mail/delta` — Retrieve incremental changes (delta) of messages in a mailbox. FIRST RUN: Returns ALL messages in folder (use top=50 to limit). Response has @odata.deltaLink. SUBSEQUENT: Pass stored deltaLink to get 
  - body: { top?: integer, expand?: string[], select?: string[], folder_id?: string, skip_token?: string, delta_token?: string, include_sensitivity_label?: boolean }
- `POST https://api.mcp.ai/api/outlook/get/mail/tips` — Tool to retrieve mail tips such as automatic replies and mailbox full status. Use when you need to check recipient status before sending mail.
  - body: { EmailAddresses: string[], MailTipsOptions: string[] }
- `POST https://api.mcp.ai/api/outlook/get/mailbox/settings` — Tool to retrieve mailbox settings. Use when you need to view settings such as automatic replies, time zone, and working hours for the signed-in or specified user.
  - body: { select?: string[] }
- `POST https://api.mcp.ai/api/outlook/get/master/categories` — Tool to retrieve the user's master category list. Use when you need to get all categories defined for the user.
  - body: { top?: integer, skip?: integer, filter?: string, select?: string[], orderby?: string[] }
- `POST https://api.mcp.ai/api/outlook/get/me/contacts` — Retrieves a specific Outlook contact by its `contact_id` from the contacts of a specified `user_id` (defaults to 'me' for the authenticated user).
  - body: { contact_id: string }
- `POST https://api.mcp.ai/api/outlook/get/message` — Retrieves a specific email message by its ID from the specified user's Outlook mailbox. Use the 'select' parameter to include specific fields like 'internetMessageHeaders' for filtering automated emai
  - body: { select?: string[], message_id: string, include_sensitivity_label?: boolean }
- `POST https://api.mcp.ai/api/outlook/get/profile` — Retrieves the Microsoft Outlook profile for a specified user.
  - body: { include_proxy_addresses?: boolean }
- `POST https://api.mcp.ai/api/outlook/get/schedule` — Retrieves free/busy schedule information for specified email addresses within a defined time window. Read-only; does not reserve time or prevent conflicts — verify availability before creating events.
  - body: { userId?: string, endTime: object, schedules: string[], startTime: object, availabilityViewInterval?: string }
- `POST https://api.mcp.ai/api/outlook/get/supported/languages` — Tool to retrieve supported languages in the user's mailbox. Use when you need to display or select from available mailbox languages.
- `POST https://api.mcp.ai/api/outlook/get/supported/time/zones` — Tool to get the list of time zones supported for a user as configured on their mailbox server. Use when setting up an Outlook client or configuring user time zone preferences.
  - body: { TimeZoneStandard?: string }
- `POST https://api.mcp.ai/api/outlook/list/calendars` — Tool to list calendars in the signed-in user's mailbox. Use when you need to retrieve calendars with optional OData queries.
  - body: { top?: integer, skip?: integer, filter?: string, select?: string[], orderby?: string[], page_token?: string }
- `POST https://api.mcp.ai/api/outlook/list/event/attachments` — Tool to list attachments for a specific Outlook calendar event. Use when you have an event ID and need to view its attachments.
  - body: { top?: integer, skip?: integer, filter?: string, select?: string[], orderby?: string[], event_id: string }
- `POST https://api.mcp.ai/api/outlook/list/events` — Retrieves events from a user's Outlook calendar via Microsoft Graph API. Supports primary/secondary/shared calendars, pagination, filtering, property selection, sorting, and timezone specification. Us
  - body: { top?: integer, skip?: integer, filter?: string, select?: string[], orderby?: string[], timezone?: string, page_token?: string, calendar_id?: string, expand_recurring_events?: boolean, include_sensitivity_label?: boolean }
- `POST https://api.mcp.ai/api/outlook/list/mail/folders` — Tool to list a user's top-level mail folders. Use when you need folders like Inbox, Drafts, Sent Items; set include_hidden_folders=True to include hidden folders.
  - body: { top?: integer, skip?: integer, count?: boolean, filter?: string, select?: string, orderby?: string, page_token?: string, include_hidden_folders?: boolean }
- `POST https://api.mcp.ai/api/outlook/list/messages` — Retrieves a list of email messages from a specified mail folder in an Outlook mailbox, with options for filtering (including by conversationId to get all messages in a thread), pagination, and sorting
  - body: { top?: integer, skip?: integer, folder?: string, search?: string, select?: string[], is_read?: boolean, orderby?: string[], subject?: string, categories?: string[], importance?: string, page_token?: string, from_address?: string, conversation_id?: string, has_attachments?: boolean, response_detail?: string, subject_contains?: string, subject_endswith?: string, sent_date_time_gt?: string, sent_date_time_lt?: string, subject_startswith?: string, received_date_time_ge?: string, received_date_time_gt?: string, received_date_time_le?: string, received_date_time_lt?: string, include_sensitivity_label?: boolean }
- `POST https://api.mcp.ai/api/outlook/list/outlook/attachments` — Lists metadata (name, size, contentType, isInline — but not `contentBytes`) for all attachments of a specified Outlook email message. Returns fileAttachment, itemAttachment, and referenceAttachment ty
  - body: { message_id: string, response_detail?: string }
- `POST https://api.mcp.ai/api/outlook/list/reminders` — Tool to retrieve reminders for events occurring within a specified time range. Use when you need to see upcoming reminders between two datetimes.
  - body: { userId?: string, endDateTime: string, startDateTime: string }
- `POST https://api.mcp.ai/api/outlook/list/user/contacts` — Tool to retrieve contacts from a specific user's mailbox. Use when you need to list or browse contacts for a given user.
  - body: { top?: integer, skip?: integer, count?: boolean, expand?: string[], filter?: string, select?: string[], orderby?: string[], user_id: string, page_token?: string }
- `POST https://api.mcp.ai/api/outlook/move/message` — Move a message to another folder within the specified user's mailbox. Creates a new copy in the destination folder and removes the original. The message_id changes after a successful move; use the ID 
  - body: { message_id: string, destination_id: string }
- `POST https://api.mcp.ai/api/outlook/reply/email` — Sends a reply to an Outlook email message with optional HTML formatting, attachments, CC, and BCC recipients.
  - body: { comment: string, is_html?: boolean, cc_emails?: string[], attachment?: object|object[], bcc_emails?: string[], message_id: string }
- `POST https://api.mcp.ai/api/outlook/search/messages` — Search Outlook messages using powerful KQL syntax. Supports sender (from:), recipient (to:, cc:), subject, date filters (received:, sent:), attachments, and boolean logic. Only works with Microsoft 36
  - body: { size?: integer, query?: string, region?: string, subject?: string, fromEmail?: string, from_index?: integer, hasAttachments?: boolean, enable_top_results?: boolean, include_sensitivity_label?: boolean }
- `POST https://api.mcp.ai/api/outlook/send/email` — Sends an email with subject, body, recipients, and optional attachments via Microsoft Graph API. Supports comma-separated email addresses in the to_email field for multiple recipients. Accepts either 
  - body: { to: string, body: string, is_html?: boolean, subject: string, to_name?: string, cc_emails?: string[], attachment?: object|object[], bcc_emails?: string[], from_address?: string, save_to_sent_items?: boolean }
- `POST https://api.mcp.ai/api/outlook/update/calendar/event` — Updates specified fields of an existing Outlook calendar event. Implementation note: To avoid unintentionally clearing properties, the action first fetches the existing event, merges only the provided
  - body: { body?: object, show_as?: string, subject?: string, event_id: string, location?: string|object, attendees?: object[], time_zone?: string, categories?: string[], recurrence?: object, end_datetime?: string, start_datetime?: string }
- `POST https://api.mcp.ai/api/outlook/update/contact` — Updates an existing Outlook contact, identified by `contact_id` for the specified `user_id`, requiring at least one other field to be modified.
  - body: { notes?: string, surname?: string, birthday?: string, job_title?: string, categories?: string[], contact_id: string, department?: string, given_name?: string, home_phones?: string[], company_name?: string, display_name?: string, mobile_phone?: string, business_phones?: string[], email_addresses?: object[], office_location?: string }
- `POST https://api.mcp.ai/api/outlook/update/email` — Updates specified properties of an existing email message; `message_id` must identify a valid message within the specified `user_id`'s mailbox.
  - body: { From?: object, body?: object, flag?: object, sender?: object, is_read?: boolean, subject?: string, reply_to?: object[], categories?: string[], importance?: string, message_id: string, cc_recipients?: object[], to_recipients?: object[], bcc_recipients?: object[], internet_message_id?: string, inference_classification?: string, is_read_receipt_requested?: boolean, is_delivery_receipt_requested?: boolean }
- `POST https://api.mcp.ai/api/outlook/update/mailbox/settings` — Tool to update mailbox settings for the signed-in user. Use when you need to configure automatic replies, default time zone, language, or working hours. Example: schedule automatic replies for vacatio
  - body: { language?: object, time_zone?: string, working_hours?: object, automatic_replies_setting?: object }

## Example prompts
- "Summarize my 10 most recent unread Outlook emails"
- "Search last month's emails about invoices and list subject + sender"
- "What meetings do I have on my calendar this week?"

## More
- Page: https://new.mcp.ai/outlook
- Agent spec (llms.txt): https://new.mcp.ai/outlook/llms.txt
- Postman collection: https://new.mcp.ai/outlook/postman.json
