# Send MS Outlook + Teams Assistant to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Then review README.md for any prerequisites, environment setup, or post-install checks. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "ms-outlook-teams-assistant",
    "name": "MS Outlook + Teams Assistant",
    "source": "tencent",
    "type": "skill",
    "category": "通讯协作",
    "sourceUrl": "https://clawhub.ai/abhinavjp/ms-outlook-teams-assistant",
    "canonicalUrl": "https://clawhub.ai/abhinavjp/ms-outlook-teams-assistant",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/ms-outlook-teams-assistant",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=ms-outlook-teams-assistant",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "README.md",
      "SKILL.md",
      "references/config.example.json",
      "references/teams-graph-setup.md",
      "references/writing-style.md",
      "scripts/dismiss.py"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-23T16:43:11.935Z",
      "expiresAt": "2026-04-30T16:43:11.935Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=4claw-imageboard",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=4claw-imageboard",
        "contentDisposition": "attachment; filename=\"4claw-imageboard-1.0.1.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/ms-outlook-teams-assistant"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/ms-outlook-teams-assistant",
    "downloadUrl": "https://openagent3.xyz/downloads/ms-outlook-teams-assistant",
    "agentUrl": "https://openagent3.xyz/skills/ms-outlook-teams-assistant/agent",
    "manifestUrl": "https://openagent3.xyz/skills/ms-outlook-teams-assistant/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/ms-outlook-teams-assistant/agent.md"
  }
}
```
## Documentation

### What this skill does

Inbox nagging (Outlook Desktop): find messages from the last 7 days that likely need a reply, then send reminders until dismissed.
Email reply drafting: produce concise drafts that match the user’s tone rules (conversational, spartan, polite; simple English; short; reduce redundancy; avoid em dashes).
Teams tracking (optional): if Microsoft Graph is configured and permitted by tenant policy, track recent Teams chat messages that likely need a reply and nag similarly.

### Safety defaults

Do not auto-send emails or Teams messages.
Create drafts in Outlook, or paste drafts into Telegram for approval.
For reminders: send to Telegram by default; only send to Teams if explicitly enabled.

### A) Outlook Desktop automation (recommended)

Ensure Outlook Desktop is installed and signed in.
Install the Python dependency (ask before doing this on the machine):

pip install pywin32


Create a config file:

Copy references/config.example.json → references/config.json and fill it.
IMPORTANT: Do not commit references/config.json if it contains personal IDs.

### B) Teams via Graph (optional)

Only if you can create an Entra ID app registration and grant permissions.

Copy references/config.example.json → references/config.json and fill teams.tenantId, teams.clientId, and teams.scopes.
Then run scripts/teams_scan.py once to complete Device Code sign-in.

See references/teams-graph-setup.md.

### 1) Scan and remind (Outlook)

Use scripts/scan_outlook.py.

### 1b) Scan Teams (Graph)

Use scripts/teams_scan.py.

Parameters:

--days 7 (default)

First run will print a device code sign-in message (follow it once).

Parameters:

--days 7 (default)
--mode report|telegram (default: report)
--max-items 200

Heuristics (editable in config):

Within last N days
Not from obvious broadcast sources
Prefer threads where user is To: (not only CC) OR subject/body contains direct asks
Prefer messages not replied by user (best-effort)

Output:

A list of actionable items with: subject, sender, received time, why it was flagged.

Then:

If --mode telegram, send a single concise reminder message with bullet items.

### 2) Dismiss / snooze an item

This skill uses a local state file to avoid nag loops.

Dismiss: add the message’s internetMessageId (or subject+timestamp fallback) to the dismissed list.
Snooze: store a snoozeUntil timestamp.

Use scripts/state.py helpers (or edit JSON directly if needed).

### 3) Draft an email reply (Outlook)

Use scripts/draft_reply.py.

### 4) Generate reminders (no send)

Use scripts/scan_all.py to update cached scan results, then scripts/remind.py to generate a Telegram-ready reminder message (it does not send).
It applies:

1:1 Teams → remind when needsReply=true
Group Teams → remind when mentionedMe=true AND needsReply=true
Outlook → remind for flagged items

The agent should send the output to Telegram if non-empty.

Inputs:

Either a message EntryID (preferred) or search by subject + recent window.

Behavior:

Extract the thread (best-effort) + key metadata.
Generate 2 drafts:

Short (2–5 sentences)
Normal (5–10 sentences)


Apply tone rules from references/writing-style.md.

Outputs:

Print drafts to stdout.
Optionally create an Outlook draft reply (no sending) if --create-draft is set.

### When you need more context from the user

Ask only what you cannot infer:

Which email to reply to (subject / sender / when)
The user’s intent (agree/decline/ask for info/confirm timeline)
Any constraints (deadlines, attachments, names)

Keep questions minimal (max 3 at a time).
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: abhinavjp
- Version: 1.0.1
## Source health
- Status: healthy
- Source download looks usable.
- Yavira can redirect you to the upstream package for this source.
- Health scope: source
- Reason: direct_download_ok
- Checked at: 2026-04-23T16:43:11.935Z
- Expires at: 2026-04-30T16:43:11.935Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/ms-outlook-teams-assistant)
- [Send to Agent page](https://openagent3.xyz/skills/ms-outlook-teams-assistant/agent)
- [JSON manifest](https://openagent3.xyz/skills/ms-outlook-teams-assistant/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/ms-outlook-teams-assistant/agent.md)
- [Download page](https://openagent3.xyz/downloads/ms-outlook-teams-assistant)