← ClaudeAtlas

outlook-nativelisted

Query, search, and extract Outlook email content, compose rich HTML Outlook drafts with inline images, and organize a mailbox with folders and server-side rules. Use this skill whenever the user wants to search their Outlook mailbox, extract or export emails (查邮件/提取邮件/导出邮件), parse .ost or .pst files, summarize email threads, draft/backfill an Outlook email (回填邮件/生成草稿/写邮件到Outlook), or tidy up their inbox (整理邮箱/建文件夹/建规则/归档邮件). Trigger even if the user only mentions "my Outlook", "mailbox", an .ost/.pst file path, or pasting HTML into an email that broke its formatting.
mc856/outlook-native · ★ 0 · Data & Documents · score 72
Install: claude install-skill mc856/outlook-native
# Outlook Mail: Query, Compose & Organize Three capabilities, each with environment-appropriate backends: 1. **Query** — search/extract email content (subject, body, sender, recipients, dates, attachments) 2. **Compose** — create an Outlook draft with Word-engine-safe HTML and inline images (never auto-send) 3. **Organize** — create Inbox subfolders + server-side rules, and file the existing backlog ## Step 0: Route by environment Detect first — do not assume: ```powershell powershell -Command "(New-Object -ComObject Outlook.Application).Name" # succeeds => live COM ``` On a Linux/macOS shell, skip the probe and go straight to the offline path. | Environment | Query | Compose | Organize | |---|---|---|---| | **Windows PC, classic Outlook installed** (Claude Code, Codex, any local agent) | `scripts/query_com.ps1` — live, fast, complete | `scripts/create_draft.ps1` — draft opens in Outlook | `scripts/organize_mailbox.ps1` | | **Linux/macOS sandbox** (Cowork, remote) — no Outlook process | `scripts/query_ost.py` against a mounted .ost/.pst | emit HTML + images + `create_draft.ps1` to a user-visible folder; user right-clicks → "Run with PowerShell" | **not possible** — OST parsing is read-only; hand the user the config + script to run locally | | **New Outlook only, no classic** | no OST exists to parse — ask the user to install/enable classic Outlook, or drive OWA | paste-via-Word (references/outlook-html.md) | user does it in the New Outlook UI | PowerShell here is Win