微算力 · API 导航与自营网关
API 接入 EN
未登录登录
📧

AI 代理的云端邮件中枢

xobni · vv1.0.1
入口已确认,内容待校验 文件树里有 SKILL.md,但正文还没采回,frontmatter 未核对。
专业技能 安全 S+ 级 作者 ghoshsanjoy78 公开目录收录
240 下载 113 安装 508 收藏 14k 浏览

简介

基于 Xobni.ai 平台为 AI Agent 提供真实邮箱与完整收发能力,通过 REST/MCP 双协议实现邮件自动化集成,支持语义搜索与智能附件处理。

原始描述

Email infrastructure for AI agents via Xobni.ai. Provides real email addresses (@xobni.ai) with REST API and MCP server access. Use when an AI agent needs to send/receive email, search inbox, manage attachments, or set up webhooks for email notifications.

通过你的 Agent 添加

安装目录:xobni/(目录名取自 SKILL.md 的 frontmatter name,不是 URL 里的 slug)。

点「快速安装」复制一段指令贴给你的 Agent:它会先下载到 /tmp、把文件清单和校验值给你看,你确认之后才解压安装。不会一步装完、也不改系统其它位置。

或者手动安装

Claude Code~/.claude/skills/xobni/
Codex CLI~/.codex/skills/xobni/
DeepSeek Harness~/.agents/skills/xobni/

包是「根级 SKILL.md + 作者附带的文件」,解压到上面的 <slug>/ 目录即可; 目录名不用换,也不要把包直接解压到 skills 根目录。 技能申请的权限由作者决定:装之前先看清单里有没有脚本、它会读写什么。

中文使用说明 来自收录源

核心用法

Xobni.ai 是一项专为 AI Agent 设计的邮箱基础设施服务,让每个 Agent 拥有独立的真实邮箱地址(如 your-agent@xobni.ai)。用户通过创建 Agent 并获取 API Key 即可接入,支持 REST API 与 MCP Server 两种连接方式。MCP 模式下提供 14 个标准工具,涵盖收件箱读取、邮件发送、语义搜索、附件管理、Webhook 配置等全功能;REST API 则适合直接集成到现有后端系统。

显著优点

  1. Agent 级隔离安全:API Key 采用单 Agent 作用域设计,自动解析账户 ID,无需手动传递,天然防止跨 Agent 数据泄露。
  2. 语义搜索能力:支持自然语言查询邮件正文及附件内容(PDF/DOCX/XLSX/PPTX),突破传统关键词匹配的局限。
  3. 实时事件驱动:Webhook 机制支持 email.received 和 email.sent 事件推送,便于对接 n8n、Zapier、Make 等自动化平台。
  4. 零代码基础设施:纯文档型 Skill,无可执行代码,依赖方无需担心供应链攻击或代码注入风险。

潜在缺点与局限性

  • 生态绑定:邮件地址域名锁定为 @xobni.ai,无法使用自有域名,品牌定制化受限。
  • 附件容量限制:单次发送最多 10 个附件,总大小不超过 10MB,大文件传输需借助外部存储。
  • Webhook Payload 精简:事件推送仅包含 200 字符摘要,完整内容需二次 API 调用获取,增加实时场景下的延迟。
  • 服务依赖风险:核心功能完全依赖 xobni.ai 官方服务可用性,无自托管选项。

适合人群

  • 自动化工作流开发者:需要让 AI Agent 自主处理邮件收发、客户跟进、发票处理等任务的效率工具用户。
  • MCP 生态早期采用者:希望将邮件能力无缝集成到 Claude Desktop 或其他 MCP 客户端的技术用户。
  • 合规敏感型企业:纯文档型架构通过 S+/T2 安全认证,适合对供应链安全有严格要求的组织。

常规风险

  • API Key 泄露风险:尽管 Key 已做作用域隔离,仍需妥善保管;泄露后可能导致该 Agent 的邮件数据被完全访问。
  • Webhook 端点安全:接收端需验证请求来源,防止伪造事件推送导致误操作。
  • 服务商持续性:作为新兴服务,长期运营稳定性、定价策略变更及数据迁移路径需持续关注。

技能正文


name: xobni description: Email infrastructure for AI agents via Xobni.ai. Provides real email addresses (@xobni.ai) with REST API and MCP server access. Use when an AI agent needs to send/receive email, search inbox, manage attachments, or set up webhooks for email notifications.

Xobni.ai Email Skill

Give AI agents real email addresses with full inbox functionality.

Quick Start

  1. Create agent at xobni.ai/agents/new → gets email like your-agent@xobni.ai
  2. Create API key at xobni.ai/settings/api-keys scoped to your agent
  3. Connect via REST API or MCP

API Key Scoping

Each API key is scoped to a single agent. The key can only access that agent's emails, threads, attachments, and webhooks. No need to pass account_id or agent_id — they're auto-resolved from your key.

What scoped keys can do:

  • Read, send, search, and manage emails
  • Create and manage webhooks
  • View agent info and storage usage

What scoped keys cannot do:

  • Access other agents' data (returns 403)
  • Create or delete agents
  • Manage API keys or billing

MCP Connection

URL: https://api.xobni.ai/mcp/
Transport: Streamable HTTP
Auth: Authorization: Bearer YOUR_API_KEY

Claude Desktop Config

{
  "mcpServers": {
    "xobni": {
      "url": "https://api.xobni.ai/mcp/",
      "headers": {
        "Authorization": "Bearer YOUR_API_KEY"
      }
    }
  }
}

Core Operations

Read Inbox

curl -H "Authorization: Bearer $XOBNI_KEY" \
  "https://api.xobni.ai/api/v1/emails?status=received&limit=20"

Send Email

curl -X POST -H "Authorization: Bearer $XOBNI_KEY" \
  -H "Content-Type: application/json" \
  "https://api.xobni.ai/api/v1/emails/send" \
  -d '{"to":["recipient@example.com"],"subject":"Hello","body_text":"Message here"}'

Send with Attachments

curl -X POST -H "Authorization: Bearer $XOBNI_KEY" \
  -H "Content-Type: application/json" \
  "https://api.xobni.ai/api/v1/emails/send" \
  -d '{
    "to":["recipient@example.com"],
    "subject":"Report",
    "body_text":"See attached.",
    "attachments":[{"filename":"report.pdf","data":"<base64>","content_type":"application/pdf"}]
  }'

Search (Semantic)

curl -X POST -H "Authorization: Bearer $XOBNI_KEY" \
  -H "Content-Type: application/json" \
  "https://api.xobni.ai/api/v1/search" \
  -d '{"query":"invoices from last month","limit":10}'

Get Agent Info

curl -H "Authorization: Bearer $XOBNI_KEY" \
  "https://api.xobni.ai/api/v1/agents"

Check Storage Usage

curl -H "Authorization: Bearer $XOBNI_KEY" \
  "https://api.xobni.ai/api/v1/emails/storage-usage"

MCP Tools (14 total)

Tool Purpose
get_agent_info Get agent's name, email, slug, status
read_inbox List emails with filters (status, limit, offset)
read_email Get full email content by ID
send_email Send with optional attachments and reply threading
get_thread Get all emails in a conversation
list_attachments List attachments for an email
download_attachment Get pre-signed download URL (15 min)
get_attachment_text Extract text from PDF/DOCX/XLSX/PPTX
mark_email Update status: read/unread/starred/unstarred/archived
search_emails Semantic search across emails + attachments
list_webhooks List configured webhooks
create_webhook Create webhook for email.received/email.sent
delete_webhook Remove a webhook
list_webhook_deliveries View webhook delivery history

Webhooks

Set up real-time notifications when emails arrive or are sent:

curl -X POST -H "Authorization: Bearer $XOBNI_KEY" \
  -H "Content-Type: application/json" \
  "https://api.xobni.ai/api/v1/event-hooks" \
  -d '{
    "url": "https://your-endpoint.com/webhook",
    "events": ["email.received"],
    "description": "Email notifications"
  }'

Supported events: email.received, email.sent. Payloads include email metadata and a 200-character snippet. Use read_email to fetch full content.

API Reference

See references/api.md for full endpoint documentation.

Key Concepts

  • Agent-scoped keys: Each key works with one agent only. Auto-resolves IDs.
  • Semantic search: Natural language queries across email bodies AND attachments (PDF, DOCX, etc.)
  • Attachments: Send files via base64 (max 10 files, 10MB total)
  • Webhooks: Real-time notifications for email events via n8n, Zapier, Make, or any HTTP endpoint.

正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。

标签

apiautomationbackendcommunicationproductivitycustomer-support

同类 Skill