Mail guides
11 · The test sender

Try your emails before your domain is ready.

Until you verify a domain, your workspace sends from the ProductCraft test sender, test@sandbox.productcraft.co. It only delivers to members of your workspace, so you can try sign-in, confirmation and notification emails yourself on day one.


1

When it is used

A workspace that has no default sender on a verified domain sends from the test sender automatically. That covers Auth emails (verification, sign-in links and codes, password resets), Waitlist confirmation emails, Notify email, and any Mail API send that names no from. You can also pass from: "test@sandbox.productcraft.co" on purpose.

As soon as you choose a default sender on a verified domain (Mail › Domains), every product sends from it instead and the limits below no longer apply.


2

Who receives it

Only the verified email addresses of your workspace's members. To let a colleague try it, invite them to the workspace. Any other recipient (to, cc or bcc) refuses the whole send:

422 {
  "code": "test_sender_recipient_not_allowed",
  "message": "The test sender can only email your workspace's members. Verify a domain to email anyone."
}

Your app's users are not members, so they get nothing yet. On the hosted sign-in page, someone who is not a member is told the app is still in testing (412 ENVOI_TEST_SENDER_MEMBERS_ONLY from auth/email/start), and a Waitlist sign-up that needs a confirmation email answers 422 CONFIRMATION_EMAIL_MEMBERS_ONLY. Nobody is told an email is on its way when it is not.


3

What it looks like

Messages come from "<Your workspace> via ProductCraft" <test@sandbox.productcraft.co>, replies go to the workspace owner, and a short footer says the email was sent with the test sender. The test sender is for transactional email only: no topic sends, unsubscribe links, broadcasts or scheduled sends, and no open or click tracking.


4

Limits

  • 100 emails per workspace in any 24 hours (429 test_sender_daily_cap), and they count toward your plan's normal send limits.
  • The first bounce or spam complaint switches the test sender off for your workspace. Verify a domain to keep sending, or contact support.
  • ProductCraft can pause the test sender for everyone to protect deliverability.

5

Check it and send yourself a test

Mail › Domains shows whether your workspace is using the test sender, with a Send me a test button. Over the API:

GET /test-sender
curl 'https://api.mail.productcraft.co/v1/workspaces/<ws>/test-sender' -H 'authorization: Bearer <token>'

{
  "active": true,
  "available": true,
  "has_verified_sender": false,
  "address": "test@sandbox.productcraft.co",
  "members_only": true,
  "daily_cap": 100,
  "used_today": 2,
  "unavailable_reason": null,
  "disabled_at": null
}
POST /test-sender/test
curl -X POST 'https://api.mail.productcraft.co/v1/workspaces/<ws>/test-sender/test' \
  -H 'authorization: Bearer <token>' \
  -H 'Idempotency-Key: try-test-sender-1'

GET /sending-defaults carries the same object as test_sender. When you are ready to email everyone, follow Domain setup.