How to Receive Email on Your Own Domain (Step-by-Step MX Record Tutorial)
Twinkal Patel
Co-founderยท11 min read
On this page

Receive email at an address on your own domain, such as support@yourdomain.com: how MX records work, how to add one without breaking your existing email, and how to read mail in a dashboard, Apple Mail or Outlook, or your own code.
To receive email on your own domain, add an MX record that points the domain (or a subdomain) to a mail server, then create a mailbox for the address. With Reloop, the MX record is inbound.reloop.sh with priority 10. After the record is live, mail sent to you@yourdomain.com arrives in seconds and you can read it in the dashboard, in Apple Mail or Outlook over IMAP, or in your own code through a webhook.
That takes about ten minutes. The step that catches people out is choosing which domain to point, because one wrong MX record can quietly redirect all of your company's existing email. This tutorial walks through it safely.
What you need
- A domain you own, such as
yourdomain.com, and access to its DNS settings (Cloudflare, GoDaddy, Namecheap, Route 53 or wherever you bought it) - A free Reloop account. The free plan includes 3 inboxes. If you self-host Reloop, there is no inbox limit.
- Ten minutes, plus up to an hour for DNS changes to spread
No servers or coding are needed unless you want to process mail in your own app (Step 6).
How receiving email works (the 60-second version)
When someone sends an email to hello@yourdomain.com, their mail server needs to know where to deliver it. It looks up the domain's MX record (Mail eXchanger) in DNS, a bit like looking up a postal address:
1Sender's mail server: "Where does mail for yourdomain.com go?"2DNS: "MX 10 inbound.reloop.sh"3Sender's mail server: delivers the email to inbound.reloop.shA few rules worth knowing:
- No MX record, no email. Without one, senders cannot deliver to the domain at all.
- The number is a priority. Lower numbers are tried first. If a domain has
MX 1 google.comandMX 10 inbound.reloop.sh, mail goes to Google. - Each domain and subdomain has its own MX records.
yourdomain.comandsupport.yourdomain.comcan deliver to completely different providers. - Receiving and sending are separate. MX controls where mail arrives. SPF, DKIM and DMARC control whether mail you send is trusted. You need both if you want to reply.
That third rule is what makes the next step safe.
Step 1: Choose the address (root domain or subdomain)
Check first whether your domain already receives email. Run this, or use any online "MX lookup" tool:
dig MX yourdomain.com +shorthello@yourdomain.comgoogle.com, googlemail.comoutlook.com, protection.outlook.comGood subdomain names describe the job: support.yourdomain.com, inbox.yourdomain.com, replies.yourdomain.com. Your address then looks like help@support.yourdomain.com.
Step 2: Add the domain to Reloop
- Open the Reloop dashboard and go to Domains.
- Click Add domain and enter the domain from Step 1, for example
support.yourdomain.com. - Make sure Email Receiving is turned on. It is on by default for new domains, and you can toggle it later on the domain page.
Reloop now shows the DNS records for the domain: the MX record for receiving, plus SPF, DKIM and DMARC records for sending.
Step 3: Add the MX record
At your DNS provider, add this record:
MXsupport (the subdomain part only) or @ for the root domaininbound.reloop.sh10Most DNS providers add your domain to the end of the name automatically. Entering support creates the record for support.yourdomain.com. Entering support.yourdomain.com in some providers creates support.yourdomain.com.yourdomain.com, which does not work.
Add the sending records too (SPF, DKIM and DMARC, listed on the same page) if you plan to reply from this address. Without them, your replies are likely to land in spam. Our SPF, DKIM and DMARC guide explains each one.
Check the record is live
dig MX support.yourdomain.com +short# 10 inbound.reloop.sh.If you see 10 inbound.reloop.sh., you're done. If it is empty, wait a few minutes; DNS changes can take up to an hour to appear.
Step 4: Create a mailbox
The MX record gets mail to Reloop. A mailbox tells Reloop which address to keep it for.
From the domain page, click Create mailbox, enter the address (for example help@support.yourdomain.com) and a display name such as "Acme Support".
Developers can do the same with the SDK:
1const { mailbox, mailboxError } = await reloop.inbox.mailboxes.create({2 domainId: "dom_...",3 email: "help@support.yourdomain.com",4 displayName: "Acme Support",5});Step 5: Send a test email
From your personal Gmail or Outlook account, send an email to the new address. It should appear in the mailbox in the Reloop dashboard within a few seconds.
Every message is grouped into a thread with the rest of its conversation and gets a spam score. Likely spam is still kept in the mailbox, marked as spam, so you can check it. Only blatant spam is refused before it arrives.
Step 6: Choose how to read your email
Pick whichever fits the people (or software) who will read the mail. You can use more than one at the same time.
Option A: In the browser (anyone)
The Reloop dashboard works like a shared inbox: read, reply, star, archive, label threads and leave internal notes for your team.
Option B: In Apple Mail, Outlook or Thunderbird (anyone)
Add the mailbox as an IMAP account in your usual mail app:
imap.reloop.sh993 (SSL/TLS)help@support.yourdomain.comrl_) that can access this mailboxsmtp.reloop.sh, port 587, STARTTLS, same username and passwordChanges sync both ways. If you archive a message in Apple Mail, it shows as archived in the dashboard too.
Option C: In your own app with a webhook (developers)
To process incoming mail in code (create a support ticket, parse an order, let an AI agent reply), subscribe a webhook to the email.received event. Reloop calls your URL every time a message arrives:
1{2 "type": "email.received",3 "created_at": "2026-10-26T12:00:00.000Z",4 "data": {5 "email_id": "in_123456789",6 "mailbox_id": "mb_123456789",7 "from": "customer@example.com",8 "from_name": "Ada",9 "to": ["help@support.yourdomain.com"],10 "subject": "Where is my order?",11 "thread_id": "thr_123456789",12 "has_attachments": false,13 "is_spam": false14 }15}A minimal handler verifies the signature, skips spam and loads the conversation:
1import { createHmac, timingSafeEqual } from "node:crypto";2import { reloop } from "./lib/reloop";3
4function verify(rawBody: string, header: string, secret: string): boolean {5 const parts = Object.fromEntries(header.split(",").map((p) => p.trim().split("=")));6 const t = Number(parts.t);7 if (!t || Math.abs(Date.now() / 1000 - t) > 300) return false;8 const expected = createHmac("sha256", secret).update(`${t}.${rawBody}`).digest();9 const given = Buffer.from(parts.v1 ?? "", "hex");10 return given.length === expected.length && timingSafeEqual(given, expected);11}12
13export async function POST(req: Request): Promise<Response> {14 const raw = await req.text();15 const header = req.headers.get("Reloop-Signature") ?? "";16 if (!verify(raw, header, process.env.RELOOP_WEBHOOK_SECRET!)) {17 return new Response("Bad signature", { status: 401 });18 }19
20 const event = JSON.parse(raw);21 if (event.type !== "email.received" || event.data.is_spam) {22 return new Response("skipped");23 }24
25 const { thread, threadError } = await reloop.inbox.threads.get(event.data.thread_id);26 if (threadError) throw threadError;27
28 await createSupportTicket(thread); // your logic29
30 return new Response("ok");31}To answer in the same conversation, use reloop.inbox.messages.reply(event.data.email_id, { text: "..." }). Reloop sets the threading headers so Gmail and Outlook show the reply in the original thread.
Option D: With an AI assistant
Connect the Reloop MCP server to Claude, Cursor or another AI client, and ask it to summarise or draft replies to your inbox. For an agent that runs on its own, follow How to Give an AI Agent Its Own Email Address.
Troubleshooting
dig MX support.yourdomain.com +short. It should return 10 inbound.reloop.sh.; wait up to an hour after adding it.550 5.1.1 User unknown bouncerl_...), not your dashboard passwordFAQ
Yes. Any service that accepts mail for your domain works, as long as your MX record points to it. With Reloop you add one MX record, create a mailbox, and read the mail in the dashboard, in any IMAP mail app, or in your own code. The free plan includes 3 inboxes.
Yes, with a subdomain. Keep your root domain's MX records pointing to
Google, and point a subdomain such as support.yourdomain.com to
inbound.reloop.sh. Each set of records works independently, so nothing
changes for your existing email.
You can create them, but mail is not split the way you might expect. Senders try the lowest priority number first and only use the other server if the first one is unreachable. Some of your mail would end up in one place and some in the other. Use a separate subdomain for each provider.
Usually a few minutes, and up to an hour in most cases. If the record had
a long TTL before you changed it, some senders may use the old value until
it expires. Check progress with dig MX yourdomain.com +short.
Yes. Forward individual messages from the dashboard, or forward
automatically with an email.received webhook that calls
reloop.inbox.messages.forward. Reading the mailbox in the Gmail app
over IMAP is another option.
No. Reloop's hosted service receives and stores the mail for you. You only need a server if you want to run Reloop yourself, which our self-hosting guide covers.
Ship your first email with Reloop
in minutes.
Open-source, deliverability-focused, and yours to self-host or run on Reloop Cloud. No lock-in, no rewrite later.


