Developer Tools

An email automation CLI for AI agents

Install the Inbox Zero CLI and let Claude Code, Codex, or any AI coding agent manage your email rules and pull inbox analytics — all with JSON output.

Works with

Get started in seconds

Install the CLI globally with npm, then authenticate with your API key.

# Install globally
$ npm install -g @inbox-zero/api
# Set your API key
$ export INBOX_ZERO_API_KEY=iz_...
# You're ready
$ inbox-zero-api rules list --json

What you can do

Manage automation rules, read analytics, and inspect the API — all with --json output for scripting.

rules list

List all your automation rules with full configuration.

rules create

Create a new rule from a JSON file or stdin.

stats by-period

Get inbox statistics by day, week, month, or year.

openapi

Fetch the live OpenAPI schema for programmatic use.

config

Set base URL, API key, and other configuration options.

rules get

Inspect a single rule by ID with full details.

Built for AI coding agents

The CLI outputs JSON by default, making it easy for Claude Code, Codex, and other AI agents to parse and act on the results. Install it once and your agent can manage your inbox.

OpenClaw

The CLI is also available as an OpenClaw skill for AI agents.

Learn more

Get back an hour a day.
Start using Inbox Zero.

Less time in your inbox. More time for what actually matters.