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
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.
The command
Install the CLI on macOS or Linux with
brew install intenseloop/tap/mailsetornpm 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 adddoes it later.Install the CLI on macOS or Linux with
brew install intenseloop/tap/mailsetornpm 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 adddoes it later.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.
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.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.
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.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.
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 cloudflarefirst, 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 cloudflarefirst, 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.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.
The command
Run
mailset domains check example.comuntil every row says ok. The domain saysreceivingonce MX and DKIM pass, andreadyonce sending passes too.Run
mailset domains check example.comuntil every row says ok. The domain saysreceivingonce MX and DKIM pass, andreadyonce sending passes too.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.
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.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.
The command
Moving from Google Workspace? Copy each mailbox's old mail with
mailset imports start moc.elpmaxe@uoy, and readmailset guide leaving-googlebefore cancelling anything.Moving from Google Workspace? Copy each mailbox's old mail with
mailset imports start moc.elpmaxe@uoy, and readmailset guide leaving-googlebefore cancelling anything.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.
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 areplyTowhere your team reads mail.Keep the printed
MAILSET_KEYin your secret store for themailsetSDK.Then, as you need them: newsletters from a subdomain (
mailset guide sending-modes), adeliverByfor 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 areplyTowhere your team reads mail.Keep the printed
MAILSET_KEYin your secret store for themailsetSDK.Then, as you need them: newsletters from a subdomain (
mailset guide sending-modes), adeliverByfor sign-in codes and your plan's limits (mailset guide sending-limits), and a hook for bounces (mailset guide product-events).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.
The command
Enforce MTA-STS, which starts in testing: once
mailset domains check example.comshows clean TLS reports, runmailset 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.comshows clean TLS reports, runmailset 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.
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.
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.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.
The command
Add your brand logo:
mailset guide logo.Add your brand logo:
mailset guide logo.Join Postmaster Tools
Add the domain to Gmail Postmaster Tools:
mailset guide postmaster.Enroll at Yahoo
Optional: Yahoo Sender Hub and its complaint reports:
mailset guide yahoo.Give senders a photo
Give each sending address a Google account photo, so Gmail shows a picture beside your mail:
mailset guide sender-photos.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.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.
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 checksees it on your domain's own nameservers. DNS hosts can take a few minutes to publish a change.