Give each app its own project, credentials, sending identities, and operational records. Share the workspace where it helps administration, but make every send traceable to one app and environment. Project separation alone does not guarantee separate sender reputation.
Before you start #
- For
- Teams operating two or more apps or sending domains.
- Bring
- An inventory of apps, owners, provider accounts and secret references. Keep secret values out of it.
- Scope
- These are provider-independent design patterns, not a claim that project separation isolates reputation.
Begin with an inventory you can actually maintain #
The hard part of running several small apps is usually remembering which domain, API key, webhook endpoint, and allowance belongs to each one. A single unlabelled provider key makes the first integration easy and the fifth incident confusing.
Create one row per app and environment. Store references to secrets, never the secret values. Include an owner who can decide whether sending should be paused when something goes wrong. An app that is no longer actively developed still needs a contact for domain renewal and credential rotation.
| App / environment | Sending identity | Credential reference | Operational owner |
|---|---|---|---|
| Atlas / Test | hello@example.test | secrets/atlas/test | Application team |
| Atlas / Live | receipts@atlas.example | secrets/atlas/live | Application team |
| Beacon / Live | notify@beacon.example | secrets/beacon/live | Beacon maintainer |
Separate access before separating infrastructure #
A key used by Atlas should not be able to inspect Beacon’s messages or change its templates. Scope keys to one project and the minimum capabilities required. A sending process rarely needs permission to manage domains or read inbound attachments.
Use separate Test and Live credentials and deployment secret names. A development machine should not inherit the production key just because both apps share an account. Make the environment visible in logs, dashboards, and support notes.
Operational separation is not complete reputation isolation. Projects may still use shared provider infrastructure, accounts, limits, or IP pools. Treat isolation claims as specific properties to verify, not as a consequence of having separate tabs.
- For routine rotation, create a replacement with the same project, environment and minimum permissions. Record its secret reference, not its value.
- Update each sending deployment and worker. Check which credential reference each uses, including rollback configurations.
- After confirming the replacement is in use, revoke the old key and verify it can no longer authenticate. If a key is compromised, prioritize revocation and incident response over a gradual overlap.
Plan the visible sender and the return path #
For each app, record the visible From domain, the DKIM signing domain, and the envelope/return-path domain. These can differ. Keeping their purpose explicit makes authentication errors easier to diagnose.
A sending subdomain can help organize a service, but do not casually replace the root domain’s MX records. Those records may already route employee mail. Apply the exact records supplied for your provider and preserve unrelated records.
When changing providers, inventory both old and new signing selectors and the return path. Validate a controlled message before retiring a still-used signing key. Domain verification in a dashboard is useful configuration evidence; it is not a measurement of every recipient’s inbox.
Use the same event contract across your apps #
Define a small application envelope: project reference, environment, business event ID, template version, and recipient reference. Generate the business event once. Retries should not generate a new event ID or silently select a newer template.
An outbox in the application database lets a committed business event survive a temporary email outage. A sender processes the outbox and records the provider result. Keep unknown results distinct from definite rejection so recovery does not turn into duplicate sending.
{
"app": "atlas",
"environment": "test",
"eventId": "order-42-receipt-v1",
"templateVersion": "receipt-v3",
"recipientRef": "customer-17",
"state": "pending"
}Make limits and incidents attributable #
Separate project budgets from shared provider capacity. If two apps can each submit 40 recipients per second but share a 50-per-second account limit, they cannot both sustain their local maximum. Enforce the shared ceiling as well as local limits, and choose a fair scheduling policy so a large batch does not indefinitely delay another app’s time-sensitive messages. This is a planning example, not Stampwing’s allocation policy.
- Set an explicit daily or monthly allowance for each app. A loop in one project should be visible before it consumes a shared budget.
- Record provider event IDs with the project and environment. A delivery callback should never be attached to whichever project is currently selected in a user interface.
- Keep suppression scope visible. A complaint restriction may be broader than one project; moving the send to another project is not a valid recovery strategy.
- Choose retention based on operational needs. Keep identifiers and timestamps long enough to investigate while avoiding unnecessary long-term message content.
- Write down who can pause sending, rotate credentials, and authorize a return to normal operation.
Specify which failures a project boundary contains #
Write the isolation requirement before deciding to create another account or IP pool. A project-scoped key can restrict data access while every project still competes for one provider quota. A separate signing subdomain gives you another identity to operate; it does not prove independent reputation.
For a synthetic test, let project A exhaust its configured share while project B has a receipt waiting. Measure whether B still receives its reserved service rate. Repeat a message lookup and webhook association using A’s credentials with B’s identifier; both must fail without leaking B’s data. These tests exercise different boundaries.
| Boundary | Failure it can contain | Shared dependency to check |
|---|---|---|
| Project + environment authorization | An application reads or mutates another app’s records. | Every API route, worker and event handler must enforce the same scope. |
| Per-project scheduling and caps | A busy app consumes the entire available send rate. | The account’s actual provider quota still bounds total throughput. |
| Separate provider account | Some account-level limits and suspensions. | Organization policies, infrastructure and cost ownership can still be shared. |
| Dedicated IP pool | Unrelated senders using that particular shared IP pool. | Domain reputation, traffic volume and operational quality still matter. |
Add the next app with a repeatable checklist #
Stampwing is being built around project-specific domains, keys, messages, templates, and operational visibility in one workspace. It is currently in early access preparation. You can use this checklist with your current email provider today.
Retiring an app also needs an owner: stop new business events, reconcile queued and uncertain sends, revoke its credentials, and retain only the incident metadata your policy requires. Remove sending DNS records only after checking that no other active service uses them. Record what was retired so an old deployment cannot quietly start sending again.
- Create the project and its Test credential. Keep sample recipients and simulated results labelled.
- Exercise one successful queue acceptance, one validation error, and one ambiguous retry.
- Connect a signed webhook receiver and replay a duplicate event.
- Prepare the sending domain and inspect the actual authentication results of a controlled message before Live use.
- Set limits, ownership, retention, and an incident path. Save the setup record with the app’s deployment documentation.
Make the routing decision explicit #
Define one routing record per application and environment. Resolve it on your backend from the authenticated business action. An incoming project name, From address, or environment field must not be enough to choose a more privileged credential.
| Keep in the routing record | Why it matters |
|---|---|
| Application + environment | A staging event must not select a production transport. |
| Credential reference + allowed sender | Rotate one project’s secret without changing its identity. |
| Template ID + published version | A retry should use the original content version. |
| Business operation ID + provider message ID | Trace a customer issue across the application and provider. |
Write the permission contract #
Treat the following matrix as requirements to verify in your chosen provider and application. A project label alone does not enforce them. Keep account administration outside runtime credentials, and record who can reveal, rotate and revoke each secret.
| Actor | Allow | Verify denial or escalation |
|---|---|---|
| App A production runtime | Send with A’s approved identity; read only its necessary status. | App B IDs, Test/Live crossover, domain administration and account billing. |
| App A webhook receiver | Verify signature; map events to A’s stored message IDs. | An event naming B or an unknown message cannot mutate A. |
| App A operator | Inspect A’s incident metadata; request an audited retry. | Other apps’ message bodies and account-wide secret export. |
| Workspace administrator | Assign roles, rotate credentials and approve routing changes. | No shared administrator key in app deployments; record privileged changes. |
Compare the actual provider boundary #
Postmark documents separate server and account API tokens. That makes server boundaries worth evaluating for separate apps; it does not make every server token a send-only credential. Check the permissions of every endpoint your runtime can reach.
Amazon SES tenants group identities, configuration sets and other resources inside an account, with tenant-level reputation controls. Resources can be shared, and tenants are regional. Record associations and suppression scope explicitly. SES also applies account sending quotas in each Region, so a tenant is not a promise of independent capacity.
Use one account when the apps share owners and the verified authorization and scheduling controls meet your requirements. Evaluate separate accounts when you need stronger administrative or account-level failure separation and can operate the extra identities, monitoring and recovery paths. Neither choice guarantees independent receiver reputation.
Postmark API authentication scopes →
Price the operating work too #
Compare monthly base fees, billable recipients and overages, then add domains, retention, tenant fees, support, dedicated pools and staff time. Check whether allowances pool across projects or stay inside each account. Record quote dates and use one currency and billing period.
The downloadable worksheet uses invented prices: 20 units per account including 100,000 recipients, 1 unit per extra thousand, and 50 units per staff hour. With apps sending 120,000 and 30,000 recipients, one shared account and two staff hours costs 170 units. Two accounts and four hours costs 260 units; the smaller account’s unused allowance does not offset the larger account’s overage.
Replace every assumption with your quote and measured effort. Add rotation, DNS setup, incident review and suppression reconciliation time. A lower total is useful only after the option satisfies your required permissions, capacity and recovery behavior.
node project-cost-worksheet.mjs
# Expected: shared 170 units; separate 260 units; 6 assertions passed.Sources and further reading
- Google: sender authentication and shared IP considerations
- Postmark API authentication scopes
- Amazon SES tenant associations and limitations
- Amazon SES sending quotas
Written for Stampwing with AI assistance and checked against the linked documentation. Examples are educational; simulated results are labelled. How these resources are maintained.