搜索

PythonReactSEOPDF
OpenClaw

outlook

Microsoft Outlook/Live.com email client via Microsoft Graph API. List, search, read, send, and reply to emails.

abhiramee08b0210 来源安装数☆ 0 仓库 Stars

安装与使用

请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。

SkillHub CLI

skillhub install abhiramee08b021/outlook-email

打开来源仓库,查看说明和兼容环境后,按来源提供的命令或步骤安装。

将来源链接提供给你的 Agent,让它先读取说明、核对依赖,并向你说明将执行的安装步骤。

查看来源 ↗使用指南

技能说明

Outlook CLI

Command-line email client for Microsoft Outlook/Live/Hotmail using Microsoft Graph API.

Setup

  1. Create Azure AD App: https://portal.azure.com → App registrations

    • Name: outlook-cli
    • Account type: "Personal Microsoft accounts only"
    • Redirect URI: http://localhost:8080/callback
  2. Get credentials from your app registration

  3. Configure:

    outlook configure
    
  4. Authenticate:

    outlook auth
    

Commands

Command Description
outlook list [n] List recent emails
outlook search "query" [n] Search emails
outlook read <id> Read email by ID
outlook send --to ... Send email
outlook reply <id> Reply to email
outlook status Check auth status

Examples

List emails:

outlook list 20

Search:

outlook search "from:linkedin.com"
outlook search "subject:invoice"

Send:

outlook send --to "user@example.com" --subject "Hello" --body "Message"
outlook send --to "a@x.com,b@x.com" --cc "boss@x.com" --subject "Update" --body-file ./msg.txt

Reply:

outlook reply EMAIL_ID --body "Thanks!"
outlook reply EMAIL_ID --all --body "Thanks everyone!"

Search Operators

  • from:email@domain.com - Sender
  • subject:keyword - Subject line
  • body:keyword - Email body
  • received:YYYY-MM-DD - Date
  • hasattachment:yes - Has attachments

Files

  • SKILL.md - This documentation
  • outlook - Main CLI script
  • README.md - Full documentation

来源信息

Source
github
Repository
openclaw/skills
Path
skills/abhiramee08b021/outlook-email
Version
—
Commit
a942add368d175d5adcab30307ceb14a993c14f8
分类来源
rules
状态
active
可见性
public

这些信息来自收录时的来源分析,可能滞后;使用前请核对最新来源文件。

README

Outlook CLI

A command-line tool for managing Microsoft Outlook/Live/Hotmail emails via Microsoft Graph API. Built as an OpenClaw skill.

Features

  • 📧 List emails - View recent emails in your inbox
  • 🔍 Search - Full-text search across emails
  • 📖 Read - View full email content
  • ✉️ Send - Send new emails with CC/BCC support
  • 💬 Reply - Reply to emails (with reply-all support)

Installation

Prerequisites
  • Python 3.7+
  • requests library (pip install requests)
Setup
  1. Clone or download this repository:

    git clone https://github.com/abhiramee08b021/outlook-cli.git
    cd outlook-cli
    
  2. Create Azure AD App Registration:

    • Go to Azure Portal → App registrations → New registration
    • Name: outlook-cli (or anything)
    • Supported account types: "Personal Microsoft accounts only"
    • Redirect URI: Web → http://localhost:8080/callback
    • Click Register
  3. Get credentials:

    • Copy Application (client) ID from Overview page
    • Go to Certificates & secrets → New client secret → Copy value
  4. Configure the tool:

    ./outlook configure
    # Enter your Client ID and Client Secret when prompted
    
  5. Authenticate:

    ./outlook auth
    
    • Opens browser for Microsoft login
    • Copy the callback URL and paste when prompted

Usage

List Emails
./outlook list          # List 10 most recent emails
./outlook list 20       # List 20 emails
Search Emails
./outlook search "from:linkedin.com"
./outlook search "subject:invoice"
./outlook search "body:meeting" 30

Search operators:

  • from:email@domain.com - Search by sender
  • to:email@domain.com - Search by recipient
  • subject:keyword - Search subject line
  • body:keyword - Search email body
  • received:YYYY-MM-DD - Search by date
  • hasattachment:yes - Emails with attachments
Read Email
./outlook read...

来源内容

SKILL.md
# Outlook CLI

Command-line email client for Microsoft Outlook/Live/Hotmail using Microsoft Graph API.

## Setup

1. **Create Azure AD App:** https://portal.azure.com → App registrations
   - Name: `outlook-cli`
   - Account type: "Personal Microsoft accounts only"
   - Redirect URI: `http://localhost:8080/callback`

2. **Get credentials** from your app registration

3. **Configure:**
   ```bash
   outlook configure
   ```

4. **Authenticate:**
   ```bash
   outlook auth
   ```

## Commands

| Command | Description |
|---------|-------------|
| `outlook list [n]` | List recent emails |
| `outlook search "query" [n]` | Search emails |
| `outlook read <id>` | Read email by ID |
| `outlook send --to ...` | Send email |
| `outlook reply <id>` | Reply to email |
| `outlook status` | Check auth status |

## Examples

**List emails:**
```bash
outlook list 20
```

**Search:**
```bash
outlook search "from:linkedin.com"
outlook search "subject:invoice"
```

**Send:**
```bash
outlook send --to "user@example.com" --subject "Hello" --body "Message"
outlook send --to "a@x.com,b@x.com" --cc "boss@x.com" --subject "Update" --body-file ./msg.txt
```

**Reply:**
```bash
outlook reply EMAIL_ID --body "Thanks!"
outlook reply EMAIL_ID --all --body "Thanks everyone!"
```

## Search Operators

- `from:email@domain.com` - Sender
- `subject:keyword` - Subject line
- `body:keyword` - Email body
- `received:YYYY-MM-DD` - Date
- `hasattachment:yes` - Has attachments

## Files

- `SKILL.md` - This documentation
- `outlook` - Main CLI script
- `README.md` - Full documentation
README
# Outlook CLI

A command-line tool for managing Microsoft Outlook/Live/Hotmail emails via Microsoft Graph API. Built as an OpenClaw skill.

## Features

- 📧 **List emails** - View recent emails in your inbox
- 🔍 **Search** - Full-text search across emails
- 📖 **Read** - View full email content
- ✉️ **Send** - Send new emails with CC/BCC support
- 💬 **Reply** - Reply to emails (with reply-all support)

## Installation

### Prerequisites

- Python 3.7+
- `requests` library (`pip install requests`)

### Setup

1. **Clone or download** this repository:
   ```bash
   git clone https://github.com/abhiramee08b021/outlook-cli.git
   cd outlook-cli
   ```

2. **Create Azure AD App Registration:**
   - Go to [Azure Portal](https://portal.azure.com) → App registrations → New registration
   - Name: `outlook-cli` (or anything)
   - Supported account types: "Personal Microsoft accounts only"
   - Redirect URI: Web → `http://localhost:8080/callback`
   - Click **Register**

3. **Get credentials:**
   - Copy **Application (client) ID** from Overview page
   - Go to **Certificates & secrets** → New client secret → Copy value

4. **Configure the tool:**
   ```bash
   ./outlook configure
   # Enter your Client ID and Client Secret when prompted
   ```

5. **Authenticate:**
   ```bash
   ./outlook auth
   ```
   - Opens browser for Microsoft login
   - Copy the callback URL and paste when prompted

## Usage

### List Emails

```bash
./outlook list          # List 10 most recent emails
./outlook list 20       # List 20 emails
```

### Search Emails

```bash
./outlook search "from:linkedin.com"
./outlook search "subject:invoice"
./outlook search "body:meeting" 30
```

**Search operators:**
- `from:email@domain.com` - Search by sender
- `to:email@domain.com` - Search by recipient
- `subject:keyword` - Search subject line
- `body:keyword` - Search email body
- `received:YYYY-MM-DD` - Search by date
- `hasattachment:yes` - Emails with attachments

### Read Email

```bash
./outlook read...

相关技能

OpenClaw

ai-maestro

23blocks-os

AI Agent Orchestrator with Skills System - Give AI Agents superpowers: memory search, code graph queries, agent-to-agent messaging. Manage Claude, Codex or any AI Agent from one dashboard. Move Agents between c...

OpenClaw

registry-broker-skills

hashgraph-online

AI agent skills for the Universal Registry - search, chat, and register 72,000+ agents across 14+ protocols. Works with Claude, Codex, Cursor, OpenClaw, and any AI assistant.

OpenClaw

skills-manager

rito-w

A cross-platform skills manager for AI IDEs. Search marketplace, download locally, and install to Claude, Cursor, Windsurf, and more with one click.