简介
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、把文件清单和校验值给你看,你确认之后才解压安装。不会一步装完、也不改系统其它位置。
或者手动安装
包是「根级 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.coaddress 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:
- Sign up at
https://robotomail.comor create an account viaPOST /v1/signup - Create or list a mailbox with
GET /v1/mailboxesorPOST /v1/mailboxes - Send a test email with
POST /v1/mailboxes/{id}/messages - Read inbound email with
GET /v1/mailboxes/{id}/messages?direction=INBOUND - 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
| 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"
- List mailboxes:
GET /v1/mailboxes— find the mailbox to send from - Send:
POST /v1/mailboxes/{id}/messageswithto,subject,bodyText(and optionallybodyHtml) - To reply to an existing message, include
inReplyTowith the original message'smessageIdheader value
"Check my inbox" / "Read my email"
- List mailboxes:
GET /v1/mailboxes
- Fetch inbound messages:
GET /v1/mailboxes/{id}/messages?direction=INBOUND
- Read a specific message:
GET /v1/mailboxes/{id}/messages/{msgId}
"Reply to an email"
- Read the original message to get its
messageId field
- Send reply:
POST /v1/mailboxes/{id}/messages with inReplyTo set to the original's messageId value
- Threading is automatic — the reply joins the same thread
"Set up email for a new domain"
- Add domain:
POST /v1/domains with {"domain": "example.com"}
- Read the
dnsRecords from the response — tell the user to configure these at their DNS provider
- After DNS is configured, verify:
POST /v1/domains/{id}/verify
- Once verified, create a mailbox:
POST /v1/mailboxes with {"address": "agent", "domainId": "<id>"}
"Set up a webhook for incoming email"
- Create webhook:
POST /v1/webhooks with url and events: ["message.received"]
- Save the
secret from the response, it is shown only once
- Verify deliveries with
X-Robotomail-Signature header (HMAC-SHA256 of payload using secret)
GET /v1/mailboxesGET /v1/mailboxes/{id}/messages?direction=INBOUNDGET /v1/mailboxes/{id}/messages/{msgId}- Read the original message to get its
messageIdfield - Send reply:
POST /v1/mailboxes/{id}/messageswithinReplyToset to the original'smessageIdvalue - Threading is automatic — the reply joins the same thread
"Set up email for a new domain"
- Add domain:
POST /v1/domains with {"domain": "example.com"}
- Read the
dnsRecords from the response — tell the user to configure these at their DNS provider
- After DNS is configured, verify:
POST /v1/domains/{id}/verify
- Once verified, create a mailbox:
POST /v1/mailboxes with {"address": "agent", "domainId": "<id>"}
"Set up a webhook for incoming email"
- Create webhook:
POST /v1/webhooks with url and events: ["message.received"]
- Save the
secret from the response, it is shown only once
- Verify deliveries with
X-Robotomail-Signature header (HMAC-SHA256 of payload using secret)
POST /v1/domains with {"domain": "example.com"}dnsRecords from the response — tell the user to configure these at their DNS providerPOST /v1/domains/{id}/verifyPOST /v1/mailboxes with {"address": "agent", "domainId": "<id>"}- Create webhook:
POST /v1/webhookswithurlandevents: ["message.received"] - Save the
secretfrom the response, it is shown only once - Verify deliveries with
X-Robotomail-Signatureheader (HMAC-SHA256 of payload using secret)
See references/webhook-verification.md for signature verification code.
"Listen for incoming email in real time" / "Use SSE"
- Connect to
GET /v1/events
- Filter or react to
message.received, message.delivered, message.bounced, and message.complaint
- Use SSE when the agent wants a live stream instead of public webhook delivery
"Send an email with an attachment"
- Upload the file:
POST /v1/attachments (multipart/form-data, field name file, max 25MB)
- Note the returned attachment
id
- 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
GET /v1/eventsmessage.received, message.delivered, message.bounced, and message.complaint- Upload the file:
POST /v1/attachments(multipart/form-data, field namefile, max 25MB) - Note the returned attachment
id - 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
robotomail.co onlyIf 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 key403— Scoped key accessing a restricted resource404— Resource not found429— Rate limit or send quota exceeded413— 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.
bodyText for the plain-text version. Add bodyHtml only when rich formatting is needed.GET /v1/mailboxes/{id}/threads/{tid}) to see full conversation history before replying.since parameter (ISO-8601) to fetch only recent messages.GET /v1/suppressions) contains bounced/complained addresses — check before sending to addresses that previously failed.正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。