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

agentcloak-email-proxyagentcloak 电子邮件 Agent

Agent Skill

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

总安装

18,880

周安装

811

GitHub Stars

公开资料未说明

下载量

6,618
OpenClaw

安装说明

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

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

ClawHubOpenClaw
openclaw skills install agentcloak-email-proxy

简介

AI 代理的安全电子邮件代理。通过 MCP 搜索、阅读和起草电子邮件,并具有服务器端凭据隔离、PII 编辑、提示注入检测等功能。

SKILL.md

name
agentcloak
description
Secure email proxy for AI agents. Search, read, and draft emails via MCP with server-side credential isolation, PII redaction, prompt injection detection, and content filtering. Unlike raw Gmail/IMAP skills, your agent never sees passwords or unfiltered content. Self-host or use the hosted version.
homepage
https://github.com/ryanfren/AgentCloak
user-invocable
true
metadata
clawdbot
emoji
\F6E1\️
requires
bins
env
primaryEnv
AGENTCLOAK_API_KEY

AgentCloak

Secure email proxy for AI agents. AgentCloak sits between your agent and your email, so the agent gets useful email access without seeing credentials, sensitive financial data, PII, or prompt injection attacks.

Every other email skill on ClawHub gives your agent raw, unfiltered access to your inbox. AgentCloak is the only one with a built-in security pipeline.

What makes this different

  • Credential isolation — your email password/OAuth tokens stay server-side; the agent only has an API key
  • 4-stage content filter — blocklist, HTML sanitizer, PII redaction, prompt injection detection
  • Read + draft only — agents can search, read, list, and draft emails but cannot send, delete, or modify anything
  • Draft safety — drafts are never sent automatically; you review them first
  • Self-host or hosted — run your own instance or use the hosted version

Setup

Option A: Hosted version (quickest)

  1. Sign up at https://agentcloak.up.railway.app
  2. Connect your email (IMAP works with any provider, Gmail OAuth available by invite)
  3. Create an API key in the dashboard
  4. Configure:
export AGENTCLOAK_API_KEY=ac_your_key_here
mcporter config add agentcloak \
  --baseUrl "https://agentcloak.up.railway.app/mcp" \
  --header "Authorization: Bearer $AGENTCLOAK_API_KEY"

Option B: Self-hosted

  1. Clone and run:
git clone https://github.com/ryanfren/AgentCloak.git
cd agentcloak
pnpm install && pnpm build && pnpm dev
  1. Open http://localhost:3000, create an account, connect email, create API key
  2. Configure:
export AGENTCLOAK_URL=http://localhost:3000
export AGENTCLOAK_API_KEY=ac_your_key_here
mcporter config add agentcloak \
  --baseUrl "${AGENTCLOAK_URL}/mcp" \
  --header "Authorization: Bearer $AGENTCLOAK_API_KEY"

Requirements for self-hosting: Node.js 20+, pnpm 10+

Available tools

ToolDescriptionKey parameters
search_emailsSearch emails with Gmail-style queriesquery, max_results (1-200), page_token
read_emailRead full email content by IDmessage_id
list_threadsList conversation threadsquery, max_results, page_token
get_threadRead all messages in a threadthread_id
create_draftCreate a draft (not sent)to, subject, body, in_reply_to_thread_id
list_draftsList existing draftsmax_results
list_labelsList all labels with unread counts(none)
get_provider_infoGet provider type and capabilities(none)

Usage examples

# Search for unread emails
mcporter call agentcloak.search_emails query:"is:unread" max_results:10

# Read a specific email
mcporter call agentcloak.read_email message_id:"abc123"

# Get a full conversation thread
mcporter call agentcloak.get_thread thread_id:"thread456"

# Draft a reply (not sent until you review it)
mcporter call agentcloak.create_draft subject:"Re: Meeting" body:"Sounds good, see you Thursday." in_reply_to_thread_id:"thread456"

# List labels and unread counts
mcporter call agentcloak.list_labels

Security pipeline

Every email passes through a 4-stage filter before the agent sees it. Each stage is independently configurable from the dashboard.

Stage 1: Blocklist

Blocks emails from sensitive senders outright. Three toggleable categories:

  • Financial — 40+ domains (Chase, PayPal, Venmo, Coinbase, etc.)
  • Security senders — patterns like security@, fraud@, alerts@, .gov addresses
  • Security subjects — password resets, 2FA codes, verification links, login alerts

Plus custom blocklists: add your own domains, sender patterns, or subject patterns.

Stage 2: HTML sanitizer

Converts HTML email to plaintext and strips dangerous Unicode (zero-width characters, bidirectional overrides, tag characters, variation selectors) that could be used to hide prompt injection.

Stage 3: PII redaction

Redacts sensitive patterns with placeholders:

  • SSNs, credit card numbers, bank account/routing numbers
  • API keys (sk_, pk_, AWS keys), bearer tokens, PEM private keys
  • Optionally: email addresses, large dollar amounts

Stage 4: Prompt injection detection

Scans for 19 known injection patterns (instruction overrides, role reassignments, system tag injections, data exfiltration attempts). Flags detected content with a [AGENTCLOAK WARNING] prefix so the agent knows the email may be adversarial. Does not block — lets the agent make an informed decision.

Security and privacy

What data leaves your machine:

ScenarioData flow
Self-hostedNothing leaves your machine. All processing is local.
Hosted versionYour email credentials are stored server-side (encrypted). Email content passes through the hosted server's filter pipeline. No data is shared with third parties.
  • API keys are hashed (SHA-256) before storage — the server cannot recover your key after creation
  • Email credentials are stored server-side; the agent never sees them
  • All filtering happens server-side before content reaches the agent
  • The agent can only read and draft — it cannot send, delete, or modify emails
  • Source code is open: https://github.com/ryanfren/AgentCloak

Trust statement: By using the hosted version, you trust the AgentCloak server with access to your email account credentials and content. If this is not acceptable, self-host your own instance for full control.

Email providers

AgentCloak supports three connection methods:

  • IMAP — works with any email provider (Gmail, Outlook, ProtonMail Bridge, Fastmail, etc.)
  • Gmail OAuth — direct API access (currently invite-only during beta)
  • Gmail Apps Script — manual setup via script.google.com, no Google Cloud project needed

Limitations

  • Read and draft only — no send, delete, or modify
  • Gmail search syntax only (even for IMAP connections, queries are translated)
  • Attachment content is not accessible (metadata can optionally be shown)
  • Gmail OAuth is invite-only during beta; IMAP and Apps Script are open to all
  • Hosted version is in beta

Links

  • Homepage: https://agentcloak.up.railway.app
  • Source: https://github.com/ryanfren/AgentCloak
  • License: BSL 1.1

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

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

04

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

能力 5

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

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

平台分布

OpenClaw

77.12%
按下载量换算5,104

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

未展示

权限和风险

敏感数据

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

安装前确认

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

来源信息

继续浏览同类 Skills