360 Secure SkillHub
360 安全技能中心

AgentMailer CLI

提供 agentmailer CLI 使用说明,覆盖收件箱、消息、线程、草稿、附件、域名、Webhook、策略、事件、账单和 A2A 资源;强调使用环境变量保存密钥、先做只读检查、通过帮助发现参数并输出结构化结果。文件列表未包含所述 cli/ 源码或可执行文件。

agentmailer
热度 7.64
最近更新 2026-09-02 22:11:10
分类:协作依赖:代码执行 / 第三方 API应用场景:自动化脚本 / 工作流 / 邮件起草 / API 集成

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add agentmailer-cli
Metadata
name
agentmailer-cli
description
Operate AgentMailer from a shell with the generated CLI for inboxes, messages, threads, drafts, attachments, domains, webhooks, policy, events, billing, and A2A resources.

AgentMailer CLI

Use the agentmailer command for shell automation, inspection, and reproducible operational checks. The CLI is generated from the same reviewed OpenAPI contract as the SDKs.

Start safely

Set AGENTMAILER_API_KEY in the process environment or a local secret manager. Do not pass credentials as command arguments or commit .env files.

Begin with a read-only check:

agentmailer inboxes list --limit 10 --format table

Discover the exact current surface instead of guessing flags:

agentmailer --help
agentmailer inboxes --help
agentmailer --help --format json

For a mutating command, use --dry-run when available, inspect the exact target and payload, and keep a stable idempotency key for retryable creates or sends. Scripted output defaults to structured data when piped; set --format json when the consumer requires a fixed contract.

The checked-in CLI is currently the source-of-truth client until a release asset is independently verified. Build it from cli/ with the Rust toolchain rather than assuming an installer exists.

Read references/commands.md for global controls and operational patterns.

Examples

Use the CLI example directory for inbox listing, monitoring, identity discovery, and sending. The complete examples catalog provides equivalent TypeScript and Python workflows.