Microsoft Outlook
AI-powered Outlook email and calendar
OpenClaw Outlook Integration
Manage your Microsoft Outlook email and calendar with your AI assistant. Read messages, draft replies, schedule meetings, and organize your inbox ā all through natural language.
Setup
Step 1: Register a Microsoft App
- Go to portal.azure.com ā App registrations ā "New registration"
- Name it "OpenClaw Assistant"
- Redirect URI:
http://localhost:3000/callback - After creation, note the Application (client) ID and Directory (tenant) ID
Step 2: Add API Permissions
In your app ā API permissions ā Add a permission ā Microsoft Graph:
Mail.Readā read emailsMail.Sendā send emailsCalendars.ReadWriteā full calendar accessContacts.Readā read contacts
Grant admin consent if required.
Step 3: Create Client Secret
App ā Certificates & secrets ā New client secret ā copy value.
Step 4: Configure OpenClaw
integrations: outlook: enabled: true clientId: "YOUR_CLIENT_ID" clientSecret: "YOUR_CLIENT_SECRET" tenantId: "YOUR_TENANT_ID" userEmail: "you@company.com"Email Management
What's in my inbox?ā 12 unread emails. Top: "Project kickoff tomorrow" from Sarah, "Invoice ready" from Acme Corp...Summarize the email from Sarahā Sarah wants to confirm 10am kickoff meeting. Needs you to bring the project brief.Reply to Sarah: Confirmed for 10am, I'll bring the briefā Reply sent āDelete all emails from newsletter@spam.comā 34 emails deleted āCalendar Management
What do I have tomorrow?ā 3 meetings: 9am standup (30min), 11am client call (1hr), 3pm design review (2hr)Schedule a meeting with sarah@company.com Friday at 2pm for 30 minutes: Q2 Planningā Meeting created and invite sent āCancel my 3pm meetingā Design review cancelled, attendees notified āFind a free 1-hour slot this weekā Available: Thursday 2-3pm, Friday 10-11amSmart Filtering
Show emails from last week that need a replyā 5 emails awaiting response: John (3 days), Client (2 days)...Any urgent emails today?ā 2 flagged urgent: "Server down" from IT, "Client escalation" from opsTroubleshooting
Authentication failed? Ensure admin consent is granted for the API permissions. Try rerunning the OAuth flow.
Calendar not syncing? Check Calendars.ReadWrite permission is granted and consented.
Emails not sending? Verify Mail.Send scope is in your app permissions. Check mailbox is not in read-only mode.
Features
Email reading
Fetch, search, and summarize emails from your Outlook inbox
Smart replies
Draft and send email replies with context-aware suggestions
Calendar management
Schedule, reschedule, and cancel meetings with natural language
Meeting scheduling
Find free slots and send invites to multiple attendees
Contact lookup
Find contact details and email history from your address book
Priority filtering
Surface urgent and unread emails that need attention
Use Cases
Inbox triage
Summarize and prioritize emails every morning without opening Outlook
Meeting scheduling
Find available slots and book meetings with a single message
Email drafting
AI drafts replies based on email context and your tone
Calendar awareness
Instant overview of your day, week, or upcoming commitments
Setup Guide
Requirements
- āMicrosoft 365 Business/Enterprise subscription or Exchange Online
- āAzure AD app registration (admin consent required for org-wide features)
- āOpenClaw running on a server or Mac
- āIT admin approval for app registration (enterprise environments)
Register an Azure AD application
In Azure Portal, go to Azure Active Directory > App registrations > New registration. Name it 'OpenClaw Assistant' and set the redirect URI to http://localhost:8080/callback for desktop apps.
Configure API permissions
Add Microsoft Graph permissions: Mail.ReadWrite, Mail.Send, Calendars.ReadWrite, User.Read. For org-wide features, request admin consent.
Create client credentials
Under Certificates & secrets, create a new client secret. Save the Application (client) ID and secret value securely.
Configure OpenClaw
Add the Microsoft configuration to your OpenClaw config with clientId, clientSecret, and tenantId.
Authenticate
Run the OAuth flow to sign in with your Microsoft 365 account. This grants OpenClaw access to your mailbox and calendar.
Test the connection
Ask your assistant 'What meetings do I have today?' or 'Summarize my unread emails' to verify access.
Configuration Example
microsoft:
clientId: \"your-azure-app-client-id\"
clientSecret: \"your-client-secret\"
tenantId: \"your-tenant-id-or-common\"
scopes:
- Mail.ReadWrite
- Mail.Send
- Calendars.ReadWrite
- User.ReadLimitations
- ā ļøInitial Azure AD app registration requires admin privileges
- ā ļøSome organizations restrict third-party app access
- ā ļøShared mailbox access may require additional permissions
Frequently Asked Questions
Do I need IT admin approval?
For personal Microsoft accounts, no. For enterprise Microsoft 365, your IT admin may need to approve the app registration and grant admin consent for organization-wide permissions.
Is this compliant with enterprise security policies?
OpenClaw runs on infrastructure you control. Data doesn't pass through third-party cloud services. The integration uses standard Microsoft Graph API with OAuth 2.0, compatible with most security policies.
Can it access shared mailboxes and calendars?
Yes, with appropriate permissions. Your IT admin can configure delegated access to shared resources through Azure AD.
Does it work with on-premises Exchange?
This integration is optimized for Exchange Online (Microsoft 365). On-premises Exchange requires EWS configuration, which may need additional setup.
Can it send emails on my behalf?
Yes, with Mail.Send permission. You can configure approval requirements for sends or limit to drafts only for review before sending.
What about data residency requirements?
OpenClaw processes data locally on your infrastructure. Your Microsoft 365 data remains in your tenant's configured data residency region.
Can multiple users share one app registration?
Yes, a single Azure AD app registration can authenticate multiple users in your organization. Each user authorizes with their own credentials.
How do I revoke access?
Users can revoke access in their Microsoft account settings under 'Apps and services'. Admins can revoke organization-wide through Azure AD.
š„ Your AI should run your business, not just answer questions.
We'll show you how.Free to join.
Related Integrations
š Learn More
OpenClaw Heartbeat Monitoring: How to Set Up 30-Minute Health Checks
Your agent runs while you sleep. Without monitoring, it's completely silent about problems. A payment failed three days ago? You'll find out when the service...
AI Assistant for Coaches & Consultants
Scale your impact without burning out
OpenClaw Installation Guide ā All Platforms (Linux, macOS, Unraid)
Complete installation guide covering gateway setup, Ollama integration, systemd services, and troubleshooting common setup errors like ECONNREFUSED and model loading issues.
How to Connect Gmail to Your AI Assistant (Complete Integration Guide)
Turn Gmail into an AI-powered inbox. Summarize threads, draft replies, auto-categorize messages, and search your email with natural language.
š Your AI should run your business.
Weekly live builds + template vault. We'll show you how to make AI actually work.Free to join.
Join Vibe Combinator ā