Skip to content

Outbound sending

Sending covers the other half of email testing: exercising the code that receives mail, checking a reply flow, or driving a mail client with realistic traffic.

  1. Business plan. Outbound is not part of the Free plan: every send is refused with 403 outbound_disabled, and the switch in the next step cannot be turned on. If a workspace goes back to Free, its mailboxes stop sending and their settings are kept, so they send again as soon as it is back on Business.
  2. Enable it on the mailbox. Open the mailbox in the dashboard, choose Settings, and in the Outbound section switch on Allow sending from this mailbox. A workspace Admin or Owner can change it; a new mailbox starts with it off.
  3. A from address on your mailbox’s sending domain. A mailbox whose address is <mailbox-id>.mailcatchr.com sends from any name at <mailbox-id>.send.mailcatchr.com, for example noreply@<mailbox-id>.send.mailcatchr.com. The Outbound section shows the mailbox’s exact domain. Replies to that address are not received. To send from a domain of your own, ask support to verify it.
  4. Recipient allowlist. Each mailbox keeps a list of the addresses it may send to. A new mailbox’s list is empty, and a mailbox with an empty list cannot send, so add at least one entry in the same Outbound section first. See Recipient allowlist. This is what stops a test suite emailing real customers.
  5. Wallet balance. Sends cost $0.50 per 1,000 emails, debited from the prepaid wallet under Workspace settings → Billing. An empty wallet cannot send. See What a send costs.
POST /v1/mailboxes/{mailboxId}/send
const result = await mc.send(mailboxId, {
from: "noreply@<mailbox-id>.send.mailcatchr.com",
to: "qa@<mailbox-id>.mailcatchr.com",
subject: "Welcome",
textBody: "Hi there",
});
// result.status === "queued"; result.messageId is the message's id in the mailbox

The API answers 202 as soon as the send is queued. Delivery is asynchronous; bounces and complaints arrive as mail notifications. Send an Idempotency-Key so a retried request does not send twice.

Every recipient of a send (to, cc and bcc) must match an entry on the mailbox’s allowlist. If any of them does not, nothing is sent and the API answers 422 recipients_not_allowlisted with the addresses that failed in recipients. A refused send is not charged and does not count towards the daily cap.

Entry Matches
qa@example.com That address only
*@example.com Any address at example.com, but not at its subdomains
*.example.com Any address at any subdomain of example.com, such as qa@ci.example.com, but not qa@example.com

Matching ignores upper and lower case. Write recipients as user@example.com or Name <user@example.com>.

Entries are added and deleted in the dashboard: open the mailbox, choose Settings, and use Recipient allowlist in the Outbound section. Only a workspace Admin or Owner can change the list; Members can read it. An API key cannot change it.

Each accepted send costs $0.50 per 1,000 emails, which is a twentieth of a cent. The wallet holds whole cents, so usage builds up in the background and your balance drops by one cent for every 20 emails sent. 1,000 emails cost exactly $0.50. The wallet history shows one “Outbound email usage” line per cent, not one per email.

A send is refused with 402 insufficient_funds when the balance cannot cover the usage built up so far plus that send. In practice: an empty wallet cannot send, and a wallet with at least one cent can. balance_cents in the response is your balance and required_cents is what the send needed. The minimum deposit is $1.00, which pays for 2,000 emails. A send refused this way does not count towards the daily cap.

A send that is accepted but can never be delivered is refunded in full, automatically. Sends refused by the API (allowlist, suppression, limits) are never charged.

Addresses that bounced permanently or complained are added to a workspace-wide suppression list and refused on later sends with 422 suppressed_recipients. List and clear entries over the API:

GET /v1/workspaces/{workspaceId}/suppression
DELETE /v1/workspaces/{workspaceId}/suppression/{id}

See Errors for the full list. The ones a new setup hits first are 403 outbound_disabled, 422 recipients_not_allowlisted, 422 invalid_from_domain and 402 insufficient_funds.