šŸ¦žOpenClaw Guide
← All Integrations
šŸ“¬

Microsoft Outlook

Mediumā±ļø 20-30 minutes

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

  1. Go to portal.azure.com → App registrations → "New registration"
  2. Name it "OpenClaw Assistant"
  3. Redirect URI: http://localhost:3000/callback
  4. 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 emails
  • Mail.Send — send emails
  • Calendars.ReadWrite — full calendar access
  • Contacts.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

yaml
integrations:  outlook:    enabled: true    clientId: "YOUR_CLIENT_ID"    clientSecret: "YOUR_CLIENT_SECRET"    tenantId: "YOUR_TENANT_ID"    userEmail: "you@company.com"

Email Management

bash
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

bash
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-11am

Smart Filtering

bash
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 ops

Troubleshooting

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)
1

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.

2

Configure API permissions

Add Microsoft Graph permissions: Mail.ReadWrite, Mail.Send, Calendars.ReadWrite, User.Read. For org-wide features, request admin consent.

3

Create client credentials

Under Certificates & secrets, create a new client secret. Save the Application (client) ID and secret value securely.

4

Configure OpenClaw

Add the Microsoft configuration to your OpenClaw config with clientId, clientSecret, and tenantId.

5

Authenticate

Run the OAuth flow to sign in with your Microsoft 365 account. This grants OpenClaw access to your mailbox and calendar.

6

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.Read

Limitations

  • āš ļø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.

Join Vibe Combinator →

šŸ™ 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 →