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

Robotomail

Robotomail · v1.1.0
安全 unknown 级 作者 johnjoubert 公开目录收录
951 下载 1 安装 2.6k 收藏 1 浏览

简介

Robotomail

原始描述

Give an AI agent a real inbox and outbound email using Robotomail. Use this skill when the user asks you to send email, check inbox, read messages, reply to...

通过你的 Agent 添加

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

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

或者手动安装

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

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

技能正文


name: robotomail description: > Give an AI agent a real inbox and outbound email using Robotomail. Use this skill when the user asks you to send email, check inbox, read messages, reply to email, manage mailboxes, stream inbound events via SSE, set up email webhooks, configure email domains, or perform any email-related task programmatically. Trigger words: email, mailbox, inbox, send email, receive email, mail, webhook email, SSE, email events, agent inbox, outbound email, email infrastructure. license: MIT compatibility: > Requires curl (or any HTTP client) and a Robotomail API key. Sign up at https://robotomail.com or via the API. metadata: author: Robotomail version: 1.0.1 website: https://robotomail.com openclaw: requires: env: - ROBOTOMAIL_API_KEY primaryEnv: ROBOTOMAIL_API_KEY

Robotomail — Give Your AI Agent a Real Inbox

Robotomail lets an AI agent send, receive, and react to email programmatically. It is API-first email infrastructure for autonomous agents, assistants, and workflows.

Use Robotomail when you want an agent to:

  • send outbound email, reminders, updates, or follow-ups
  • read inbound email from a real inbox
  • react to incoming email via webhooks or real-time SSE events
  • reply in existing threads using normal email semantics
  • use a hosted robotomail.co address or a custom domain

Best-fit use cases

1. Agent support inbox

Give your agent a real inbox so it can classify, summarize, draft, or reply to incoming support emails.

2. Outbound follow-ups and reminders

Let an agent send reminders, nudges, receipts, booking confirmations, or outbound follow-ups from its own mailbox.

3. Real-time email triggers

Subscribe to inbound email events with webhooks or SSE so your agent can wake up and act immediately.

Fast start

If the user is new to Robotomail, the fastest path is:

  1. Sign up at https://robotomail.com or create an account via POST /v1/signup
  2. Create or list a mailbox with GET /v1/mailboxes or POST /v1/mailboxes
  3. Send a test email with POST /v1/mailboxes/{id}/messages
  4. Read inbound email with GET /v1/mailboxes/{id}/messages?direction=INBOUND
  5. Subscribe to inbound events via webhook or SSE

Authentication

All requests require an API key in the Authorization header:

Authorization: Bearer <ROBOTOMAIL_API_KEY>

Base URL: https://api.robotomail.com

If the user doesn't have an API key yet, they can sign up at https://robotomail.com or you can create an account via POST /v1/signup.

Quick Reference — What Can I Do?

Task Method Endpoint
Send an email POST /v1/mailboxes/{id}/messages
List inbox messages GET /v1/mailboxes/{id}/messages?direction=INBOUND
Read a specific message GET /v1/mailboxes/{id}/messages/{msgId}
List conversation threads GET /v1/mailboxes/{id}/threads
Read a thread GET /v1/mailboxes/{id}/threads/{tid}
List mailboxes GET /v1/mailboxes
Create a mailbox POST /v1/mailboxes
Add a custom domain POST /v1/domains
Verify domain DNS POST /v1/domains/{id}/verify
Set up a webhook POST /v1/webhooks
Stream events with SSE GET /v1/events
Upload an attachment POST /v1/attachments (multipart)
Check account & usage GET /v1/account

For full endpoint details including request/response schemas, read references/api-reference.md.

Webhooks vs SSE

Use webhooks when Robotomail should push events to your public HTTPS endpoint.

Use SSE when the agent wants a live event stream over a single long-lived connection, for example when running a local listener or agent loop.

If the user says things like "stream inbound mail", "listen for new messages", or "real-time inbox events", prefer SSE.

Decision Tree — Common Tasks

"Send an email"

  1. List mailboxes: GET /v1/mailboxes — find the mailbox to send from
  2. Send: POST /v1/mailboxes/{id}/messages with to, subject, bodyText (and optionally bodyHtml)
  3. To reply to an existing message, include inReplyTo with the original message's messageId header value

"Check my inbox" / "Read my email"

  1. List mailboxes: GET /v1/mailboxes
  2. Fetch inbound messages: GET /v1/mailboxes/{id}/messages?direction=INBOUND
  3. Read a specific message: GET /v1/mailboxes/{id}/messages/{msgId}

"Reply to an email"

  1. Read the original message to get its messageId field
  2. Send reply: POST /v1/mailboxes/{id}/messages with inReplyTo set to the original's messageId value
  3. Threading is automatic — the reply joins the same thread

"Set up email for a new domain"

  1. Add domain: POST /v1/domains with {"domain": "example.com"}
  2. Read the dnsRecords from the response — tell the user to configure these at their DNS provider
  3. After DNS is configured, verify: POST /v1/domains/{id}/verify
  4. Once verified, create a mailbox: POST /v1/mailboxes with {"address": "agent", "domainId": "<id>"}

"Set up a webhook for incoming email"

  1. Create webhook: POST /v1/webhooks with url and events: ["message.received"]
  2. Save the secret from the response, it is shown only once
  3. Verify deliveries with X-Robotomail-Signature header (HMAC-SHA256 of payload using secret)

See references/webhook-verification.md for signature verification code.

"Listen for incoming email in real time" / "Use SSE"

  1. Connect to GET /v1/events
  2. Filter or react to message.received, message.delivered, message.bounced, and message.complaint
  3. Use SSE when the agent wants a live stream instead of public webhook delivery

"Send an email with an attachment"

  1. Upload the file: POST /v1/attachments (multipart/form-data, field name file, max 25MB)
  2. Note the returned attachment id
  3. Send the message with attachments: ["<attachment-id>"]

Key Constraints

  • Daily send limits: 50/day (free), 1,000/day (paid) per mailbox — resets at midnight UTC
  • Monthly send limits: 1,000/month (free), 5,000/month (paid) per mailbox
  • Attachment size: Max 25MB per file
  • Storage: 1GB (free), 5GB (paid)
  • Free tier: 1 mailbox on robotomail.co only
  • Paid ($15/mo): 3+ mailboxes, custom domains

If a send returns 429, the mailbox has hit its daily or monthly limit. Tell the user and suggest upgrading if on the free plan.

Error Handling

All errors return {"error": "message"} with standard HTTP status codes:

  • 401 — Missing or invalid API key
  • 403 — Scoped key accessing a restricted resource
  • 404 — Resource not found
  • 429 — Rate limit or send quota exceeded
  • 413 — Attachment too large

Tips

  • Always use bodyText for the plain-text version. Add bodyHtml only when rich formatting is needed.
  • Use threads (GET /v1/mailboxes/{id}/threads/{tid}) to see full conversation history before replying.
  • When listing messages, use since parameter (ISO-8601) to fetch only recent messages.
  • Suppression list (GET /v1/suppressions) contains bounced/complained addresses — check before sending to addresses that previously failed.

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

标签

没有标签

同类 Skill