将邮箱命令行工具用作读取和管理电子邮件的工具。OpenClaw 负责渠道交付和调度。邮箱命令行工具返回结构化的 JSON 输出和可选的文本摘要。
npm install -g mailbox-cli)~/.config/mailbox/auth.json 中mailbox account list --jsonmailbox email list --limit 20 --jsonmailbox email show <email_uid> --account-id <account_id> --jsonmailbox email show <email_uid> --account-id <account_id> --preview --no-html --jsonmailbox email show <email_uid> --account-id <account_id> --preview --no-html --strip-urls --jsonmailbox email delete <email_uid> --account-id <account_id> --folder INBOX --confirm --jsonmailbox digest run --jsonmailbox monitor run --jsonmailbox inbox --limit 15 --text--json 并检查 success 字段。--account-id。--confirm 参数,否则破坏性操作默认为试运行模式。--dry-run。success 和 error 字段。error 是一个对象,格式为 { code, message, detail? }。