Skip to content
Skills Library
Documents & office · Tool integration

outlook

/outlook

Microsoft 365 Outlook mail and calendar through Microsoft Graph - read and search the inbox, draft, reply and send, attachments, categories and folders, calendar events, invitations and free/busy. Use for "check my email", "draft an email", "reply to", "my Outlook calendar", "am I free", "book a meeting", "Microsoft 365 mail". Not for Gmail or Google Calendar, and not for PST files (use outlook-to-md).

Licence
MIT
Last repository change
03.10.2026

Assessment and security

100/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
21
Scripts
18
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 03.10.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What to check before installing
  • 18 scripts in this package. Review them before installing, as Claude may execute them.

Scripts: scripts/lib/graph.sh, scripts/outlook-calendar.sh, scripts/outlook-mail.sh, scripts/outlook-setup.sh, scripts/outlook-token.sh, tests/calendar_test.sh, tests/chain_marker_live.sh, tests/chain_marker_test.sh, tests/docs_test.sh, tests/graph_test.sh, tests/helpers_test.sh, tests/mail_test.sh, tests/move_id_live.sh, tests/move_id_test.sh, tests/send_gap_test.sh, tests/send_gate_test.sh, tests/setup_t

What it does and when to use it

Microsoft 365 Outlook mail and calendar through Microsoft Graph - read and search the inbox, draft, reply and send, attachments, categories and folders, calendar events, invitations and free/busy. Use for "check my email", "draft an email", "reply to", "my Outlook calendar", "am I free", "book a meeting", "Microsoft 365 mail". Not for Gmail or Google Calendar, and not for PST files (use outlook-to-md).

Triggers from the description

check my emaildraft an emailreply tomy Outlook calendaram I freebook a meetingMicrosoft 365 mail
Original author description

Microsoft 365 Outlook mail and calendar through Microsoft Graph - read and search the inbox, draft, reply and send, attachments, categories and folders, calendar events, invitations and free/busy. Use for "check my email", "draft an email", "reply to", "my Outlook calendar", "am I free", "book a meeting", "Microsoft 365 mail". Not for Gmail or Google Calendar, and not for PST files (use outlook-to-md).

How it works

  1. Rules
  2. Command index
Original SKILL.md headings · 102 lines, 943 words
SKILL.md preview
---
name: outlook
description: Microsoft 365 Outlook mail and calendar through Microsoft Graph - read and search the inbox, draft, reply and send, attachments, categories and folders, calendar events, invitations and free/busy. Use for "check my email", "draft an email", "reply to", "my Outlook calendar", "am I free", "book a meeting", "Microsoft 365 mail". Not for Gmail or Google Calendar, and not for PST files (use outlook-to-md).
---

# outlook

Microsoft 365 Outlook mail and calendar through the Microsoft Graph API. Two scripts do the
work: `${CLAUDE_SKILL_DIR}/scripts/outlook-mail.sh` and
`${CLAUDE_SKILL_DIR}/scripts/outlook-calendar.sh`. The index below has every command. For the
exact arguments and behaviour, read `references/commands.md`.

## Rules

**1. Draft, show, then send.** Every mail command makes a draft; only `send` sends. Show the
user the draft (From, To, Cc, Bcc, subject, body, attachments) and wait for an explicit "send
it" before running `send`. The same goes for invitations: `create` an event with no attendees,
show the user the event and the attendee list, and run `invite` only after they approve.

**2. Replies go to everyone.** `reply`, `mdreply` and `followup` are reply-all: every original To
and Cc recipient is on the draft. Read the original's full To and Cc before replying, and check
the recipients the draft prints. People Cc assistants and colleagues; dropping them is a real
harm. For a reply to the sender only, trim the draft with `update to` and `update cc ""`.

**3. Read the whole message.** `preview` is a 200-character snippet, for finding a message only.
Before you summarise, answer or act on an email, `read` it end to end, including the attachment
list and any request in the body. In a long chain, find where the current message ends and the
quoted chain begins.

**4. Check the time.** Run `date` (and `date -u`) before anything that involves today, deadlines
or "yesterday"; a session can span days. Graph timestamps are UTC. Calendar times are wall-clock
in `OUTLOOK_TZ`, which defaults to the system zone, and a server is often UTC when the user is
not. If the calendar warns that it is using UTC and that is not the user's zone, set
`OUTLOOK_TZ` (for example `Europe/London`) before quoting a time.

**5. Refusals and permission prompts are the send gap working.** Never work around one, for
example by calling Graph with curl yourself or by rewording a command so it is not recognised.
- With `OUTLOOK_READ_ONLY=1`, every command that writes or sends refuses. Tell the user; do not
  unset it.
- `send`, `invite`, `respond`, `cancel`, `create ... --send-invites` and
  `update ... --notify-attendees` may raise a permission prompt. That prompt is the user's
  approval, so show them what will be sent first.
- `create` refuses attendees without `--send-invites`. `update` refuses to change a meeting you
  organise without `--notify-attendees`, and `delete` refuses one (use `cancel`).

**6. Confirm the From address.** To send as an alias, get the exact address from `aliases`, set
it with `update <draft-id> from <address>` (or `OUTLOOK_FROM_ADDRESS` for every draft), and
show the user the From line before sending.

**7. Setup is the user's.** If an account is not configured, or a refresh is refused because
the sign-in has lapsed, ask the user to run `${CLAUDE_SKILL_DIR}/scripts/outlook-setup.sh`
(add `--account <name>` for another mailbox). Do not run it yourself: it opens a browser and
waits for a person to paste back a URL.

## Command index

Mail is `outlook-mail.sh <verb>`, calendar is `outlook-calendar.sh <verb>`. Add
`--account <name>` before the verb for another mailbox. Listings print short IDs, which every
command accepts. A message keeps its ID when it moves to another folder.

**Read mail**
- `inbox`, `unread`, `focused`, `sent`, `drafts`, `flagged` `[count]`: list, newest first
- `folder <name> [count]`, `from <address> [count]`, `category <name> [count]`: list by folder, sender or category
- `search <text or KQL> [count|all]`: search; KQL such as `subject:x AND from:y` works
- `read <id>`: the whole message. `preview <id>`: a snippet, for navigation only
- `thread <id>`: the conversation, oldest first. `stats`: inbox totals

**Write mail** (all make drafts)
- `draft <to> <subject> <body>`, `mddraft <to> <subject> <markdown> [--cc x] [--bcc y]`: a new draft; prefer `mddraft`
- `reply <id> <body>`, `mdreply <id> <markdown>`: reply-all draft; prefer `mdreply`
- `forward <id> <to> [markdown comment]`, `followup <sent-id> [markdown]`: forward, or chase your own sent mail
- `update <draft-id> <field> <value>`: `subject`, `body`, `mdbody` (keeps the quoted chain), `to`, `cc`, `bcc`, `importance`, `from`
- `aliases`: the addresses this mailbox can send as
- `attach <draft-id> <file> [--inline <cid>]`: add a file, up to 150 MB
- `signature <draft-id> <html-file>`: add an HTML signature; its local images go inline
- `send <draft-id>`: sends; prints From, To, Cc, Bcc, subject and attachments first

**Attachments**
- `attachments <id>`: list. `download <id> [attachment-id]`: save to `./inbox/`

**Organise mail**
- `markread`, `markunread`, `flag`, `unflag`, `junk`, `notjunk`, `archive` `<id>`
- `delete <id>`: to Deleted Items, where it can be restored
- `move <id> <folder>`, `batch-move <folder> <ids...>` (or IDs on stdin): move; `Parent/Child` targets one folder
- `categories`, `categorize <id> "<a, b>" | --add <c> | --remove <c>`: apply categories
- `mkcategory <name> [colour]`, `rccategory <name> <colour>`, `rmcategory <name>`: the master list
- `folders`, `subfolders [folder]`, `mkdir <name> [parent]`, `rename <old> <new>`, `rmdir <name> [--force]`: folders
- `export <folder> <dir> [--since YYYY-MM-DD] [--count N]`: raw `.eml` for the outlook-to-md skill to archive

**Calendar**
- `events [count]`, `today`, `week`, `day <YYYY-MM-DD>`, `search <text> [days]`: list, with short IDs
- `read <event-id>`, `calendars`, `free <start> <end>`: details, calendars, busy periods
- `create <subject> <start> <end> [location]`, `quick <subject> <start>`: sends nothing
- `invite <event-id> <emails> [optional]`: sends invitations
- `respond <event-id> accept|decline|tentative [message]`: tells the organiser
- `update <event-id> <field> <value> [--notify-attendees]`: subject, location, start or end
- `cancel <event-id> [message]`: a meeting you organise; tells every attendee
- `delete <event-id>`: removes an event that notifies nobody

**Accounts** (`outlook-token.sh`)
- `list`, `status`, `test`, `refresh`, `get`: accounts, connection, a valid token

Times are `YYYY-MM-DDTHH:MM`. Markdown commands need `pandoc`. Throttling (HTTP 429) is
retried by the scripts, so do not loop a command. `batch-move` prints `FAILED <id>` for each
message it did not move; run it again with those IDs.
Files in this package (21)
  • SKILL.md 7 KB
  • references/commands.md 13 KB
  • references/setup.md 6 KB
  • scripts/outlook-calendar.sh 39 KB
  • scripts/outlook-mail.sh 130 KB
  • scripts/outlook-setup.sh 17 KB
  • scripts/outlook-token.sh 6 KB
  • scripts/lib/graph.sh 16 KB
  • tests/calendar_test.sh 9 KB
  • tests/chain_marker_live.sh 5 KB
  • tests/chain_marker_test.sh 6 KB
  • tests/docs_test.sh 4 KB
  • tests/graph_test.sh 16 KB
  • tests/helpers_test.sh 46 KB
  • tests/mail_test.sh 27 KB
  • tests/move_id_live.sh 4 KB
  • tests/move_id_test.sh 6 KB
  • tests/send_gap_test.sh 14 KB
  • tests/send_gate_test.sh 12 KB
  • tests/setup_test.sh 13 KB
  • tests/token_test.sh 16 KB

Versions

RepositoryScoreLicence
This page · dbhq-uk/outlook-graph-skill100MIT
anasahmed07/outlook-classic-mcp98MIT

Identical content appears in 1 other GitHub folders. We show one copy with the highest score.

Database snapshot: 13.11.2026 · package version 1c9a57142713 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100microsoft-outlook
    Read, search, draft, send and manage Outlook / Microsoft 365 email AND calendar events via Microsoft Graph. Use when the user mentions Outlook (mail or calendar), Microsoft 365 inbox, sending mail, replying / forwarding, today's agenda, scheduling a meeting, finding free time,…
  • 90powerskills-outlook
    Outlook email and calendar automation via COM. Read inbox, unread, sent items. Search emails. Send, reply, draft. List calendar events and mail folders. Use when needing to check work email, read/send Outlook messages, search mail, or view calendar. Requires Outlook desktop app on Windows.
  • 100outlook-email
    Send, read, and manage emails via Microsoft Outlook using the Graph API. Use when someone asks to "send email via Outlook", "read Outlook inbox", "automate Outlook emails", "manage Outlook folders", "Outlook API integration", "email automation with Graph API", "search Outlook…
  • 100calendar-integration
    Integrate with Google Calendar and Microsoft Outlook Calendar for scheduling, event management, and availability tracking. Use when someone asks to "create calendar events", "check availability", "schedule meetings", "sync calendars", "Google Calendar API", "Outlook Calendar…
  • 100microsoft365
    Outlook mail, calendar and OneDrive/SharePoint files of a connected Microsoft 365 (Exchange Online) account via `m365`: read, search, save attachments, send or reply and change meetings (held for approval), find, download and upload documents. Use for Outlook, office mail,…
  • 100outlook-api
    Microsoft Outlook API integration with managed OAuth. Read, send, and manage emails, folders, calendar events, and contacts via Microsoft Graph. Use this skill when users want to interact with Outlook. For other third party apps, use the api-gateway skill (https://clawhub.ai/byungkyu/api-gateway).

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.