DEVELOPER TOOLS

Cakemail CLI

Official command-line interface for the Cakemail API. Built on top of the official SDK with 100% API coverage (232 operations).

Key Features

Email API v2

Send transactional emails with HTML, templates, tracking, and custom parameters

$ cakemail emails send -t user@example.com -s "Subject" --html "<h1>Hello</h1>"

Campaign Management

Create, schedule, and manage email campaigns with full lifecycle control

$ cakemail campaigns list --status delivered

Reports & Analytics

Track campaign performance, link clicks, and export detailed analytics reports

$ cakemail reports campaign 123

Three User Profiles

Choose Developer (fast, scriptable), Marketer (guided, interactive), or Balanced mode

$ cakemail config profile-set developer

Contact & List Management

Manage contacts, lists, segments, custom attributes, and subscription forms

$ cakemail contacts list --filter "status==active"

Tags & Interests

Organize contacts with tags and interests, with bulk operations support

$ cakemail tags list --with-count

Template Management

Create and manage email templates and transactional templates with variables

$ cakemail templates create -n "Newsletter"

Smart Auto-Detection

Automatically detects list IDs and sender IDs when you only have one - zero config needed

$ cakemail contacts list

Multi-Account Support

Seamlessly switch between parent and sub-accounts for multi-tenant workflows

$ cakemail account use 456

Quick Installation

Get up and running in seconds with Homebrew, npm, or npx

# via Homebrew (macOS/Linux)
brew tap cakemail/cakemail
brew install cakemail-cli

# via npm
npm install -g @cakemail-org/cakemail-cli

# via npx (no installation)
npx @cakemail-org/cakemail-cli --help

# No setup required! Just run any command
cakemail campaigns list