Security & Trust
mailbot checks identity, account authority and delivery policy before submitting mail. During a security migration, an account or sending feature may remain paused until its ownership and configuration have been reviewed.
Identity and authorization
Email ownership is required before usable credentials or inboxes are issued. API keys are stored as Argon2 hashes; the first eight characters select candidates for hash verification. Browser sessions expire within 24 hours and can be revoked server-side; integration keys have a separate lifecycle. See Authentication.
Every protected resource request checks account ownership and key permissions. Read-only keys cannot mutate data or send mail. Child keys cannot exceed their parent's authority. Transaction-scoped database roles and row-level security provide another tenant boundary; they do not replace explicit ownership checks. Inboxes, messages, threads, webhooks, attachments and audit logs are restricted to the authenticated account.
Account ownership
Successful GET /v1/account responses expose data.ownership_verified_at, an ISO 8601 timestamp. This proves email ownership only. An unverified account receives 403 OWNERSHIP_VERIFICATION_REQUIRED, without account data. Null or missing timestamps must be treated as unknown, including when talking to an older deployment.
Ownership does not grant permission to send. Paid plans and reviewed trust do not override recipient authorization, suppression, suspension, key permissions, domain verification, quota, billing review, attachment policy or emergency pauses. See Send Authorization.
Sending and recipients
Immediate, reply, scheduled and service-generated mail use the same final delivery policy. Suspension, revoked credentials, inactive inboxes, unverified domains, provider pauses, suppression and current quotas can stop a previously queued message.
- Unreviewed accounts may send to their verified owner. Additional recipients require reviewed, expiring approval with recipient and purpose evidence. Separately, an operator may grant reviewed account trust for broader sending. Neither a paid plan nor account trust overrides suppression or other delivery controls.
- Addresses in
to,ccandbccare normalized and deduplicated. A request may include at most ten distinct recipients. Quotas count recipient deliveries, including scheduled mail on its actual delivery day. Credit mode currently permits one recipient per message. - Platform and account suppression cover complaints, hard bounces, unsubscribe requests and operator blocks. Customer mail obeys every recipient opt-out. Essential internal notifications to the account owner may ignore a marketing-only opt-out, but never an all-purpose block.
- Omit outbound
attachmentsor use[]. Any nonempty array is refused with403 OUTBOUND_POLICY_DENIED, reasonattachment_review_required, before message creation, debit, reservation or transport. Non-array values remain400 VALIDATION_ERROR; the HTTP body ceiling can reject earlier with413. No attachment type, scanner or quarantine upload workflow is available. Inbound attachment storage and plan size limits are separate and unchanged. - Suspicious content is checked again at submission. A retained denial reason explains why a queued message was not delivered.
- New-account, shared-domain, account and inbox limits can restrict sending. Inspect the error response and Rate Limits, including the first-seven-day ceiling.
Shared-domain and untrusted sending may be paused independently. A global emergency pause also blocks verification mail. Automatic forwarding based only on a founder's MIME From address is disabled.
Callbacks and destinations
Outbound customer webhooks use HMAC-SHA256 on every plan. Verify X-Mailbot-Signature and the timestamp in the signed JSON body before processing events. Retries, DLQ and replay are standard; see Webhooks and Webhook Reliability.
Provider engagement callbacks use a separate authenticated raw-body contract with freshness, durable deduplication and exact message/inbox/account matching. Invalid authentication or mismatched relationships reject the request without event-state changes; unsupported event types are ignored. Callback processing remains explicitly unavailable until provider signing is configured and verified; disabled processing returns 503.
Customer-controlled destinations use bounded, DNS-pinned public HTTPS connections. Private, loopback, metadata and special addresses, unsafe ports and redirect escapes are denied. IMAP imports require validated public TLS destinations. SMTP STARTTLS depends on configured TLS certificates; HTTPS is the public client API.
Data and security evidence
Messages and attachments are account-scoped. Audit records follow their retention policy; append-only does not mean unlimited retention. Read recorded inbox actions, outbound attempts and outbound.denied reasons using GET /v1/audit-log, not a dashboard inbox console.
Persistent suspension, billing fraud holds and required security evidence are kept separately so audit retention cannot reinstate an account. Reinstatement requires reviewed operator action and does not automatically restore revoked credentials or old queues.
Refunds, reversals and disputes are recorded durably and can require review before sending resumes. A later payment or activation event cannot silently clear an abuse hold.
Assurance
mailbot does not currently hold SOC 2, ISO 27001 or equivalent certification. Technical controls do not by themselves establish certification. Security questions can be sent to security@getmail.bot.