How to set up email for your organization on your own domain
- From
- Postyard
- Sent
- Reading
- 8 minutes
The short answer
To set up business email with your own domain, choose an email host, add your domain there, and publish the DNS records it gives you: an ownership TXT record, MX, SPF, DKIM and DMARC. Then create mailboxes and aliases, invite teammates, and connect mail apps over IMAP and SMTP with app passwords.
On this page
To set up business email with your own domain, choose an email host, add the domain in its admin console, and publish the DNS records it gives you at your DNS provider: an ownership TXT record, MX, SPF, DKIM and DMARC. Then create mailboxes and aliases, invite teammates, and connect mail apps over IMAP and SMTP. How quickly the DNS changes take effect depends on the records' TTL.
Choose an email provider
The main split is between hosts that charge per user and hosts that charge per account. Prices below are list prices in USD as of November 2026, from each vendor's pricing page.
| Provider | Priced | Entry price for your own domain | Fits |
|---|---|---|---|
| Google Workspace | Per user | Business Starter $7/user/month (1-year commitment); Standard $14, Plus $22 | Teams that want Docs, Drive, Meet and Gemini with mail |
| Microsoft 365 | Per user | Business Basic $7.00/user/month paid yearly; Exchange Online Plan 1 $4.00 paid yearly, email only | Teams on Outlook, Teams and Office |
| Zoho Mail | Per user | Mail Lite $1/user/month billed yearly (5 GB); free for up to 5 users on one domain, without IMAP | Small teams on a tight budget |
| Fastmail | Per user | Standard $5/user/month yearly ($6 monthly) | Teams that want a dedicated email company, with a free trial of up to 30 days |
| Proton | Per user | Mail Essentials $6.99/user/month billed yearly, 3 custom domains | Teams that want end-to-end encryption |
| Migadu | Per account | Micro $19/year (20 outgoing messages a day); Mini $90/year (100 a day) | Many domains and addresses, light sending |
| Postyard | Per organization | $10/month or $99/year for 10 domains, 25 mailboxes and up to 20 members | Builders with many projects, and AI agents that need API or MCP access |
A few things the table hides. Google Workspace and Microsoft 365 Business plans cap out at 300 users. Fastmail's Basic plan ($3/user/month yearly, $4 monthly) can't use your own domain unless someone on the account is on Standard or Professional. Microsoft's business prices, Business Basic ($6.00 to $7.00) and Standard ($12.50 to $14.00) included, went up on July 1, 2026, and existing customers pay the new price at their next renewal (Microsoft's FAQ).
If you need shared calendars and documents, Google Workspace or Microsoft 365 is the simpler choice. Postyard is email hosting only, with no office suite and no mobile app of its own.
Plan your addresses before you create anything
People
Pick one pattern (jane@ or jane.doe@) and add the other as an alias so both work.
Role addresses
Create the shared addresses customers will see: support@, billing@, hello@, security@. Add two that standards expect. RFC 5321 (section 4.5.1) says any system that delivers mail MUST support postmaster, and RFC 2142 lists abuse@ for reports of misuse. Both can be aliases.
Mailbox, alias or shared access?
| You need | Use |
|---|---|
| A person's own mail | A mailbox |
A second address for an existing inbox (jane.doe@ for jane@, hello@ for the founder) |
An alias |
Several people answering one address (support@) |
One mailbox, with access granted to each person |
| An address an AI agent reads and drafts from | Its own mailbox, with credentials limited to it |
Per-user hosts charge for every mailbox, so aliases and shared mailboxes keep the bill down.
Mailboxes for AI agents
Don't hand an agent your personal inbox. Give it its own mailbox (agent@, support@) so its credentials can be scoped and revoked, its sending can be capped, and its mail is easy to audit. How to give an AI agent its own email address covers this in detail.
Set up business email with your own domain: the DNS records
Your host gives you the exact values. You publish them wherever your domain's DNS is hosted, usually the registrar.
| Record | Type | Host | Example value | What it does |
|---|---|---|---|---|
| Ownership | TXT | set by the host | host-verify=abc123 |
Proves you control the domain |
| MX | MX | @ |
10 mx.host.example |
Says where mail for the domain is delivered |
| SPF | TXT | @ |
v=spf1 include:host.example ~all |
Lists servers allowed to send for you |
| DKIM | CNAME or TXT | <selector>._domainkey |
target or public key | Lets receivers verify your signature |
| DMARC | TXT | _dmarc |
v=DMARC1; p=none; rua=mailto:dmarc@example.com |
Ties SPF and DKIM to your From address |
In order:
- If you're moving from another host, lower the TTL on your MX records a day ahead. Resolvers may keep using the old MX until its TTL runs out.
- Publish the ownership TXT and wait for the host to confirm it.
- Replace the MX records. Remove the old host's MX entries. If both stay, senders may deliver to either.
- Publish SPF as a single record. If one exists, add the new
include:to it. Two SPF records break SPF entirely. - Publish DKIM exactly as given, as CNAME or TXT.
- Publish DMARC at
p=nonewith aruaaddress, and tighten it once reports look clean.
SPF, DKIM and DMARC in 2026 explains each record and what Gmail, Yahoo and Microsoft require.
Check each record with dig
Query a public resolver so your own cache doesn't fool you:
dig +short MX example.com @1.1.1.1
dig +short TXT example.com @1.1.1.1 # SPF: one line starting v=spf1
dig +short TXT _dmarc.example.com @1.1.1.1
dig +short CNAME s1._domainkey.example.com @1.1.1.1For a domain hosted on Postyard, the MX query returns 10 mx.postyard.dev. When everything resolves, send a test to a Gmail address and use More > Show original to confirm SPF, DKIM and DMARC pass.
Connect mail apps over IMAP and SMTP
Every desktop and phone mail app takes the same four facts:
| Setting | Typical value |
|---|---|
| Incoming (IMAP) | Port 993, SSL/TLS |
| Outgoing (SMTP) | Port 465 with SSL/TLS, or 587 with STARTTLS |
| Username | The full email address |
| Password | An app password from your host |
An app password is a separate password for one app or device. Create one per device and name it ("Jane's iPhone") so you can revoke a lost phone without touching anything else.
Apple Mail on Mac
Choose Mail > Add Account. Apple's provider list says to choose "Other" for any address it doesn't recognize, then enter the server details.
iPhone and iPad
Go to Settings > Apps > Mail > Mail Accounts > Add Account, enter the address, then Add Other Account > Mail Account. If Mail can't find the settings, choose IMAP and enter the incoming and outgoing servers (Apple's steps).
Outlook
In classic Outlook for Windows, choose File > Add Account, enter the address, open Advanced options, check "Let me set up my account manually", select Connect, and choose IMAP. In new Outlook, open View > View settings > Accounts > Your accounts and select Add Account (Microsoft's steps).
Thunderbird
Add a mail account with your name, address and app password, choose Configure manually, and enter the servers and ports (Mozilla's guide).
Android
In the Gmail app, tap your profile in the search bar, then Add another account > Other, enter the address, choose Personal (IMAP), and enter the server settings (Google's steps).
The best email clients for the AI era compares these apps and others.
Give teammates access
- Invite people as members of the organization, not by sharing a login. Keep the admin role for whoever manages domains and billing.
- Grant shared mailboxes per person. Everyone who answers
support@gets access to that mailbox, and their replies come fromsupport@. - Plan offboarding. When someone leaves, revoke their app passwords, remove their mailbox access, and decide whether their address becomes an alias for whoever takes over.
Move your existing mail
Copy mail before you switch MX, then copy again after:
- Create the new mailboxes.
- Copy each mailbox with imapsync, a tool "for syncing two IMAP accounts, one way, and without duplicates", or with the new host's importer: Google Workspace's data import tool or Microsoft 365's IMAP migration.
- Switch the MX records.
- Run the same copy again to pick up mail that arrived during the switch.
- Keep the old account for a couple of weeks.
imapsync \
--host1 imap.old-host.example --user1 jane@example.com --passfile1 ./old.pass --ssl1 \
--host2 imap.new-host.example --user2 jane@example.com --passfile2 ./new.pass --ssl2--passfile keeps passwords out of your shell history and process list. imapsync copies mail only, not contacts or calendars. Microsoft's IMAP migration doesn't move contacts or calendars either.
Launch checklist
- Ownership verified at the new host
- MX points only to the new host
- One SPF record that includes the new host
- DKIM passing on a test message to Gmail
- DMARC at
p=nonewith aruaaddress - Every person, role address and alias created, including
postmaster@andabuse@ - Each device connected with its own app password
- Old mail copied, and copied again after the MX switch
- Mail tested both ways: in from an outside account, out to Gmail and Outlook.com
- Old account still open, and a date set to close it
How to do it on Postyard
Postyard costs $10 a month or $99 a year for the organization: 10 domains, 25 mailboxes (aliases included), 10 GB of storage, 5,000 outbound recipients a month, IMAP and SMTP, the API and MCP, and up to 20 members. More mailboxes are $1.50 each a month. The 14-day trial needs a card and allows 200 external recipients a day.
- Start a trial at app.postyard.dev.
- Add your domain. Step 1 shows the ownership TXT (
_postyard.<domain>) and the MX record (10 mx.postyard.dev). Copy them in one go, as a zone file or as text to hand to an agent, and publish them. - Let Postyard check. It re-checks every 10 minutes for the first 72 hours, or press Check DNS now. Once ownership verifies, step 2 shows three DKIM CNAMEs plus the recommended SPF and DMARC records. Sending turns on when all three DKIM records are found. If you already have SPF, Postyard shows your record with its include added.
- Create mailboxes and aliases on the verified domain.
- Invite members under Settings > Members. Admins manage domains, mailboxes and keys; members use the mailboxes an admin shares with them on each mailbox's Access tab.
- Connect mail apps. On the mailbox's Access tab, an admin creates an app password. Use
mail.postyard.devfor both servers (IMAP 993 SSL/TLS; SMTP 465 SSL/TLS or 587 STARTTLS) and the full address as the username. The Mail apps tab lists the steps for each app.
The same setup works from a script or an agent, with an API key on the admin preset. Creating an app password needs both mailboxes.manage and mail.send, and a key with a daily_recipient_cap can't create one.
API=https://api.postyard.dev
AUTH="Authorization: Bearer $POSTYARD_API_KEY"
# Add the domain; the response lists the records to publish
curl -s "$API/v1/domains" -H "$AUTH" -H "Content-Type: application/json" \
-d '{"name": "northpour.coffee"}'
# Re-check after publishing (DOMAIN_ID from the response above)
curl -s -X POST "$API/v1/domains/$DOMAIN_ID/check" -H "$AUTH"
# Once verified, create a mailbox and an alias
curl -s "$API/v1/mailboxes" -H "$AUTH" -H "Content-Type: application/json" \
-d '{"address": "hello@northpour.coffee", "display_name": "North Pour"}'
curl -s "$API/v1/mailboxes/$MAILBOX_ID/aliases" -H "$AUTH" -H "Content-Type: application/json" \
-d '{"address": "postmaster@northpour.coffee"}'
# An app password for a mail app; the secret is returned only once
curl -s "$API/v1/mailboxes/$MAILBOX_ID/app-passwords" -H "$AUTH" -H "Content-Type: application/json" \
-d '{"name": "Jane iPhone"}'To connect an agent instead of a person, see the agent docs.
Where Postyard falls short: it has no import tool (copy old mail in over IMAP with imapsync, using mail.postyard.dev and an app password), no mobile app of its own (use your phone's mail app), and its search matches subjects, senders, recipients and previews, not message bodies. It isn't for newsletters or bulk mail. If those matter more than API access, per-organization pricing and agent mailboxes, pick one of the other hosts above.
Questions people ask
How much does business email on your own domain cost?
As of November 2026, per-user plans start at $1 per user a month (Zoho Mail Lite, billed yearly), $4 (Microsoft Exchange Online Plan 1) and $7 (Google Workspace Business Starter or Microsoft 365 Business Basic, on annual terms). Some hosts price per account instead: Migadu starts at $19 a year and Postyard is $10 a month for an organization with 25 mailboxes.
Can I keep my domain at my current registrar?
Yes. An email host only needs you to publish DNS records for the domain. The registration and the rest of your DNS stay where they are; you add the host's TXT, MX and DKIM records and edit SPF and DMARC.
Will I lose email while switching providers?
Not if you copy first. Mail goes wherever the MX record points, and servers can keep using the old MX until its TTL expires, so copy existing mail before you change MX, sync again afterwards, and keep the old account open for a couple of weeks.
What is the difference between an alias and a mailbox?
A mailbox stores mail and has its own sign-in. An alias is an extra address that delivers into an existing mailbox, such as hello@ arriving in the founder's inbox. Per-user hosts charge for mailboxes, so aliases are the cheap way to add addresses.
Do I need an app password to connect Outlook or Apple Mail?
With most hosts, yes. Mail apps sign in over IMAP and SMTP with a password, and hosts issue a separate app password for each app or device so you can revoke one without changing your main sign-in. Microsoft notes an app password may be needed to add IMAP accounts to Outlook.
Keep reading
-
Agents
How to give an AI agent its own email address
Create a separate mailbox for the agent on a domain you control, such as support@yourcompany.com, instead of connecting it to your personal Gmail or Outlook. Give it a credential that reaches only that mailbox, start it on read and draft so a person approves what it sends, and make it clear to recipients that they are writing to an AI. -
Agents
How to send email from an AI agent: MCP, REST API or SMTP
Give the agent a real mailbox and pick the connection that fits where it runs: MCP for agents inside Claude, ChatGPT or Cursor, a REST API wrapped as a tool for agents you code yourself, or SMTP with an app password for code that already uses a mail library. Have it draft before it sends, put an idempotency key on every send, and cap how many people it can mail per day. -
Agents
How to connect Claude, ChatGPT or Cursor to a mailbox with MCP
Add an email MCP server to your assistant: paste its URL (for Postyard, https://api.postyard.dev/mcp) into Claude, ChatGPT, Cursor or VS Code, then sign in with OAuth or send an API key in a header. Start with read-and-draft access, so the assistant prepares replies and a person sends them.