Outlook CLI for Openclaw

A professional command-line interface for Microsoft Outlook that enables listing, searching, reading, and sending emails via the Microsoft Graph API.

abhiramee08b021
v0.1.0
Feb 5, 2026
4
4k
0

Install & Download

1. ClawHub CLI

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

npx clawhub@latest install outlook-email

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-email 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 CLI?

The Outlook CLI skill provides a direct bridge between your terminal and the Microsoft email ecosystem. Built to support personal Microsoft accounts like Outlook, Live, and Hotmail, this tool allows for seamless email interaction without leaving your development environment. By utilizing Openclaw Skills, developers can integrate email workflows into their automated agents or use it as a standalone productivity tool for managing correspondence efficiently.

This skill leverages the Microsoft Graph API to ensure secure and standardized access to your mailbox. It supports comprehensive email management tasks, from listing the latest messages to executing complex searches based on specific metadata like sender, date, or attachments. It is a vital component for anyone looking to automate their communication layer using Openclaw Skills.

Outlook CLI Use Cases

  • Automating email notifications for system alerts or CI/CD pipeline results.
  • Searching for specific invoices or documents using structured search operators.
  • Reading and replying to emails directly from a terminal-based development environment.
  • Integrating email management capabilities into AI-driven assistant workflows.
  • Monitoring incoming mail from specific domains to trigger custom automation scripts.

How Outlook CLI Works

  1. The user registers an application in the Azure AD portal to obtain the necessary credentials and sets a local redirect URI.
  2. The skill is configured with the application credentials through the command line.
  3. An authentication flow is initiated to grant the skill permission to access the Microsoft account via OAuth2.
  4. Commands are issued through the CLI, which then translates them into Microsoft Graph API requests.
  5. The API processes the request (e.g., fetching a list of emails) and returns the data, which the skill formats for the user.

Outlook CLI Setup

To get started with this skill, you must first register an application in the Azure portal and then configure your local environment.

# Register app at https://portal.azure.com with Redirect URI: http://localhost:8080/callback

# Configure your credentials
outlook configure

# Authenticate your Microsoft account
outlook auth

# Verify your authentication status
outlook status

Outlook CLI Data Schema & Taxonomy

The skill interacts with Microsoft Graph API objects and organizes data as follows:

Feature Description Example Command
Email Listing Retrieves a list of recent messages outlook list 10
Detailed View Fetches the full body and metadata of a specific email ID outlook read <id>
Search Filters messages using specific operators outlook search "from:microsoft.com"
Sending Composes and sends new emails with CC and file support outlook send --to "[email protected]"
Metadata Includes IDs, subjects, sender info, and attachment status Included in all read/list outputs

Outlook CLI Advanced Features

  • Advanced search syntax supporting operators like from:, subject:, received:, and hasattachment:yes.
  • Multi-recipient support for To and CC fields to handle complex communication threads.
  • File-based body input using the --body-file flag, allowing for the sending of long-form content or logs.
  • Group reply functionality with the --all flag to maintain thread integrity in team environments.
  • Native integration capabilities with other Openclaw Skills for end-to-end automation of administrative tasks.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*