builtin Go · Two-way · TLS & guard verified
Connect Outlook & Microsoft 365 Mail to Local AI Agents With Delta Sync & Scope Checks
TagTag connects Outlook / Microsoft 365 mailboxes locally using Microsoft Graph per-folder messages/delta cursors. It validates Microsoft Graph scopes per outbound action (rejecting direct send if Mail.Send is absent while still allowing drafts) and strips OUTLOOK_, MICROSOFT_, and MSGRAPH_ prefixes from every harness process.
Explicitly distinguishes --dry-run=true (zero disk writes even on HTTP 410) from live runs, and enforces AccessGuardSink before touching Graph sendMail endpoints.
Instance configuration
connectors.json
{
"id": "outlook:corp",
"type": "outlook",
"enabled": true,
"bot_id": "work-bot",
"access": "draft",
"poll_interval_seconds": 300,
"default_target": "slack:eng",
"env_keys": ["OUTLOOK_ACCESS_TOKEN"],
"config": { "folders": ["Inbox"] }
}Daily workflow
Watch your corporate Outlook Inbox locally, summarize urgent threads into Slack or Feishu, and prepare clean draft replies ready for one-click review.
Cursor & dry-run semantics
Stores delta_link:<folder> independently per folder. On HTTP 410 expiration, live runs mark resync_required:<folder> cleanly so connector check surfaces exact recovery status.
Credentials: OUTLOOK_ACCESS_TOKEN or Entra refresh creds