OWA Outlook Integration for Openclaw

A professional integration skill for reading Microsoft 365 Outlook calendar events and emails via automated scripts.

ilove323
v1.0.2
Feb 28, 2026
0
227
1

Install & Download

1. ClawHub CLI

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

npx clawhub@latest install owa-outlook

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 owa-outlook 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 OWA Outlook Integration?

The owa-outlook skill is designed to bridge the gap between AI agents and enterprise Microsoft 365 environments. By leveraging this integration within Openclaw Skills, users can grant their agents the ability to query meeting schedules, check unread emails, and search through inbox histories. It uses a robust authentication layer that handles enterprise-level security while providing a clean CLI-based interface for data retrieval.

This skill is particularly valuable for developers building personal assistants or productivity tools that require real-time access to corporate communication and scheduling data. It streamlines the process of fetching time-sensitive information, such as today's meetings or urgent unread messages, making it an essential component of a high-performance workspace.

OWA Outlook Integration Use Cases

  • Querying daily, weekly, or monthly meeting schedules and appointment details.
  • Checking for new or unread emails and summarizing recent inbox activity.
  • Searching for specific emails based on keywords, subjects, or senders.
  • Monitoring enterprise calendars to prevent scheduling conflicts during automated planning.
  • Exporting email and calendar data in JSON format for further processing by other Openclaw Skills.

How OWA Outlook Integration Works

  1. The skill initializes by reading sensitive credentials and configuration settings from a secure local directory.
  2. A Playwright-based authentication script logs into the Microsoft 365 portal to establish a valid session.
  3. Multi-Factor Authentication (MFA) is handled via the Microsoft Authenticator app, where the script displays a matching number for user approval.
  4. Once authenticated, cookies and Bearer tokens are cached locally to allow for seamless, non-interactive access for up to 7 days.
  5. Specialized Python scripts (owa_calendar.py and owa_mail.py) are invoked to fetch specific data points using the active session tokens.
  6. The retrieved data is formatted and passed back to the AI agent to answer user queries accurately.

OWA Outlook Integration Setup

First, create a configuration file at ~/.outlook/config.json with your credentials:

{
  "email": "[email protected]",
  "password": "your_password",
  "cookie_file": "/root/.outlook/cookies.json",
  "cookie_max_age_days": 7,
  "mfa_type": "authenticator_number_match"
}

Next, install the required Python dependencies and the Playwright browser engine:

pip install playwright requests
playwright install chromium

Finally, perform the initial MFA login to generate the necessary tokens:

cd ~/.agents/skills/owa-outlook
python login.py

Follow the on-screen instructions to approve the login on your mobile device.

OWA Outlook Integration Data Schema & Taxonomy

The skill organizes its data and configuration across two primary locations to ensure security and efficiency:

Location File Purpose
~/.outlook/ config.json Stores account email, password, and MFA settings.
~/.outlook/ cookies.json Stores persistent session cookies for the OWA portal.
~/.outlook/ token.json Caches the Bearer Token for API-based requests.
Skill Dir owa_calendar.py Handles date-based logic for fetching calendar events.
Skill Dir owa_mail.py Handles filtering and searching logic for emails.

OWA Outlook Integration Advanced Features

  • Zero-touch token refreshing: Automatically updates expired tokens without requiring user re-authentication.
  • Native MFA Support: Integrated workflow for Microsoft Authenticator number-matching protocols.
  • Flexible Timezone Handling: Handles UTC to local time conversions for accurate schedule reporting.
  • Granular Search: Supports searching by specific folders (e.g., Inbox, Sent) and custom result limits.
  • Developer Friendly Output: Includes a --json flag to return raw data, making it compatible with complex workflows involving multiple Openclaw Skills.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Requires
Bins python3
Github Stars: 0
forks: 0

Featured*