AI toolkit for email marketing operations — configure, benchmark, compare, prompt, evaluate, fine-tune, analyze, cost, usage, optimize, test, and report. All entries are logged locally with timestamps for tracking and audit.
CommandDescriptionemail-marketer configure <input>Configure email marketing settings or record a config entryemail-marketer benchmark <input>Run benchmarks or record a benchmark entryemail-marketer compare <input>Compare campaigns or record a comparison entryemail-marketer prompt <input>Generate or record email promptsemail-marketer evaluate <input>Evaluate campaign performance or record an evaluation entryemail-marketer fine-tune <input>Fine-tune parameters or record a fine-tuning entryemail-marketer analyze <input>Analyze campaign data or record an analysis entryemail-marketer cost <input>Track costs or record a cost entryemail-marketer usage <input>Track usage metrics or record a usage entryemail-marketer optimize <input>Optimize campaigns or record an optimization entryemail-marketer test <input>Run A/B tests or record a test entryemail-marketer report <input>Generate reports or record a report entryemail-marketer statsShow summary statistics across all entry typesemail-marketer export <fmt>Export all data (json, csv, or txt)email-marketer search <term>Search across all log entries by keywordemail-marketer recentShow the 20 most recent activity entriesemail-marketer statusHealth check — version, data dir, entry count, disk usageemail-marketer helpShow help with all available commandsemail-marketer versionShow current version (v2.0.0)
Each command (configure, benchmark, compare, prompt, evaluate, fine-tune, analyze, cost, usage, optimize, test, report) works in two modes:
All data is stored locally at ~/.local/share/email-marketer/. Each action is logged to its own file (e.g., configure.log, benchmark.log, analyze.log). A unified history.log tracks all operations. The built-in export function supports JSON, CSV, and plain text formats.
set -euo pipefail)wc, du, grep, tail, sed, date)bash
# Configure a new campaign
email-marketer configure "weekly newsletter — segment: active users, send: Tuesday 9AM"
# Record a benchmark result
email-marketer benchmark "open rate 24.5%, click rate 3.2%, industry avg 21%"
# Compare two campaigns
email-marketer compare "Campaign A: 28% open vs Campaign B: 22% open"
# Evaluate campaign performance
email-marketer evaluate "Q1 drip sequence — 15% conversion, 2.1% unsubscribe"
# Record a cost entry
email-marketer cost "March send volume: 50K emails, cost: $45"
# Run an A/B test
email-marketer test "Subject line A vs B — A won with 31% open rate"
# View recent activity
email-marketer recent
# Export all data as CSV
email-marketer export csv
# Search for entries about "onboarding"
email-marketer search onboarding
# Check overall health
email-marketer status
Powered by BytesAgain | bytesagain.com | hello@bytesagain.com