# Receiving and sending emails

> How domain email works, what MX records do, and how to connect common email providers to your domain.

Your [domain](https://verifiedinbox.ai/docs/glossary.md#domain) is the name after the `@` in your email address, such as `yourcompany.com`. Behind the scenes, receiving email and sending email are handled separately in your domain's [DNS](https://verifiedinbox.ai/docs/glossary.md#dns) settings.

Because the two are separate, you can read and reply to daily team mail in one service (such as Google Workspace or Microsoft 365) while sending product receipts, password resets, or newsletters through another service (such as Postmark or Resend).

## How receiving email works: MX records

When someone sends an email to `alex@yourcompany.com`, their mail server looks up your domain's [MX records](https://verifiedinbox.ai/docs/glossary.md#mx-record) (Mail Exchanger records). An MX record tells the internet which [mailbox provider](https://verifiedinbox.ai/docs/glossary.md#mailbox-provider) accepts incoming mail for your domain.

Each MX record has two parts:

- **Priority (or preference):** a number that controls the order servers are tried. Lower numbers come first (for example, priority `1` or `10` is tried before `20`).
- **Mail server (host):** the address of your provider's incoming mail server.

If your domain has no MX records, it can still send email, but nobody can reply to addresses on that domain.

## Common email providers and example MX records

Choose one mailbox provider to receive mail for a given domain (never mix MX records from two different providers on the same domain). Always copy the exact records shown in your provider's setup wizard.

### Google Workspace

| Field | Value |
|---|---|
| **Example MX record** | `1 smtp.google.com` |
| **Setup guide** | [Google Workspace MX setup](https://support.google.com/a/answer/174125) |

### Microsoft 365

| Field | Value |
|---|---|
| **Example MX record** | `0 <your-domain-key>.mail.protection.outlook.com` |
| **Setup guide** | [Microsoft 365 DNS records](https://learn.microsoft.com/en-us/microsoft-365/admin/get-help-with-domains/create-dns-records-at-any-dns-hosting-provider) |

### Fastmail

| Field | Value |
|---|---|
| **Primary MX** | `10 in1-smtp.messagingengine.com` |
| **Secondary MX** | `20 in2-smtp.messagingengine.com` |
| **Setup guide** | [Fastmail MX records](https://www.fastmail.help/hc/en-us/articles/1500000278002-Setting-up-your-domain-MX-records) |

### Zoho Mail

| Field | Value |
|---|---|
| **Primary MX** | `10 mx.zoho.com` |
| **Secondary MX** | `20 mx2.zoho.com` |
| **Tertiary MX** | `50 mx3.zoho.com` |
| **Setup guide** | [Zoho Mail MX configuration](https://www.zoho.com/mail/help/adminconsole/configure-email-delivery.html) |

### Proton Mail

| Field | Value |
|---|---|
| **Primary MX** | `10 mail.protonmail.ch` |
| **Secondary MX** | `20 mailsec.protonmail.ch` |
| **Setup guide** | [Proton Mail custom domain setup](https://proton.me/support/custom-domain) |

## How sending email works

Unlike incoming mail, outgoing mail does not use MX records. Any server on the internet can try to send an email that claims to come from `@yourcompany.com`.

To stop impersonators and prove which emails are genuinely yours, inboxes check three security settings on your domain:

1. **[SPF](https://verifiedinbox.ai/docs/spf.md):** lists every service allowed to send email for your domain.
2. **[DKIM](https://verifiedinbox.ai/docs/dkim.md):** adds a cryptographic digital signature to each outgoing message.
3. **[DMARC](https://verifiedinbox.ai/docs/dmarc.md):** tells inboxes to quarantine or block messages that fail SPF and DKIM, and requires the authenticated domain to match the "From" address ([alignment](https://verifiedinbox.ai/docs/glossary.md#alignment)).

Once those three protections are in place, **[BIMI](https://verifiedinbox.ai/docs/bimi.md)** lets Gmail and other supporting inboxes display your official logo and blue verified checkmark next to your messages.
