Outlook Mail Reader for Openclaw

A sophisticated automation tool that controls local Chrome browsers via MCP to search, filter, and read Outlook emails.

yuyun2000
v1.0.0
Apr 2, 2026
0
627
0

Install & Download

1. ClawHub CLI

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

npx clawhub@latest install outlook-mail-reader

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-mail-reader 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 Mail Reader?

The outlook-mail-reader is a specialized Openclaw Skills component designed to interface directly with Microsoft Outlook through the Chrome DevTools Protocol. By leveraging the Model Context Protocol (MCP), it allows AI agents to interact with a user's local browser session as if they were a human operator, providing a seamless bridge between local web applications and AI workflows.

This skill eliminates the need for complex API integrations or OAuth tokens by working within the user's existing authenticated browser environment. It provides high-level commands for navigating folders, selecting specific dates using the Outlook Jump To feature, and extracting email content through accessibility tree snapshots.

Outlook Mail Reader Use Cases

  • Automating the retrieval of specific emails based on historical dates.
  • Monitoring Outlook inboxes for specific keywords or senders without manual checking.
  • Extracting text content from emails to feed into secondary AI analysis workflows.
  • Streamlining browser-based email management for users who keep Outlook open in a tab.

How Outlook Mail Reader Works

  1. The skill identifies an active Outlook tab (outlook.cloud.microsoft or outlook.office.com) using browser or chrome-devtools tools.
  2. It analyzes the page's accessibility (a11y) tree to identify interactive elements like the Jump To button and search box.
  3. To find historical mail, it triggers the Jump To menu and inputs a formatted date (YYYY/M/D).
  4. Once the target email is located, it performs a click action to open the message in the reading pane.
  5. It captures a final snapshot of the reading pane to extract the email body text for the user.

Outlook Mail Reader Setup

To enable this within Openclaw Skills, you must first enable Remote Debugging in your standard Chrome browser (navigate to chrome://inspect/#devices and toggle Remote Debugging).

Then, update your ~/.openclaw/openclaw.json to include the MCP server configuration:

{
  "mcp": {
    "servers": {
      "chrome-devtools": {
        "command": "npx",
        "args": [
          "chrome-devtools-mcp@latest",
          "--autoConnect"
        ]
      }
    }
  }
}

After saving, restart your gateway with:

openclaw gateway restart

Outlook Mail Reader Data Schema & Taxonomy

The skill interacts with web-based data structures rather than local files. It organizes interaction data as follows:

Data Type Description Key Identifiers
Page Metadata Information about open browser tabs pageId, URL, TargetId
Element Map Mapping of UI components for interaction uid (DevTools) / ref (Browser)
Email Content Extracted text from the reading pane Sender, Subject, Body Text
Date Logic Formatted temporal queries YYYY/M/D

All interactions are stateful within the current browser session.

Outlook Mail Reader Advanced Features

  • Automatic tool-switching: Intelligently switches between chrome-devtools and browser tools if a conflict (like 'already running' errors) is detected.
  • Precise Date Navigation: Uses the Outlook-specific menuitemradio and combobox elements for surgical jumps to specific historical dates.
  • Fallback Navigation: Capable of opening new tabs and prompting for manual user login if no active Outlook session is detected.
  • Content Pagination: Supports snapshot-and-scroll loops to load and read more emails beyond the initial fold.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*