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

nemoclaw-email-policy尼莫爪电子邮件政策

Agent Skill

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

总安装

2,756

周安装

116

GitHub Stars

公开资料未说明

下载量

965
OpenClaw

安装说明

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

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:nemoclaw-email-policy(尼莫爪电子邮件政策)
来源仓库:https://github.com/stevenobiajulu/nemoclaw-email-policy
安装命令:
openclaw skills install nemoclaw-email-policy
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

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

ClawHubOpenClaw
openclaw skills install nemoclaw-email-policy

简介

使用 NemoClaw 在网络层面实施电子邮件安全策略。

  • 适用于需要配置邮件发送护栏、防止意外外发或管理邮件分配规则的场景。
  • 通过关键词触发,如“电子邮件政策”、“发送护栏”等指令时使用。
  • 安装命令:openclaw skills install nemoclaw-email-policy。
  • 需确认权限范围及是否涉及网络访问或敏感操作。

SKILL.md

name
nemoclaw-email-policy
description
>-
license
Apache-2.0
compatibility
>-
metadata
author
UseJunior
version
0.1.0

NemoClaw Email Policy

NemoClaw enforces network-level policies for AI agents. For email workflows, this means controlling which endpoints agents can reach — and which actions they cannot take — regardless of what the agent itself tries to do.

This is defense in depth: even if an email MCP server has a bug, or an agent hallucinates a send command, the network policy blocks the request before it reaches Microsoft's servers.

Why Policy Enforcement Matters

Email agents have access to sensitive data (inbox contents, contacts, calendars) and can take impactful actions (send email, create calendar events, modify inbox rules). In production, "the agent is well-behaved" is not a sufficient security model.

Failure modes without policy enforcement:

  • Agent sends an email to an unintended recipient because of a hallucinated address
  • A prompt injection in an email body tricks the agent into forwarding the message
  • Agent creates an inbox rule that forwards all email to an external address
  • A bug in the MCP server sends a draft that was not approved

NemoClaw prevents these by controlling the network layer — the agent process cannot reach endpoints that are not explicitly allowed.

Prerequisites

  • macOS (NemoClaw uses the macOS sandbox)
  • NemoClaw installed: npm install -g nemoclaw or clone from GitHub
  • Email MCP server configured: e.g., email-agent-mcp with Microsoft 365 OAuth completed

Setting Up the Outlook Preset

NemoClaw ships with a curated Outlook preset that allows the minimum necessary endpoints for Microsoft 365 email.

Apply for the current session

openshell policy set nemoclaw-blueprint/policies/presets/outlook.yaml

This enables access to:

  • graph.microsoft.com — Microsoft Graph API (GET, POST, PATCH)
  • login.microsoftonline.com — OAuth token refresh
  • outlook.office365.com — Outlook backend
  • outlook.office.com — Outlook web (for draft links)

All connections require TLS. The preset blocks all other outbound network access.

Make it permanent

To include the Outlook preset in your baseline policy:

  1. Merge the preset entries into your nemoclaw-blueprint/policies/openclaw-sandbox.yaml
  2. Re-run the onboard wizard:
   nemoclaw onboard

The preset is one of NemoClaw's 9 built-in presets (discord, docker, huggingface, jira, npm, outlook, pypi, slack, telegram).

What the Policy Enforces

Allowed: Read and Draft Operations

OperationEndpointMethod
List/search emailsgraph.microsoft.com/v1.0/me/messagesGET
Read email bodygraph.microsoft.com/v1.0/me/messages/{id}GET
Create draftgraph.microsoft.com/v1.0/me/messagesPOST
Update draftgraph.microsoft.com/v1.0/me/messages/{id}PATCH
List foldersgraph.microsoft.com/v1.0/me/mailFoldersGET
Create foldergraph.microsoft.com/v1.0/me/mailFoldersPOST
Move emailgraph.microsoft.com/v1.0/me/messages/{id}/movePOST
List eventsgraph.microsoft.com/v1.0/me/eventsGET
OAuth refreshlogin.microsoftonline.com/*/oauth2/v2.0/tokenPOST

Controlled: Send Operations

The Outlook preset allows POST to Graph API endpoints, which includes the send endpoint (/me/sendMail). To restrict sending further:

  1. email-agent-mcp send allowlist — configure which recipients the MCP server allows (empty by default — blocks all sends)
  2. Custom NemoClaw policy — create a custom policy that blocks the send endpoint entirely:
   - host: graph.microsoft.com
     port: 443
     tls: true
     methods: [GET, PATCH]  # POST removed — blocks send, create draft, move

For most deployments, the MCP allowlist is sufficient. The custom policy is for high-security environments where you want belt-and-suspenders.

Blocked: Everything Else

Any endpoint not in the preset is blocked. This prevents:

  • Data exfiltration to unknown servers
  • Communication with unauthorized APIs
  • Prompt injection attacks that try to redirect requests

Layered Security Model

Production email agents should use multiple layers:

LayerWhat it controlsTool
Network policyWhich endpoints the agent process can reachNemoClaw
Send allowlistWhich recipients the agent can emailemail-agent-mcp config
Draft-first workflowUser approves before any sendAgent skill / MCP design
Inbox rules securityBlock dangerous rule actions (forward, delete)Agent skill / MCP validation

Each layer catches a different class of failure. No single layer is sufficient alone.

Verifying the Policy

After applying the preset, verify it is active:

openshell policy list

Test that blocked endpoints are actually blocked:

# This should succeed (allowed endpoint)
curl -s -o /dev/null -w "%{http_code}" https://graph.microsoft.com/v1.0/me

# This should fail (blocked endpoint)
curl -s -o /dev/null -w "%{http_code}" https://api.example.com/exfiltrate

Troubleshooting

"Network request blocked" errors in the email MCP

The policy is working correctly. Check which endpoint was blocked in the NemoClaw logs. Common causes:

  • The email MCP is trying to reach an endpoint not in the preset (e.g., a new Microsoft endpoint)
  • A third-party dependency is making an unexpected outbound call

OAuth token refresh fails

Verify login.microsoftonline.com is in the allowed hosts. If using a custom policy instead of the preset, ensure both GET and POST are allowed for the login endpoint.

Calendar or Teams tools fail

The Outlook preset covers core email and calendar endpoints. For Teams, add the Teams preset separately or merge the required endpoints into your policy.

Feedback

If this skill helped, star us on GitHub: https://github.com/UseJunior/email-agent-mcp On ClawHub: clawhub star stevenobiajulu/nemoclaw-email-policy

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

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

04

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

能力 5

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

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

平台分布

OpenClaw

83.01%
按下载量换算801

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

敏感数据

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

安装前确认

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

来源信息

继续浏览同类 Skills