PO6 Mailbox
Manage your PO6 email aliases, mailbox, and landing pages through natural language.
PO6 gives you short, memorable email addresses like you@po6.com or email on your own domain. This skill connects to the PO6 MCP server so you can manage everything conversationally.
Setup
1. Get a PO6 account and API key
- 1. Sign up at po6.com
- Go to Dashboard > Mailbox > API Keys
- Create a new API key with the scopes you need
- Copy the key (starts with
mcp_po6_)
2. Set your API key
CODEBLOCK0
Or add it to your shell profile (~/.zshrc, ~/.bashrc) for persistence.
3. Add the MCP server
Add to ~/.openclaw/openclaw.json under mcpServers:
CODEBLOCK1
Or run the included setup script:
CODEBLOCK2
4. Restart OpenClaw
Restart to pick up the new MCP server.
Core Tasks
- - "Check my inbox for unread emails"
- "Send an email to alice@example.com about the project update"
- "Search my emails for invoices from last month"
- "Reply to the latest email from Bob saying I'll be there at 3pm"
- "Create a draft email to the team about the new schedule"
- "List my aliases and show which ones are active"
- "Create a landing page for our spring sale using the marketing template"
Available Tools
Mailbox Management (13 tools)
| Tool | Description |
|---|
| INLINECODE6 | List all accessible mailboxes |
| INLINECODE7 |
Get mailbox statistics (counts, storage, folders) |
|
list_emails | List emails with filters (folder, sender, date, unread, starred) |
|
get_email | Read full email content, headers, and attachments |
|
search_emails | Search emails by query across sender, subject, and content |
|
mark_email | Mark emails as read/unread or starred/unstarred |
|
move_email | Move emails between folders |
|
delete_email | Permanently delete an email (two-step confirmation) |
|
list_folders | List all folders in a mailbox |
|
list_email_lists | List contact/mailing lists |
|
get_email_list_contacts | Get contacts from a mailing list |
|
list_drafts | List draft emails pending review |
|
list_sent_emails | List sent emails with delivery status |
Email Sending (4 tools)
| Tool | Description |
|---|
| INLINECODE19 | Send a new email from your alias (requires paid plan) |
| INLINECODE20 |
Reply to an email |
|
forward_email | Forward an email to other recipients |
|
create_draft | Create a draft for your review before sending |
Templates (2 tools)
| Tool | Description |
|---|
| INLINECODE23 | Browse email templates |
| INLINECODE24 |
Get template details and variables |
Aliases & Domains (7 tools)
| Tool | Description |
|---|
| INLINECODE25 | List your @po6.com aliases |
| INLINECODE26 |
Get alias details and forwarding config |
|
update_alias | Update alias settings (forwarding, active, plus addressing) |
|
list_domains | List your custom (BYOD) domains |
|
get_domain | Get domain details (verification, MX, catchall) |
|
update_domain_alias | Update a domain alias |
|
update_catchall | Enable/disable catchall forwarding |
Landing Pages (13 tools)
| Tool | Description |
|---|
| INLINECODE32 | Browse available page templates |
| INLINECODE33 |
Get template details |
|
list_landing_pages | List your pages (draft/published/archived) |
|
get_landing_page | Get page content, config, and SEO settings |
|
create_landing_page | Create a new page from a template |
|
update_landing_page | Update page content, SEO, and settings |
|
publish_landing_page | Publish a landing page (two-step confirmation) |
|
unpublish_landing_page | Unpublish a page to draft (two-step confirmation) |
|
archive_landing_page | Archive a landing page (two-step confirmation) |
|
assign_landing_page_domain | Assign a custom domain (two-step confirmation) |
|
download_landing_page | Download page as standalone HTML |
|
get_landing_page_stats | View analytics (views, visitors, conversions) |
|
list_landing_page_leads | View form submissions and leads |
Environment Variable Contract
API Key Scopes
When creating your API key, select the scopes you need. Start with read-only scopes and add write scopes as needed.
| Scope | Access |
|---|
| INLINECODE47 | List mailboxes, folders, email summaries |
| INLINECODE48 |
Read full email content and attachments |
|
mailbox:search | Search emails |
|
mailbox:write | Mark, move emails |
|
mailbox:delete | Delete emails |
|
mailbox:send | Send, reply, forward emails |
|
alias:list | List aliases and domains |
|
alias:read | Read alias/domain details |
|
alias:write | Update alias and domain settings |
|
landing_page:list | List pages and templates |
|
landing_page:read | Read page content and stats |
|
landing_page:write | Create, update, archive pages |
|
landing_page:publish | Publish/unpublish pages |
|
landing_page:leads | Access lead/form submission data |
|
landing_page:domain | Manage custom domains on pages |
Rate Limits
| Limit | Value |
|---|
| API requests | 60/minute per key (configurable) |
| Email sending (Standard) |
30/hour, 200/day, 3,000/month |
| Email sending (Plus) | 60/hour, 500/day, 10,000/month |
| Email sending (Premium) | 100/hour, 500/day, 15,000/month |
| Brute force protection | 15 failed attempts in 15 min triggers 15 min lockout |
External Endpoints
This skill communicates only with:
- -
https://mcp.po6.com — PO6 MCP server (all tool calls)
No other external endpoints are contacted.
Security & Privacy
- - Secrets handling: Your API key is stored locally in your environment and never logged or sent to third parties. The key is transmitted only in the
Authorization header over TLS to mcp.po6.com. - Server-side hashing: API keys are SHA-256 hashed on the server. PO6 cannot see your key after creation.
- IP allowlists: Optionally restrict key usage to specific IP addresses (CIDR notation supported).
- Key expiration: Keys can be set to auto-expire on a date you choose.
- Confirmation for destructive actions:
delete_email, publish_landing_page, unpublish_landing_page, archive_landing_page, and assign_landing_page_domain all require two-step confirmation before execution. - Audit trail: All API calls are logged and visible in your PO6 dashboard.
- Scope isolation: Keys can be restricted to specific mailboxes and specific scopes, following the principle of least privilege.
- No external storage: No data is stored outside your PO6 account.
Troubleshooting
| Error | Fix |
|---|
| INLINECODE70 | Export the variable in the shell that runs OpenClaw. Run echo $PO6_API_KEY to verify. |
| INLINECODE72 |
Check that your key starts with
mcp_po6_ and hasn't expired. Generate a new key from your dashboard if needed. |
|
Rate limited (-32002) | Wait a minute and retry. If you need higher limits, upgrade your plan or contact support. |
|
Insufficient scopes | Your API key lacks permission for that action. Create a new key with the required scopes from your dashboard. |
|
IP not allowed | Your key has an IP allowlist and your current IP is not on it. Update the allowlist in your dashboard. |
Support
PO6 邮箱
通过自然语言管理您的 PO6 邮箱别名、邮箱和落地页。
PO6 为您提供简短易记的邮箱地址,例如 you@po6.com,或使用您自己的域名邮箱。此技能连接到 PO6 MCP 服务器,让您可以通过对话方式管理所有内容。
设置
1. 获取 PO6 账户和 API 密钥
- 1. 在 po6.com 注册
- 前往 仪表盘 > 邮箱 > API 密钥
- 创建新的 API 密钥,选择您需要的权限范围
- 复制密钥(以 mcppo6_ 开头)
2. 设置您的 API 密钥
bash
export PO6APIKEY=mcppo6yourkeyhere
或将其添加到您的 shell 配置文件(~/.zshrc、~/.bashrc)中以持久化保存。
3. 添加 MCP 服务器
在 ~/.openclaw/openclaw.json 的 mcpServers 下添加:
json
{
mcpServers: {
po6-mailbox: {
type: streamable-http,
url: https://mcp.po6.com,
headers: {
Authorization: Bearer ${PO6APIKEY}
}
}
}
}
或运行附带的设置脚本:
bash
./scripts/setup.sh
4. 重启 OpenClaw
重启以加载新的 MCP 服务器。
核心任务
- - 检查我的收件箱,查看未读邮件
- 发送一封关于项目更新的邮件给 alice@example.com
- 搜索我上个月的发票邮件
- 回复 Bob 的最新邮件,告诉他我下午 3 点到
- 给团队创建一封关于新日程的草稿邮件
- 列出我的别名并显示哪些是激活的
- 使用营销模板为我们的春季促销创建一个落地页
可用工具
邮箱管理(13 个工具)
| 工具 | 描述 |
|---|
| listmailboxes | 列出所有可访问的邮箱 |
| getmailbox_stats |
获取邮箱统计信息(数量、存储空间、文件夹) |
| list_emails | 按筛选条件列出邮件(文件夹、发件人、日期、未读、星标) |
| get_email | 读取完整邮件内容、头部信息和附件 |
| search_emails | 按查询条件搜索邮件(发件人、主题和内容) |
| mark_email | 将邮件标记为已读/未读或星标/取消星标 |
| move_email | 在文件夹之间移动邮件 |
| delete_email | 永久删除邮件(两步确认) |
| list_folders | 列出邮箱中的所有文件夹 |
| list
emaillists | 列出联系人/邮件列表 |
| get
emaillist_contacts | 获取邮件列表中的联系人 |
| list_drafts | 列出待审核的草稿邮件 |
| list
sentemails | 列出已发送邮件及其投递状态 |
邮件发送(4 个工具)
| 工具 | 描述 |
|---|
| composeemail | 从您的别名发送新邮件(需要付费计划) |
| replyemail |
回复邮件 |
| forward_email | 转发邮件给其他收件人 |
| create_draft | 创建草稿供您发送前审核 |
模板(2 个工具)
| 工具 | 描述 |
|---|
| listtemplates | 浏览邮件模板 |
| gettemplate |
获取模板详情和变量 |
别名和域名(7 个工具)
| 工具 | 描述 |
|---|
| listaliases | 列出您的 @po6.com 别名 |
| getalias |
获取别名详情和转发配置 |
| update_alias | 更新别名设置(转发、激活、加号地址) |
| list_domains | 列出您的自定义(BYOD)域名 |
| get_domain | 获取域名详情(验证、MX、全能收件) |
| update
domainalias | 更新域名别名 |
| update_catchall | 启用/禁用全能收件转发 |
落地页(13 个工具)
| 工具 | 描述 |
|---|
| listlandingpagetemplates | 浏览可用的页面模板 |
| getlandingpagetemplate |
获取模板详情 |
| list
landingpages | 列出您的页面(草稿/已发布/已归档) |
| get
landingpage | 获取页面内容、配置和 SEO 设置 |
| create
landingpage | 从模板创建新页面 |
| update
landingpage | 更新页面内容、SEO 和设置 |
| publish
landingpage | 发布落地页(两步确认) |
| unpublish
landingpage | 将页面取消发布为草稿(两步确认) |
| archive
landingpage | 归档落地页(两步确认) |
| assign
landingpage_domain | 分配自定义域名(两步确认) |
| download
landingpage | 将页面下载为独立 HTML |
| get
landingpage_stats | 查看分析数据(浏览量、访客数、转化数) |
| list
landingpage_leads | 查看表单提交和潜在客户 |
环境变量约定
API 密钥权限范围
创建 API 密钥时,选择您需要的权限范围。从只读范围开始,根据需要添加写入范围。
| 范围 | 访问权限 |
|---|
| mailbox:list | 列出邮箱、文件夹、邮件摘要 |
| mailbox:read |
读取完整邮件内容和附件 |
| mailbox:search | 搜索邮件 |
| mailbox:write | 标记、移动邮件 |
| mailbox:delete | 删除邮件 |
| mailbox:send | 发送、回复、转发邮件 |
| alias:list | 列出别名和域名 |
| alias:read | 读取别名/域名详情 |
| alias:write | 更新别名和域名设置 |
| landing_page:list | 列出页面和模板 |
| landing_page:read | 读取页面内容和统计信息 |
| landing_page:write | 创建、更新、归档页面 |
| landing_page:publish | 发布/取消发布页面 |
| landing_page:leads | 访问潜在客户/表单提交数据 |
| landing_page:domain | 管理页面上的自定义域名 |
速率限制
| 限制 | 数值 |
|---|
| API 请求 | 每分钟 60 次/密钥(可配置) |
| 邮件发送(标准版) |
每小时 30 封,每天 200 封,每月 3,000 封 |
| 邮件发送(增强版) | 每小时 60 封,每天 500 封,每月 10,000 封 |
| 邮件发送(高级版) | 每小时 100 封,每天 500 封,每月 15,000 封 |
| 暴力破解防护 | 15 分钟内 15 次失败尝试触发 15 分钟锁定 |
外部端点
此技能仅与以下地址通信:
- - https://mcp.po6.com — PO6 MCP 服务器(所有工具调用)
不联系任何其他外部端点。
安全与隐私
- - 密钥处理:您的 API 密钥本地存储在您的环境中,绝不会被记录或发送给第三方。密钥仅通过 TLS 在 Authorization 标头中传输到 mcp.po6.com。
- 服务器端哈希:API 密钥在服务器端经过 SHA-256 哈希处理。PO6 在创建后无法看到您的密钥。
- IP 白名单:可选择将密钥使用限制为特定 IP 地址(支持 CIDR 表示法)。
- 密钥过期:密钥可以设置为在您选择的日期自动过期。
- 破坏性操作确认:deleteemail、publishlandingpage、unpublishlandingpage、archivelandingpage 和 assignlandingpagedomain 在执行前都需要两步确认。
-