Onboarding a domain

The whole path for a new domain, in order, with the steps on other sites.

mailset guide onboarding
16 stepsOn this page
  1. Steps
  2. 1Install the CLI and sign in
  3. 2Plan the records
  4. 3Add the domain
  5. 4Put the records in DNS
  6. 5Check until every row is ok
  7. 6Add mailboxes and aliases
  8. 7Bring your old mail over
  9. 8Make a key for your product
  10. 9Enforce MTA-STS
  11. 10Tighten DMARC
  12. 11Add your brand logo
  13. 12Join Postmaster Tools
  14. 13Enroll at Yahoo
  15. 14Give senders a photo
  16. 15Retire the old provider
  17. 16Choose where AI runs
  18. Check
  19. Watch out

The whole path for a new domain, in order: mail arriving in Mailset, your product sending through it, and the steps on other sites that make inboxes trust it. Replace example.com with your domain and moc.elpmaxe@uoy with your own address.

Commands are mailset commands you run. A step on another site gives the full URL to open. Mailset can't do it for you, so mailset domains status lists it as manual.

Steps

  1. Install the CLI and sign in

    Sign inSign in with a passkey

    Press Sign in with a passkey and approve it on this device, your phone or a password manager. Mailset has no passwords.

    Open in Mailset

    The command

    Install the CLI on macOS or Linux with brew install intenseloop/tap/mailset or npm install -g @mailset/cli.

    Run mailset login, open the link it prints and approve with your passkey.

    In a terminal, login also offers your agents the Mailset skill; mailset agents add does it later.

    Install the CLI on macOS or Linux with brew install intenseloop/tap/mailset or npm install -g @mailset/cli.

    Run mailset login, open the link it prints and approve with your passkey.

    In a terminal, login also offers your agents the Mailset skill; mailset agents add does it later.

  2. Plan the records

    Set upAdd your domainReview

    Type example.com and press Review the records. Mailset names your DNS host and every record it will want, and changes nothing yet.

    Open in Mailset

    The command

    Run mailset domains plan example.com. It names your DNS host and every record Mailset will want. Nothing changes yet.

    Run mailset domains plan example.com. It names your DNS host and every record Mailset will want. Nothing changes yet.

  3. Add the domain

    Set upAdd your domainAdd example.com

    Look over the records, then press Add example.com. Mailset adds it to your org, and nothing changes at DNS until the next step.

    Open in Mailset

    The command

    Run mailset domains add example.com.

    It shows the plan again and asks before adding it.

    Nothing changes at DNS yet.

    If the domain's mail stays where it is (Google Workspace, say) and Mailset only sends your product's mail, add --sending.

    Run mailset domains add example.com.

    It shows the plan again and asks before adding it.

    Nothing changes at DNS yet.

    If the domain's mail stays where it is (Google Workspace, say) and Mailset only sends your product's mail, add --sending.

  4. Put the records in DNS

    Set upPut the records inConnect Cloudflare

    Press Connect Cloudflare and pick the account that holds example.com. Mailset then writes the records there once your passkey approves.

    Open in Mailset

    The command

    Put the records in DNS with mailset domains apply example.com.

    Mailset writes them where it can reach your DNS, links your host's approval page where it supports Domain Connect, or prints them to add by hand: mailset guide dns-by-hand.

    On Cloudflare, run mailset dns connect cloudflare first, open the link it prints and pick the account.

    Mail staying where it is for now (Google Workspace, say)?

    Add --sending: it writes only what sending needs and leaves MX alone.

    Put the records in DNS with mailset domains apply example.com.

    Mailset writes them where it can reach your DNS, links your host's approval page where it supports Domain Connect, or prints them to add by hand: mailset guide dns-by-hand.

    On Cloudflare, run mailset dns connect cloudflare first, open the link it prints and pick the account.

    Mail staying where it is for now (Google Workspace, say)?

    Add --sending: it writes only what sending needs and leaves MX alone.

  5. Check until every row is ok

    Set upPut the records inCheck again

    Press Check again, or leave the page open and it checks every 15 seconds. A record gets its check once your DNS host publishes it.

    Open in Mailset

    The command

    Run mailset domains check example.com until every row says ok. The domain says receiving once MX and DKIM pass, and ready once sending passes too.

    Run mailset domains check example.com until every row says ok. The domain says receiving once MX and DKIM pass, and ready once sending passes too.

  6. Add mailboxes and aliases

    SettingsMailboxesAdd mailbox

    Press Add mailbox, type an address such as moc.elpmaxe@olleh, pick One person or Shared, and tick who can open it.

    Open in Mailset

    The command

    Add mailboxes with mailset mailboxes add moc.elpmaxe@uoy, and a shared one for your product's mail: mailset mailboxes add moc.elpmaxe@olleh --kind shared.

    A sending-only domain needs none: its mail arrives elsewhere.

    An alias sends another address to a mailbox: mailset aliases add moc.elpmaxe@troppus --mailbox moc.elpmaxe@olleh.

    Give Yahoo's complaint reports one too: mailset aliases add moc.elpmaxe@lbf --mailbox moc.elpmaxe@olleh.

    Add mailboxes with mailset mailboxes add moc.elpmaxe@uoy, and a shared one for your product's mail: mailset mailboxes add moc.elpmaxe@olleh --kind shared.

    A sending-only domain needs none: its mail arrives elsewhere.

    An alias sends another address to a mailbox: mailset aliases add moc.elpmaxe@troppus --mailbox moc.elpmaxe@olleh.

    Give Yahoo's complaint reports one too: mailset aliases add moc.elpmaxe@lbf --mailbox moc.elpmaxe@olleh.

  7. Bring your old mail over

    SettingsImportConnect Google

    Pick the mailbox and its addresses, then press Connect Google and sign in. Mailset copies the old mail over, and Gmail keeps its copy.

    Open in Mailset

    The command

    Moving from Google Workspace? Copy each mailbox's old mail with mailset imports start moc.elpmaxe@uoy, and read mailset guide leaving-google before cancelling anything.

    Moving from Google Workspace? Copy each mailbox's old mail with mailset imports start moc.elpmaxe@uoy, and read mailset guide leaving-google before cancelling anything.

  8. Make a key for your product

    SettingsDevelopersMake a key

    Press Make a key, name it, pick a mailbox or a sending domain’s addresses and approve with your passkey. Copy the MAILSET_KEY it shows once.

    Open in Mailset

    The command

    Make a key for your product's server: mailset keys create --send --mailbox moc.elpmaxe@olleh --name "Example API".

    On a sending-only domain, make it for the domain instead, naming the addresses your product uses: mailset keys create --send --domain example.com --from moc.elpmaxe@olleh --name "Example API", and send with a replyTo where your team reads mail.

    Keep the printed MAILSET_KEY in your secret store for the mailset SDK.

    Then, as you need them: newsletters from a subdomain (mailset guide sending-modes), a deliverBy for sign-in codes and your plan's limits (mailset guide sending-limits), and a hook for bounces (mailset guide product-events).

    Make a key for your product's server: mailset keys create --send --mailbox moc.elpmaxe@olleh --name "Example API".

    On a sending-only domain, make it for the domain instead, naming the addresses your product uses: mailset keys create --send --domain example.com --from moc.elpmaxe@olleh --name "Example API", and send with a replyTo where your team reads mail.

    Keep the printed MAILSET_KEY in your secret store for the mailset SDK.

    Then, as you need them: newsletters from a subdomain (mailset guide sending-modes), a deliverBy for sign-in codes and your plan's limits (mailset guide sending-limits), and a hook for bounces (mailset guide product-events).

  9. Enforce MTA-STS

    SettingsDomainsEnforce

    Once the TLS reports for example.com come back clean, press Enforce and confirm. A domain not ready yet has Enforce off and says why.

    Open in Mailset

    The command

    Enforce MTA-STS, which starts in testing: once mailset domains check example.com shows clean TLS reports, run mailset domains sts example.com --mode enforce.

    Mailset refuses it until your MX is Mailset's, the policy is really served and the reports are clean.

    Enforce MTA-STS, which starts in testing: once mailset domains check example.com shows clean TLS reports, run mailset domains sts example.com --mode enforce.

    Mailset refuses it until your MX is Mailset's, the policy is really served and the reports are clean.

  10. Tighten DMARC

    SettingsDomainsDMARC

    Check example.com’s pass rate and the servers that fail. Once your own mail passes, move the policy with the DMARC guide’s command.

    Open in Mailset

    The command

    Move DMARC to quarantine, then reject, once reports show your mail passing: mailset guide dmarc.

    Move DMARC to quarantine, then reject, once reports show your mail passing: mailset guide dmarc.

  11. Add your brand logo

    SettingsDomainsBrand logo

    Once DMARC is at quarantine or reject, type your brand name and press Upload SVG. Mailset serves the logo and writes its record.

    Open in Mailset

    The command

    Add your brand logo: mailset guide logo.

    Add your brand logo: mailset guide logo.

  12. Join Postmaster Tools

    Add the domain to Gmail Postmaster Tools: mailset guide postmaster.

    Postmaster Tools
  13. Enroll at Yahoo

    Optional: Yahoo Sender Hub and its complaint reports: mailset guide yahoo.

    Y!Yahoo Sender Hub
  14. Give senders a photo

    Give each sending address a Google account photo, so Gmail shows a picture beside your mail: mailset guide sender-photos.

    Gmail
  15. Retire the old provider

    When everything sends through Mailset, retire the old provider: mailset guide old-provider.

    Hand it to your agent

    When everything sends through Mailset, retire the old provider: mailset guide old-provider.

    The order
  16. Choose where AI runs

    SettingsAIWhere AI runs

    Choose Mailset’s AI, Your own key or Off. Your own key opens a field for an Anthropic key, and Off turns AI off for the whole org.

    Open in Mailset

    The command

    Optional: run the org's AI on its own Anthropic key, pick a model per feature, or turn AI off: mailset guide ai.

    Optional: run the org's AI on its own Anthropic key, pick a model per feature, or turn AI off: mailset guide ai.

Check

Run mailset domains status example.com. Each row says ok, todo, manual or info, with the next step: a mailset command, or mailset guide <topic> for a step on another site. You're done when every row is ok or info and you've done each manual row yourself. --json gives the rows as data.

Watch out

  • Leaving another provider, order matters: new records go live first, then your code, then the old keys, then the old DNS records, then the account. Deleting old records first breaks whatever still sends.
  • Every app key, campaign domain and mailbox has a brake that stops it on complaints or bounces: mailset guide brakes.
  • A new org starts on a trial. To keep sending outside your domains and Mailset's AI after it, an owner upgrades: mailset guide billing.
  • Everyone signs in with a passkey. For Windows, Android or a second computer, and a passkey per device: mailset guide passkeys.
  • A record you add by hand counts only once mailset domains check sees it on your domain's own nameservers. DNS hosts can take a few minutes to publish a change.