Create Inbox
Provision a new Puffle-managed inbox on a verified custom domain and register it for warmup.
Overview
Provisions a new inbox. The server creates the backing inbox on a verified custom domain, registers the account for warmup, creates/assigns the account tag, and inserts the row into theaccounts table with type = "email".
Warmup analytics live behind a separate endpoint — GET /api/email/accounts/warmup-analytics — and are not returned here.
/api/email/accounts with the list verb. See List inboxes to enumerate existing inboxes.AI agent notes
createEmailAccount rejects any domain_id whose backing email_domains.status is not verified. The usual flow is:createEmailDomain— register the domain, DNS auto-synced when Puffle can manage the zone.- Poll
verifyEmailDomainwith?poll=trueon a cadence untilstatus === "verified"(orstatus === "failed"). - Only then call
createEmailAccountwith thatdomain_id.
status: "warming" will NOT send campaign emails until warmup completes (or is disabled). Plan for a warmup window before scheduling the first real campaign.Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
Required: username + domain_id. The full address is composed as <username>@<domain>. Provisioning creates the backing inbox, registers warmup, creates or assigns tags, and inserts the DB row; partial failures trigger best-effort rollback.
Local part of the email (everything before @). Lowercased server-side. Only a-z, 0-9, ., -, _ are allowed.
1UUID of an email_domains row owned by the caller. The domain's status must be verified — see POST /api/email/domains/{id}/verify.
Human-friendly sender name. If omitted and first_name/last_name are set, display_name is derived from them.
Response
Account created. If warmup enablement succeeded, status is warming and warmup_status is warming. If warmup failed, status is pending and the client can retry via retry-account-warmup.
A Puffle-managed email sending inbox. Each account row maps to one backing inbox and optional warmup registration.