Skip to content

Sending Practices & Feedback Handling

This page is written for AWS SES reviewers evaluating a request to move a ServerlessInbox deployment out of the SES sandbox. It describes how the product sends mail, who it sends to, and what happens when a recipient bounces or complains.


ServerlessInbox is a self-hosted email server that runs entirely in the customer’s own AWS account. It implements the JMAP protocol (RFC 8621) and uses Amazon SES as its only outbound sending service. The customer is the AWS account holder and the SES sender; every message is composed by a person in the company, in a webmail interface or a JMAP-compatible email client, and sent when that person submits it.


Business email sent by the company’s own staff from their own domains, to people they correspond with. No campaigns, no purchased lists.


Recipients are the people the sender is corresponding with: people who wrote to them, people they are replying to, and contacts the sender addresses themselves. Each message is addressed by the person writing it. ServerlessInbox has no campaign, list-management or bulk-send feature, and it never imports or buys recipient lists.


Every submission passes four checks before it is accepted for sending:

  • Submission rights. The user must hold the right to submit mail on the account, and on every mailbox the message currently sits in. A user without it cannot send.
  • Identity owned by the account. The sending identity must belong to the account the message belongs to. A user cannot send as an identity of another account.
  • From matches the identity. The message’s From header must include the identity’s address.
  • Envelope sender equals the identity. The envelope sender must be exactly the identity’s address, so bounces for a message always return to the identity that sent it.

A submission that fails any check is rejected in the same response, and nothing reaches SES.


ServerlessInbox is for one-to-one business correspondence, not mailing lists or bulk mail, and therefore does not add an unsubscribe header. A recipient who marks a message as spam is permanently suppressed (see below). An administrator can clear a suppression; every clearing is recorded in the audit log with the administrator, the address and the time. If an address hard-bounces, it is suppressed automatically. See Bounces and complaints for the exact rules.


Domain authentication: DKIM, SPF and DMARC

Section titled “Domain authentication: DKIM, SPF and DMARC”

Every sending domain is set up the same way. When the domain is added, DKIM is requested from SES, and ServerlessInbox turns the DKIM tokens SES issues into the DNS records the domain needs: the DKIM records, and the SPF and DMARC records. The domain’s DKIM status is shown alongside its verification status. The installation’s administrator applies the records: ServerlessInbox writes them for a domain hosted in Route 53, and for any other DNS provider the same list is added at that provider.

The installation’s administrator configures two settings per domain:

  • SPF mode. Off leaves SPF alone. Check only checks the domain’s SPF record and reports on it without changing anything. Create if missing is the default: it writes an SPF record only when the domain does not have one. Force value writes ServerlessInbox’s SPF value and overwrites an existing SPF record, while keeping the domain’s other TXT values.
  • DMARC policy. DMARC is published by default with a monitoring policy (p=none); the administrator can raise it to quarantine or reject, or turn the record off for a domain that already has its own.

SES publishes bounce, complaint, delivery, send, reject and delivery-delay events for every message ServerlessInbox sends to an SNS topic. The topic invokes a processor that handles each one automatically, with no human action required:

Amazon SES → SNS topic → event processor

Delivery, send, reject and delivery-delay events update the delivery status of the submission. Bounces and complaints also update the recipient’s suppression record.

A permanent bounce suppresses the recipient address for all sending. How long depends on the SES bounce subtype:

SES bounce subtypeSuppression
General, MailboxFull30 days, then the address is eligible again
Any other subtype, including NoEmail, Suppressed and OnAccountSuppressionListUntil an administrator clears it

General and MailboxFull expire because they are recoverable conditions.

A permanent bounce also places a delivery status notification in the sending user’s inbox, so they know the message was not delivered. Transient and undetermined bounces do not.

A soft bounce does not block sending on its own. ServerlessInbox counts them over a 24-hour window that starts at the recipient’s first soft bounce. Transient bounces are counted per recipient. Five inside 24 hours suppress the address for 7 days.

SES reports some bounces as undetermined. ServerlessInbox counts each one against the recipient together with transient bounces; five inside 24 hours suppress the address for 7 days.

A single complaint suppresses the address permanently, with no automatic expiry.


Every submission is checked against the suppression records before it is accepted; the email sending pipeline describes the check and what the sender receives.


Every bounce, complaint and blocked send can be traced back to the sender that caused it.

  • Tags: every message sent to SES carries tags for the sending identity, account, user and domain, and every SES feedback event carries them back.
  • Attribution: feedback is attributed through the SES tags even when the send record is no longer present.
  • Audit events: a bounce is recorded when the recipient’s suppression level changes, a complaint when it is the address’s first, and a blocked send every time.
  • Administrator actions: clearing a bounce or complaint suppression is recorded with the administrator who did it, the address and the time; administrators can list the audit trail.
  • Audit entry contents: bounce and complaint entries carry the recipient, the old and new level and count, the sending identity, and the SES bounce type and diagnostic code or the complaint feedback type.

Each ServerlessInbox installation is operated by the company that deployed it, in that company’s AWS account. The company holds the SES account, owns the sending domains and is responsible for the mail its staff send. Administrators can review suppression and blocked-send activity in the audit trail.