# How to manage transactional email across multiple apps and domains

Design a manageable email setup for multiple SaaS apps: project-specific keys, sending domains, Test and Live environments, webhooks, limits, and ownership.

Author: Stampwing
Canonical: https://www.stampwing.com/guides/transactional-email-multiple-projects
Published: 2026-10-04
Reviewed: 2026-11-09
Category: Architecture

Build an inventory and a repeatable setup that still makes sense when the second app becomes the tenth.

## Short answer

Section link: https://www.stampwing.com/guides/transactional-email-multiple-projects#short-answer

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

Section link: https://www.stampwing.com/guides/transactional-email-multiple-projects#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

Section link: https://www.stampwing.com/guides/transactional-email-multiple-projects#inventory

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 |

Note: Illustrative names and domains. Replace them with identities you control; example domains do not enable delivery.

## Separate access before separating infrastructure

Section link: https://www.stampwing.com/guides/transactional-email-multiple-projects#boundaries

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.

1. For routine rotation, create a replacement with the same project, environment and minimum permissions. Record its secret reference, not its value.
2. Update each sending deployment and worker. Check which credential reference each uses, including rollback configurations.
3. 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

Section link: https://www.stampwing.com/guides/transactional-email-multiple-projects#domains

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.

[Understand SPF, DKIM, and DMARC alignment](https://www.stampwing.com/guides/spf-dkim-dmarc-for-developers)

## Use the same event contract across your apps

Section link: https://www.stampwing.com/guides/transactional-email-multiple-projects#event-contract

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.

Application outbox record · illustrative

```json
{
  "app": "atlas",
  "environment": "test",
  "eventId": "order-42-receipt-v1",
  "templateVersion": "receipt-v3",
  "recipientRef": "customer-17",
  "state": "pending"
}
```

[Build retry behavior around a stable event](https://www.stampwing.com/guides/prevent-duplicate-emails)

## Make limits and incidents attributable

Section link: https://www.stampwing.com/guides/transactional-email-multiple-projects#operations

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

Section link: https://www.stampwing.com/guides/transactional-email-multiple-projects#isolation-tests

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. |

Note: Use separate infrastructure when you need a specific operational boundary and can run it well. Extra accounts, domains and pools add configuration, monitoring and rotation work.

## Add the next app with a repeatable checklist

Section link: https://www.stampwing.com/guides/transactional-email-multiple-projects#rollout

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.

1. Create the project and its Test credential. Keep sample recipients and simulated results labelled.
2. Exercise one successful queue acceptance, one validation error, and one ambiguous retry.
3. Connect a signed webhook receiver and replay a duplicate event.
4. Prepare the sending domain and inspect the actual authentication results of a controlled message before Live use.
5. Set limits, ownership, retention, and an incident path. Save the setup record with the app’s deployment documentation.

## Make the routing decision explicit

Section link: https://www.stampwing.com/guides/transactional-email-multiple-projects#routing-contract

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. |

Note: Store references to secrets in this record, not a second plaintext copy. A project boundary does not imply a dedicated IP or independent provider reputation.

## Write the permission contract

Section link: https://www.stampwing.com/guides/transactional-email-multiple-projects#permission-worksheet

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. |

Note: Use synthetic records in a disposable environment to test these denials. Retain the request scope, expected outcome and actual result. This worksheet is not evidence that Stampwing or another provider has passed those tests.

## Compare the actual provider boundary

Section link: https://www.stampwing.com/guides/transactional-email-multiple-projects#provider-boundary-evidence

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](https://postmarkapp.com/developer/api/overview#authentication)

[Amazon SES tenant associations and limitations](https://docs.aws.amazon.com/ses/latest/dg/tenants.html)

[Amazon SES sending quotas](https://docs.aws.amazon.com/ses/latest/dg/manage-sending-quotas.html)

## Price the operating work too

Section link: https://www.stampwing.com/guides/transactional-email-multiple-projects#operating-cost-worksheet

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.

Recalculate the synthetic worksheet · Node.js 22+

```shell
node project-cost-worksheet.mjs
# Expected: shared 170 units; separate 260 units; 6 assertions passed.
```

Note: These are illustrative planning units, not current provider prices or a Stampwing offer. Hosted Stampwing accounts and live sending remain unavailable; use these requirements with a provider you can operate today.

[Download the cost worksheet](https://www.stampwing.com/downloads/project-cost-worksheet.mjs)

## Sources

Section link: https://www.stampwing.com/guides/transactional-email-multiple-projects#sources

- [Google: sender authentication and shared IP considerations](https://support.google.com/mail/answer/81126?hl=en)
- [Postmark API authentication scopes](https://postmarkapp.com/developer/api/overview#authentication)
- [Amazon SES tenant associations and limitations](https://docs.aws.amazon.com/ses/latest/dg/tenants.html)
- [Amazon SES sending quotas](https://docs.aws.amazon.com/ses/latest/dg/manage-sending-quotas.html)

Example download: [Download the project setup checklist](https://www.stampwing.com/downloads/multi-project-checklist.txt)

## Related guides

- https://www.stampwing.com/guides/test-transactional-email
- https://www.stampwing.com/guides/prevent-duplicate-emails
- https://www.stampwing.com/guides/reliable-email-webhooks
- https://www.stampwing.com/guides/migrate-email-provider
- https://www.stampwing.com/guides/choose-transactional-email-api

Editorial policy: https://www.stampwing.com/resources/editorial
