ParishSynthMind

Microsoft Graph AI Inbox Assistant — AI skill for Claude Code

AI community

Claude reads new Outlook mail via Microsoft Graph, logs requests to an Excel Online table, files attachments to OneDrive/SharePoint, books tentative calendar holds and drafts replies.

How to install Microsoft Graph AI Inbox Assistant

This entry records only its repository, not the path inside it, so there is no exact command to give. Open ParishSynthMind/microsoft-graph-ai-inbox-assistant and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Microsoft Graph AI Inbox Assistant does

Claude reads new Outlook mail via Microsoft Graph, logs requests to an Excel Online table, files attachments to OneDrive/SharePoint, books tentative calendar holds and drafts replies. MSAL device code or client credentials.

Alternatives in AI

  • Agent Rules Books — AGENTS.md rules / skills for AI coding agents: Codex, Cursor & Claude Code 2.6k ★
  • MCP Server Excel — Automate real Microsoft Excel with AI via MCP Server or CLI — Power Query, DAX, VBA, PivotTables, and charts 961 ★
  • Table Skills — 自用 AI Skills 合集:项目交接与网页替身,让长任务接续更清楚,让独立重任务交给网页 ChatGPT 512 ★

README

Microsoft Graph AI Inbox Assistant

[![tests](https://github.com/ParishSynthMind/microsoft-graph-ai-inbox-assistant/actions/workflows/tests.yml/badge.svg)](https://github.com/ParishSynthMind/microsoft-graph-ai-inbox-assistant/actions/workflows/tests.yml)

An assistant that works through Microsoft 365 for you. It reads new **Outlook** mail through the **Microsoft Graph API**, has Claude work out what each sender is asking for, and then:

  • logs the request as a row in an Excel Online table (in OneDrive or a SharePoint library),
  • saves any attachments into a dated folder in OneDrive or SharePoint,
  • if they asked to meet, finds a free slot in your Outlook calendar and puts a tentative hold in it,
  • writes a reply proposing that slot into Drafts for a person to check and send,
  • tags the email in Outlook (AI logged, AI check or AI skipped) so you can see what it did.

**What it proves:** a working Graph integration end to end, **run live on a real Microsoft account on 8 November 2026** (Entra ID app registration, MSAL sign-in, Mail, Calendar, Files and the Excel workbook API), with the things that bite in real use handled: throttling, paging, delta queries, large-file uploads, safe re-runs and prompt injection in emails.

![The real Excel Online table after the live run](media/live-excel-online.png)

*Excel Online on a real Microsoft account, 8 November 2026: the rows the assistant wrote through Microsoft Graph after Claude Sonnet 5.5 read the Inbox. The full live run is in [Live test](#live-test).*

How it works

flowchart LR
    O[Outlook Inbox] -->|delta query| A[assistant]
    A -->|already handled?| S{state, category,
Excel Message ID} S -->|new| C[Claude: type, who,
summary, priority, due,
meeting wanted / when] C --> K[checks against
the email text] K -->|attachments| F[OneDrive / SharePoint
Attachments/2026-11/...] K -->|asked to meet| CAL[calendarView: busy times
-> first free slot<