Unified inbox monitor for Outlook and Gmail with AI summarization and calendar conflict detection. Either or both providers can be enabled — configure only what you need.
MS_GRAPH_ACCESS_TOKEN (managed by the outlook-graph skill). If ~/.openclaw/ms_tokens.json is missing, Outlook is skipped.EMAIL_MONITOR_GMAIL_ACCOUNT env var and the gog CLI authorized. If unset, Gmail is skipped.EMAIL_MONITOR_TELEGRAM_USER is always required (the chat ID that receives notifications).Accounts are pre-configured via environment variables. Do not ask the user for credentials. Just run the scripts directly.
outlook-graph skill calendar-listgog calendar events primary --from --to --json python3 {baseDir}/scripts/unified_mailbox_ai.py check
python3 {baseDir}/scripts/unified_mailbox_ai.py mark --id "EMAIL_ID"
> For Gmail threads, prefix the ID with gmail: e.g. gmail:19ceb0fc779a8a42
python3 {baseDir}/scripts/unified_mailbox_ai.py clear
python3 {baseDir}/scripts/unified_mailbox_ai.py auto-notify
python3 ~/.openclaw/workspace/skills/outlook-graph/scripts/outlook_graph.py calendar-list --days 7 --top 20
GOG_KEYRING_PASSWORD="" GOG_ACCOUNT="$EMAIL_MONITOR_GMAIL_ACCOUNT" gog calendar events primary --from <ISO_START> --to <ISO_END> --json --no-input
- [Outlook/Gmail] From: <name> <email> | Subject: <subject> | <brief summary>
[If meeting invite] Event: <date/time> | Calendar: ⚠️ Conflict with "<event>" OR ✅ No conflict
共 1 个版本