Outlook for Openclaw

A powerful integration for managing Microsoft Outlook emails and calendars directly through an AI agent using the Microsoft Graph API.

mts-blake-lucas
v1.0.0
Mar 6, 2026
0
1.2k
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install outlook-365

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install outlook-365 using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Outlook?

The Outlook skill provides a robust interface for interacting with the Microsoft ecosystem, covering both personal (Outlook.com, Hotmail) and professional (Microsoft 365) accounts. By leveraging the Microsoft Graph API and OAuth2, it enables Openclaw Skills to perform complex mail and calendar operations without leaving the agent interface. This skill handles everything from reading focused inboxes to complex calendar scheduling, ensuring your workflow remains uninterrupted.

Built for developers and power users, it streamlines communication by allowing an AI agent to search, read, and organize messages while simultaneously managing time through deep calendar integration. It acts as a bridge between your agent and your Microsoft workspace, providing a seamless way to handle digital correspondence and scheduling tasks.

Outlook Use Cases

  • Summarizing recent unread emails from specific high-priority senders.
  • Scheduling and updating team meetings or quick 1-hour calendar events.
  • Automating email organization such as archiving, flagging, or moving messages.
  • Drafting, replying to, and forwarding messages with automatic plain-text extraction.
  • Checking availability and free/busy status for optimized scheduling.

How Outlook Works

  1. Initializes via a setup script that creates an Azure App Registration and configures OAuth2 permissions automatically.
  2. Authenticates the user using a device code flow to obtain secure access and refresh tokens.
  3. Communicates with the Microsoft Graph API to fetch or modify email and calendar data based on agent commands.
  4. Processes API responses, converting complex HTML email bodies into plain text for better context processing by the agent.
  5. Manages the token lifecycle automatically, allowing for a persistent and secure connection to Microsoft services.

Outlook Setup

To get started with this skill for Openclaw Skills, run the automated setup script to configure your Azure environment:

# Requires: Azure CLI, jq
./scripts/outlook-setup.sh

The script will guide you through the Azure login, app registration, and permission configuration (Mail.ReadWrite, Mail.Send, Calendars.ReadWrite). Credentials and tokens will be saved to your local environment for immediate use.

Outlook Data Schema & Taxonomy

The skill organizes its configuration and authentication data within a dedicated directory to ensure persistent access for Openclaw Skills:

File Description
~/.outlook-mcp/config.json Contains Tenant ID, Client ID, and Client Secret.
~/.outlook-mcp/credentials.json Stores OAuth access and refresh tokens for API calls.

Internal message referencing uses a truncated ID system (the last 20 characters of the full Microsoft Graph ID) to maintain brevity and efficiency in agent conversations.

Outlook Advanced Features

  • Intelligent HTML-to-plain-text extraction for efficient processing of email content.
  • Support for Focused Inbox to prioritize important communications over low-priority mail.
  • Bulk email operations for marking as read or deleting multiple messages in a single command.
  • Advanced calendar management including availability checks and weekly schedule views.
  • Multi-tenant support accommodating both personal Microsoft accounts and enterprise Microsoft 365 environments.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*