> For the complete documentation index, see [llms.txt](https://help.rechat.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.rechat.com/guides/marketing/email-deliverability/how-email-authentication-works-spf-dkim-dmarc.md).

# How Email Authentication Works (SPF, DKIM, DMARC)

### **Simple Explanation**

When you send an email, providers want to confirm:“Is this sender legitimate?”Authentication proves your emails are truly coming from your domain.

### **What This Includes**

* **SPF**: Defines which servers are allowed to send emails for your domain
* **DKIM**: Verifies the email hasn’t been altered
* **DMARC**: Tells providers how to handle suspicious emails

### **Why This Matters**

Without authentication:

* Emails are more likely to go to spam
* Some messages may be blocked entirely

With proper setup:

* Your emails appear more trustworthy
* Inbox placement improves

### **Advanced Details**

When Rechat sends emails on your behalf, it must align with your domain.This is called **DKIM alignment**.To achieve this, Rechat is authorized to send using a subdomain of your domain, improving trust with providers like Gmail and Outlook.

{% content-ref url="/pages/Pk4cvAnkMIjdH0lcBXZa" %}
[DNS Self-Service Setup](/appendix/brokerage-set-up/email-delivery/dns-self-service-setup.md)
{% endcontent-ref %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://help.rechat.com/guides/marketing/email-deliverability/how-email-authentication-works-spf-dkim-dmarc.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
