Email for agencies: how to manage many client domains

A practical setup for agencies and freelancers who run email for several clients: one domain per client, separate keys, clean DNS and a handover plan.

5 min read

If you build websites or run IT for clients, email lands on your desk sooner or later. A contact form that doesn't deliver. A client who wants [email protected]. A shop whose receipts go to spam. Doing this well for one client is straightforward. For ten, it needs a system, or it becomes a mess of shared passwords and forgotten DNS records.

We'd set it up like this.

One client, one domain, one set of credentials

The first rule: don't mix clients. Give every client domain its own:

  • DKIM key, so one client's reputation and key rotation don't touch another's
  • API key for the website, so you can revoke one without breaking the others
  • Sender mailbox or address for automated mail
  • Notes recording who owns the domain and where DNS lives

With Mailions, each domain you add gets its own DKIM key and a checklist of DNS records, and API keys belong to a single domain. A leaked key for one client's site can't send as another's. Note that the from address has to be on the key's domain, and a subdomain counts as a separate domain.

Decide who owns what, before you start

Agencies get into trouble over ownership. Settle these questions in writing:

QuestionSafer answer
Who owns the domain registration?The client, with you as a delegate
Who controls DNS?The client's account, with you given access
Who pays for the mail service?Agree it, and put it in the contract
What happens if you part ways?The client keeps the domain and addresses

The client keeping the registration is the most important line. Because email addresses belong to the domain, the client can move providers later without changing a single address. An agency that registers the domain in its own name holds the client hostage, whether it means to or not.

Get DNS access the clean way

Ask the client to add you as a user at their registrar or DNS provider, instead of sharing their login. Most providers support delegate access. If they won't, send them the exact records to paste and verify afterward. Adding DNS records at any registrar is a good page to send a non-technical client.

Whoever edits DNS, keep a record of the final state: the MX, SPF, DKIM and DMARC records for each client. A spreadsheet with domain, provider, date and a screenshot is enough.

Authenticate every domain

Each client domain needs SPF, DKIM and DMARC before anything real is sent. Start DMARC at p=none with reports going to an address you read, then tighten it once the reports show only legitimate senders. What is DMARC and the SPF explainer are worth sending to clients who ask why.

Many clients already send as their domain from other tools: a newsletter service, a CRM, an invoicing app. Each one needs to be in SPF and ideally sign with DKIM. Missing one is the most common reason a client's newsletter suddenly lands in spam after you changed their email.

Set up mailboxes and aliases sensibly

Don't create a mailbox for every role. Give people mailboxes, and make info@, sales@ and support@ aliases that deliver to them. The reasons are in aliases vs mailboxes vs forwarding. Have the client choose the mailbox passwords or reset them on handover. Never keep a list of client passwords in a shared document.

Handle the website's mail separately

Site mail, such as contact forms, order emails and password resets, should go through an API key or a dedicated sender, never a staff mailbox. If it's WordPress, WordPress not sending email covers the plugin settings. Always set the visitor's address as reply_to instead of as the sender.

Test every site before launch

Before you hand a site over:

  1. Submit every form and check the mail arrives.
  2. Send to a Gmail address and an Outlook address and read the authentication results.
  3. Reset a password on a test account.
  4. Send the same messages to a temporary inbox while building. Free inboxes delete mail after 30 minutes and anyone who knows the address can read it, so use dummy data.

Account limits and plans

Accounts on Mailions hold a limited number of domains, and access comes through a trial or paid plan agreed with us. If you manage many clients, tell us how many domains and mailboxes you expect, and the sending volume per site, so we can set things up to fit.

Offboarding

When a client leaves, or you do:

  • Delete the API key for that site and, if relevant, the mailboxes
  • Hand over the DNS records and the mailbox export
  • Make sure the client controls the domain
  • Remove your own access at the registrar and DNS provider

Done well, the client barely notices.

Checklist for each new client

  • Domain registered in the client's name
  • DNS access granted to you, or records sent for them to publish
  • Domain added with its own DKIM key
  • SPF, DKIM and DMARC published and verified
  • Mailboxes for people, aliases for roles
  • An API key or sender mailbox for the site
  • Forms and flows tested
  • Notes saved

To talk about running email for several client domains, contact us.

Frequently asked questions

Should an agency own its clients' domains?

Usually not. The client should own the domain in its own registrar account and give the agency delegated access. That avoids disputes and lockouts when the relationship ends, and keeps the website and email under the client's control.

How do I manage email for many client domains?

Treat each domain as its own project: its own DNS access, SPF, DKIM and DMARC records, API keys and mailboxes, plus a written checklist for setup and offboarding. One login that groups domains saves time without mixing credentials.

Should several domains share one DKIM key?

It is better not to. Give each domain its own DKIM key in its own DNS zone. Several domains can include the same sending service in SPF, but a leaked key or a reputation problem on one domain should never affect the others.