Token导航 LogoToken导航TokenDH.com
研究检索敏感数据clawhub未标认证来源可访问clear审计提醒

outlook-email-skill-fixedOutlook 电子邮件技能已修复

Agent Skill

outlook-email-skill-fixed 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

3,128

周安装

133

GitHub Stars

公开资料未说明

下载量

1,096
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:outlook-email-skill-fixed(Outlook 电子邮件技能已修复)
来源仓库:https://github.com/dongrebeccahhh-boop/outlook-email-skill-fixed
安装命令:
openclaw skills install outlook-email-skill-fixed
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install outlook-email-skill-fixed

简介

outlook-email-skill-fixed 支持通过 Microsoft Graph API 操作 Outlook/Live.com 邮件与日历。

  • 可用于列出、搜索、阅读、发送邮件以及管理日历事件。
  • 通过 clawhub 安装,需完成微软账户授权流程。
  • 使用前请确认是否拥有有效的 API 访问令牌及相应作用域权限。
  • 注意该技能仅适用于个人 Microsoft 账户,不支持企业版集成。

SKILL.md

name
outlook
emoji
f4e7
description
Microsoft Outlook/Live.com email and calendar client via Microsoft Graph API. List, search, read, send emails. View and create calendar events. Supports device code auth for servers.
license
MIT
compatibility
[openclaw, openclaw-cli, openclaw-web, claude-desktop, claude-api, claude-cli]
allowed-tools
[Bash, Read, Write, Python]
network_access
true
metadata

Outlook CLI

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

Version: 2.0

Features:

  • 📧 Email management (list, search, read, send, reply)
  • 📅 Calendar management (view, create events)
  • 🔐 Device code authentication (for servers/headless environments)
  • ⚡ Auto token refresh

System Requirements & Permissions

Required Tools:

  • Bash: Execute Python CLI script
  • Read: Read token and configuration files
  • Write: Store OAuth tokens and settings

Network Access:

  • ✅ This skill makes HTTPS API calls to Microsoft Graph API (graph.microsoft.com)
  • ✅ Requires internet connection for all operations
  • ✅ Uses Python requests library for HTTP communications

Data Storage:

  • OAuth tokens stored at: ~/.config/outlook-cli/token.json (requires file permission 600)
  • No email content is stored locally (all operations via API)

Python Dependencies:

  • Python 3.6+
  • requests library

Setup

⚠️ 安全提示: - 请仅从官方 Microsoft Azure 门户 (https://portal.azure.com) 创建应用并获取凭据 - 切勿使用来自非官方渠道、第三方网站或他人分享的凭据 - Client ID 和 Tenant ID 可以公开,但 Client Secret 必须保密 - 定期审查和轮换凭据以提高安全性 - 仅授予必需的最小权限(遵循最小权限原则)
  1. Create Azure AD App: https://portal.azure.com → App registrations

- Name: outlook-cli - Account type: "Any organizational directory and personal Microsoft accounts" - Redirect URI: http://localhost:8080/callback - Enable public client flows: Yes

  1. Add API permissions (Microsoft Graph, Delegated):

- Mail.Read, Mail.ReadWrite, Mail.Send - Calendars.Read, Calendars.ReadWrite - User.Read, offline_access

  1. Get credentials from your app registration

- ⚠️ 重要: 确认你正在官方 Azure 门户 (portal.azure.com) 操作 - 记录 Application (client) ID 和 Directory (tenant) ID

  1. Configure:
   outlook configure
  1. Authenticate:
   # For local environment with browser
   outlook auth

   # For servers/headless environments (recommended)
   outlook auth --device-code
  1. Secure token file (Critical!):
   # Set restrictive permissions
   chmod 600 ~/.config/outlook-cli/token.json

   # Verify (should show: -rw-------)
   ls -l ~/.config/outlook-cli/token.json

> ⚠️ Important: Never commit this file to version control or share it with others!

Commands

Email Commands

CommandDescription
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 statusCheck auth status

Calendar Commands 🆕

CommandDescription
outlook calendar list [--days N]List upcoming events
outlook calendar create ...Create calendar event

Examples

Email Operations

List emails:

outlook list 20

返回格式示例:

│ 序号 │           发件人           │             主题              │       日期       │  状态  │
├──────┼────────────────────────────┼───────────────────────────────┼──────────────────┼────────┤
│  1   │ user@example.com           │ 项目进展汇报                    │ 2026-03-19 10:30 │ 未读   │
│  2   │ admin@company.com          │ 周会通知                       │ 2026-03-19 09:15 │ ✓ 已读 │
│  3   │ noreply@service.com        │ 账户安全提醒                    │ 2026-03-18 18:20 │ 未读   │

Search:

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

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!"

Calendar Operations 🆕

View events:

# Next 7 days (default)
outlook calendar list

# Next 14 days
outlook calendar list --days 14

Create event:

# Simple event
outlook calendar create \
  --subject "Team Meeting" \
  --date "2026-03-20" \
  --time "14:00" \
  --duration 60

# With attendees and location
outlook calendar create \
  --subject "Project Review" \
  --date "2026-03-21" \
  --time "10:00" \
  --duration 90 \
  --attendees "user1@example.com,user2@example.com" \
  --location "Conference Room A"

Authentication 🆕

Browser auth (local environment):

outlook auth

Device code auth (servers/headless):

outlook auth --device-code
# Visit https://microsoft.com/devicelogin
# Enter the displayed code

Search Operators

  • from:email@domain.com - Sender
  • to:email@domain.com - Recipient
  • 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 (Python)
  • README.md - Full documentation

Authentication & Token Management

Token storage location: ~/.config/outlook-cli/token.json

🔐 Security Warning - Token File Protection: - This file contains sensitive OAuth tokens that grant access to your email and calendar - NEVER share, commit to version control, or expose this file publicly - Set restrictive file permissions immediately after first authentication: ``bash chmod 600 ~/.config/outlook-cli/token.json ` - Verify permissions: ls -l ~/.config/outlook-cli/token.json should show -rw------- - Add to .gitignore if working in a git repository: `bash echo ".config/outlook-cli/token.json" >> ~/.gitignore `` - If the token file is accidentally exposed, immediately revoke access at: https://account.microsoft.com/privacy/app-access → Remove outlook-cli app

Token features:

  • ✅ Automatic token refresh
  • ✅ No need to re-authenticate on restart
  • ✅ Long-lived refresh tokens (up to 90 days)

When re-authentication is required:

ScenarioReason
Changed Microsoft passwordRefresh token immediately invalidated
Token expired (>90 days)Microsoft refresh token has limited lifetime
Manually revoked accessApp permissions revoked in Microsoft account settings
Token file deletedFile loss requires re-authentication

Re-authentication:

outlook auth --device-code
# Visit https://login.microsoft.com/device
# Enter the displayed code

Common Issues

Q: Token expired?

A: Run outlook auth --device-code to re-authenticate.

Q: Token file accidentally exposed or committed to git?

A: Immediate action required:

  1. Revoke access at https://account.microsoft.com/privacy/app-access
  2. Delete the exposed token file: rm ~/.config/outlook-cli/token.json
  3. Re-authenticate: outlook auth --device-code
  4. Set proper permissions: chmod 600 ~/.config/outlook-cli/token.json
  5. If committed to git, remove from history: git filter-branch or BFG Repo-Cleaner

Q: How to create recurring meetings?

A: Use Microsoft Graph API's recurrence field, or create via Outlook web interface.

Q: API rate limit?

A: Microsoft Graph API has daily limits. Wait 1-2 hours and retry.

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

74.9%
按下载量换算821

安全审计

VirusTotal

通过

ClawScan

可疑

Static analysis

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills