SPF, DKIM and DMARC: keep your email out of spam
Three records that prove your email is really from you, and how to check them.
Gmail, Outlook and others check three records before trusting your email. Every mail domain here gets all three automatically.
SPF: who may send
A TXT record on @ listing the servers allowed to send for your domain, for example v=spf1 a mx ip4:203.0.113.10 -all. If you also send through another service (a newsletter tool, Google Workspace), add it to the same record: v=spf1 a mx include:_spf.google.com ~all. Never create a second SPF record; two make both invalid.
DKIM: a signature on every message
Our servers sign each message you send. Receivers check the signature against the key published at mail._domainkey. If you send through another service, it gives you its own DKIM record to add.
DMARC: what to do with fakes
A TXT record on _dmarc, such as v=DMARC1; p=quarantine; rua=mailto:[email protected]. It tells receivers to treat mail that fails SPF and DKIM as spam, so nobody can send convincing fake mail in your name.
Check yours
Open your plan's Email deliverability: SPF, DKIM and DMARC should all be green. If your domain's DNS is elsewhere, it shows exactly which records to add there.
See also: My emails go to spam.