AgentMailer CLI examples

Small, composable shell workflows for the generated agentmailer CLI. They default to read-only behavior and produce JSON suitable for jq or another agent process.

1export AGENTMAILER_API_KEY="..."
2export AGENTMAILER_INBOX_ID="inbox_..."
ScriptPurpose
list-inboxes.shEnumerate inboxes as JSON
inbox-monitor.shPoll and emit newly observed inbound messages
discover-agent.shRead an A2A Agent Card by handle
send-email.shPreview an email request; send only with SEND_EXAMPLE=1

All scripts require the CLI on PATH. inbox-monitor.sh and send-email.sh also require jq. Never pass secrets in command-line arguments or commit shell history that contains credentials.