add-outlooklisted
Install: claude install-skill sliamh11/Deus
# Add Outlook Integration
> **Status:** Available in-repo as `packages/mcp-outlook/` (`@deus-ai/outlook-mcp`). The published npm package is not out yet, so the channel factory falls back to the in-repo build at `packages/mcp-outlook/dist/index.js` — you just build it locally (below).
Outlook is the email-channel analog of Gmail, built on the **Microsoft Graph
API**. It polls the inbox for unread mail, forwards each conversation to the
agent, and replies in-thread. It also exposes tools (read, send, search, draft).
## Phase 1: Pre-flight
### Ask the user
Use `AskUserQuestion`:
AskUserQuestion: Should incoming emails be able to trigger the agent?
- **Yes** — Full channel mode: the agent listens on the Outlook inbox and
responds to incoming emails automatically.
- **No** — Tool-only: the agent gets full Outlook tools (read, send, search,
draft) but won't monitor the inbox. No channel code is added.
## Phase 2: Setup
### Azure AD app registration
Tell the user:
> I need you to register an Azure AD application for Microsoft Graph:
>
> 1. Open https://portal.azure.com → **Microsoft Entra ID** → **App
> registrations** → **New registration**. Copy the **Application (client) ID**
> and **Directory (tenant) ID**.
> 2. Go to **API permissions** → **Add a permission** → **Microsoft Graph** →
> **Delegated permissions**, and add: `Mail.Read`, `Mail.Send`,
> `Mail.ReadWrite`, `offline_access`, `User.Read`. Click **Grant admin
> consent** (or have a tenant adm