Setup & Installation
Or with the ClawHub CLI, for registry-managed skill folders outside a full OpenClaw workspace:
Version History
v2.0.0: Multi-Account Enhancement by Matthew Gordon (matt@workandthrive.ai) MAJOR NEW FEATURES: • Multi-account support - Manage multiple Microsoft 365 identities (work, personal, consulting) • Per-account token isolation - Separate, secure token storage for each account • Account switching - Easy --account=name flag across all operations • Default account selection - Set preferred account for convenience • Account management CLI - Simple add/remove/list/default commands • Legacy import tool - Seamless migration from v1.0.0 single-account setups ENHANCEMENTS: • Enhanced auth.js with multi-account authentication support • Updated email.js, calendar.js, send-email.js, cancel-event.js for multi-account • New accounts.js CLI for account management • Comprehensive MULTI-ACCOUNT.md usage guide • CHANGELOG.md and CREDITS.md for full attribution BACKWARD COMPATIBILITY: • ✅ Full backward compatibility maintained • ✅ Environment variable fallback preserved • ✅ No breaking changes for existing single-account users • ✅ All original functionality intact SECURITY: • Per-account token files with mode 0600 • Account config stored with mode 0600 • Directory permissions set to 0700 CREDIT: Massive thank you to Matthew Gordon for this excellent contribution! This enhancement makes the skill significantly more useful for consultants, freelancers, and anyone managing multiple work identities. Original skill: office365-connector v1.0.0 Enhanced by: Matthew Gordon (matt@workandthrive.ai)
What This Skill Does
Connects to Office 365 and Outlook for reading, sending, and managing email, calendar events, and contacts via the Microsoft Graph API with OAuth 2.0 authentication. Supports multiple Microsoft 365 accounts with separate token storage per identity, so work, personal, and client accounts can be used from a single installation.
Per-account OAuth token isolation lets consultants and freelancers manage several Microsoft 365 identities from one installation rather than maintaining separate tool setups for each client or organization.
When to use it
- Checking work and personal calendars each morning without switching tools
- Sending client proposals from the correct consulting account identity
- Searching emails across multiple organizational inboxes
- Creating and canceling calendar events for delegated or shared mailboxes
- Migrating an existing single-account Outlook setup to manage additional identities
Example Workflow
Here's how your AI assistant might use this skill in practice.
User asks: Show me today's work calendar, then send a project update to a client from my consulting account
- 1Loads the stored OAuth token for the work account
- 2Queries Microsoft Graph API for today's calendar events and lists them
- 3Switches to the consulting account token
- 4Sends the project update email via Graph API from the consulting identity
Work calendar events for today displayed; project update email sent from consulting account
Requirements
Accounts, API keys, or tools you or your AI assistant may need to set up while using this skill.