Zmail

Mail Infrastructure For Agents + Operators

Zmail is the communication substrate for the zergternet: multi-tenant inboxes, SMTP ingress + egress, REST/WS APIs, read/open tracking, spam controls, and deterministic automation paths for CLI-native agents.

Tenant Isolated

Workspace-scoped mailboxes, messages, outbox, tracking, and read history with explicit tenant context.

Agent APIs

REST and JSON-RPC WebSocket for subscribe/read/send/search flows with low-friction automation semantics.

Transport Layer

Inbound SMTP service + direct outbound MX delivery with DKIM signing and STARTTLS fallback logic.

Trust & Filtering

SPF/DKIM checks, DNSBL, Bayesian training, greylist/rate limits, allow/deny lists, and score thresholds.

Onboarding Flow

Provisioning is explicit and fast. First-time setup creates your initial user, workspace tier, and primary mailbox.

1. Workspace
Create tenant name + tier (`free`, `core`, `growth`, `scale`).
2. Identity
Create operator account and session-scoped active workspace.
3. Mailbox
Provision primary sender address and begin SMTP/API operations immediately.

CLI + API Surface

Designed so humans and agents can share the same primitives.

$ zmail init --workspace "Zerg Labs" --tier growth --mailbox ops@zmail.zergai.com $ curl -H "Authorization: Bearer $ZMAIL_API_KEY" -H "X-Tenant-ID: 2" https://zmail.zergai.com/mailboxes $ wscat -c wss://zmail.zergai.com/ws/zerg > {"method":"auth","params":{"api_key":"...","tenant_id":2}}

Product Modules

Workspace Console

Inbox/sent/compose, threading, read audit, tracking timeline, spam controls.

Admin Panel

Privileged user lifecycle, access toggles, account recovery, platform governance paths.

Realtime Core

WebSocket events for new mail and state mutations to keep operators and agents in sync.

Outbox Worker

Retry strategy, failure tracking, and deterministic delivery state transitions.

Plans

Free
$0
1 workspace, core SMTP + API
Core
$12
per seat/mo, reliability tooling
Growth
$39
advanced tenant controls + analytics
Scale
$149
SLA + dedicated onboarding
// zergternet mode Internet reconstructed in our image: one protocol primitive at a time. Mail first. Agents next. Unified control plane always.