> For the complete documentation index, see [llms.txt](https://whitepaper.aitech.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://whitepaper.aitech.io/agentforge/tools/outlook.md).

# outlook

[Microsoft Outlook](https://outlook.office365.com/) is a comprehensive email and calendar platform that helps users manage communications, schedules, and tasks efficiently. As part of Microsoft's productivity suite, Outlook offers robust tools for sending and organizing emails, coordinating meetings, and integrating seamlessly with Microsoft 365 applications — enabling individuals and teams to stay organized and connected across devices.

With Microsoft Outlook, you can:

* **Send and receive emails**: Communicate clearly and professionally with individuals or distribution lists
* **Manage calendars and events**: Schedule meetings, set reminders, and view availability
* **Organize your inbox**: Use folders, categories, and rules to keep your email streamlined
* **Access contacts and tasks**: Keep track of key people and action items in one place
* **Integrate with Microsoft 365**: Work seamlessly with Word, Excel, Teams, and other Microsoft apps
* **Access across devices**: Use Outlook on desktop, web, and mobile with real-time sync
* **Maintain privacy and security**: Leverage enterprise-grade encryption and compliance controls

In Agent Forge, the Microsoft Outlook integration enables your agents to interact directly with email and calendar data programmatically. This allows for powerful automation scenarios such as sending custom email updates, parsing incoming messages for workflow triggers, creating calendar events, and managing task reminders. By connecting Agent Forge with Microsoft Outlook, you enable intelligent agents to automate communications, streamline scheduling, and maintain visibility into organizational correspondence — all within your workflow ecosystem.

## Usage Instructions

Integrate Outlook functionality to read, draft, and send email messages within your workflow. Automate email communications and process email content using OAuth authentication.

## Tools

### `outlook_send`

Send emails using Outlook

#### Input

| Parameter     | Type   | Required | Description                  |
| ------------- | ------ | -------- | ---------------------------- |
| `accessToken` | string | Yes      | Access token for Outlook API |
| `to`          | string | Yes      | Recipient email address      |
| `subject`     | string | Yes      | Email subject                |
| `body`        | string | Yes      | Email body content           |

#### Output

| Parameter | Type   | Description      |
| --------- | ------ | ---------------- |
| `message` | string | Response message |
| `results` | json   | Email results    |

### `outlook_draft`

Draft emails using Outlook

#### Input

| Parameter     | Type   | Required | Description                  |
| ------------- | ------ | -------- | ---------------------------- |
| `accessToken` | string | Yes      | Access token for Outlook API |
| `to`          | string | Yes      | Recipient email address      |
| `subject`     | string | Yes      | Email subject                |
| `body`        | string | Yes      | Email body content           |

#### Output

| Parameter | Type   | Description      |
| --------- | ------ | ---------------- |
| `message` | string | Response message |
| `results` | json   | Email results    |

### `outlook_read`

Read emails from Outlook

#### Input

| Parameter     | Type   | Required | Description                                                |
| ------------- | ------ | -------- | ---------------------------------------------------------- |
| `accessToken` | string | Yes      | OAuth access token for Outlook                             |
| `folder`      | string | No       | Folder ID to read emails from (default: Inbox)             |
| `maxResults`  | number | No       | Maximum number of emails to retrieve (default: 1, max: 10) |

#### Output

| Parameter | Type   | Description      |
| --------- | ------ | ---------------- |
| `message` | string | Response message |
| `results` | json   | Email results    |

## Notes

* Category: `tools`
* Type: `outlook`


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://whitepaper.aitech.io/agentforge/tools/outlook.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
