TopRank Skills

Home / Claw Skills / E-mail / ews-email
Official OpenClaw rules 36%

ews-email

CLI to manage enterprise Outlook emails via Exchange Web Services (EWS). Use ews-mail.py to list, read, reply, forward, search, send, move, delete emails and download attachments.

Stars

0

Installs

0

Status

ACTIVE

Visibility

PUBLIC

安装方式

直接复制以下提示词,发送给你的 AI 助手即可完成安装。

请先检查是否已安装 SkillHub 商店,若未安装,请根据 https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/skillhub.md 安装 SkillHub 商店,然后安装 ews-email 技能。 若已安装,则直接安装 ews-email 技能。

Overview

Skill Key
guyun94/ews-email
Author
guyun94
Source Repo
openclaw/skills
Version
1.2.0
Source Path
skills/guyun94/ews-email
Latest Commit SHA
9c3a54dcb8325ac366942f1be82157ec5def1e80

Extracted Content

SKILL.md excerpt

# EWS Email CLI

A CLI for enterprise Exchange (EWS) email. Use when the user asks about email, inbox, messages, or mail.

## Setup

### 1. 环境变量

在 `~/.openclaw/config.yaml` 中配置:

```yaml
env:
  EWS_SERVER: "your-exchange-server.com"
  EWS_EMAIL: "you@company.com"
```

### 2. 存储密码

#### macOS(自动使用 Keychain,无需额外配置)

```bash
pip3 install keyring exchangelib
python3 ~/.openclaw/skills/ews-email/scripts/ews-mail.py setup
```

#### Linux 云服务器(无桌面环境)

脚本会自动检测 Linux 无桌面环境,切换到 EncryptedKeyring 后端(AES 加密文件存储)。

```bash
# 安装依赖
pip3 install keyring exchangelib keyrings.alt

# 设置 master password 环境变量(用于加解密 EWS 密码)
# 在 ~/.openclaw/config.yaml 中添加:
#   env:
#     KEYRING_CRYPTFILE_PASSWORD: "你自己定义的一个强密码"
#
# 或在 systemd service / 启动脚本中 export:
export KEYRING_CRYPTFILE_PASSWORD="你自己定义的一个强密码"

# 存储 EWS 密码(会用 AES 加密写入本地文件)
python3 ~/.openclaw/skills/ews-email/scripts/ews-mail.py setup

# 验证
python3 ~/.openclaw/skills/ews-email/scripts/ews-mail.py folder-list
```

重启后只要 `KEYRING_CRYPTFILE_PASSWORD` 环境变量还在,密码就能正常解密读取,无需重新输入。

### 3. 验证安装

```bash
python3 ~/.openclaw/skills/ews-email/scripts/ews-mail.py folder-list
```

## SECURITY RULES

- **NEVER** attempt to read, display, or output the EWS password.
- **NEVER** run commands that could expose keyring contents.
- **NEVER** include passwords in any output, log, or message.
- The password is managed exclusively through the `setup` command.

## IMPORTANT: Reading Email Content

To read the FULL content/body of an email, you MUST follow these two steps:

1. First run `envelope-list` to get the message list (this gives you numeric IDs)
2. Then run `message-read <ID>` to get the FULL email body/content

**`envelope-list` only shows subject lines and metadata. It does NOT contain the email body.**
**You MUST run `message-read` to get the actual email content. NEVER guess or...

Related Claw Skills

rxhxm

sixtyfour-skill

★ 1

Agent Skill (SKILL.md) for Sixtyfour AI — People & company intelligence API. Enrich leads, find emails/phones, qualify prospects, search people. For Claude Code, Codex, OpenClaw, Cursor.

chadholdorf

jetlag-planner

★ 0

Scans your Google Calendar for upcoming flights and writes a personalized circadian adjustment plan back to your calendar. Trigger with phrases like "check my flights", "run jetlag planner", "plan my trip adjustment", or "am I ready for my upcoming flight".

chang-tong

139mail

★ 0

139邮箱邮件收发 Skill - 支持 IMAP/SMTP 协议,兼容139/QQ/163/Gmail等主流邮箱 功能: 1. 发送邮件(SMTP) 2. 接收邮件(IMAP) 3. 查看收件箱列表 4. 查看未读邮件 当用户提到 "发邮件"、"收邮件"、"查看邮件"、"邮箱" 或 "email" 时激活此 skill。

chao-nj-cn

qq-email

★ 0

Send and receive emails via QQ Mail SMTP/IMAP. Use when: user wants to send/receive emails, check inbox, read messages, or share documents via email. Requires QQ email authorization code configured in TOOLS.md.

cettoana

gog-restricted

★ 0

Google Workspace CLI for Gmail, Calendar, and Auth (restricted via security wrapper).

byungkyu

monday

★ 0

Monday.com API integration with managed OAuth. Manage boards, items, columns, groups, and workspaces using GraphQL. Use this skill when users want to create, update, or query Monday.com boards and items, manage tasks, or automate workflows. For other third party apps, use the api-gateway skill (https://clawhub.ai/byungkyu/api-gateway). Requires network access and valid Maton API key.