---
description: Used to send out emails from your domain
---

# Setting Up Mail Domains in Humanic

Humanic allows you to run email campaigns on a specific set of users. To enable email sending and tracking, you need to set up a mail domain. Follow the steps below to add and configure your mail domain:

### Add Mail Domain

1. Navigate to the [mail domain settings](https://dashboard.humanic.ai/dashboard/modal-settings/?tab=mail-domain) page in Humanic.ai.
2. Click on `Add Domain` button.
3.  Enter the required information:

    * **Region Name**: Select the region where your email domain will be hosted. This is important for optimizing email delivery speed and compliance with regional regulations.
    * **Domain Name**: Enter the domain name you will use for sending emails. This should be a valid domain that you own and have administrative access to.

    <figure><img src="https://2273820434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrbIhacVcyuUret5XcsVA%2Fuploads%2FMeX0KBgGxin5VsOTS6F0%2Fimage.png?alt=media&#x26;token=397e701c-83ad-407e-a926-21f0767d033e" alt=""><figcaption></figcaption></figure>


4. Fill in the above information and click "**Save**".

### Verify DNS Settings

After adding a domain, you need to verify DNS settings:

* Click on "**Verify DNS Settings**" to initiate the verification process.
* Optionally, set a daily rate limit for sending emails.

<figure><img src="https://2273820434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrbIhacVcyuUret5XcsVA%2Fuploads%2F17nFv1j3LFcmAmgrtZrI%2Fimage.png?alt=media&#x26;token=f036599a-067c-4ffc-b8e8-3c3f72ca75ed" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
Ensure the state is "**Verified**" to start sending your emails.
{% endhint %}

### Configuring DNS Records

To send and receive emails using [**Resend**](https://resend.com/), add the following records to your DNS settings:

1. **TXT Records**
   * **SPF (Sender Policy Framework) Record**: SPF is an email authentication standard. The TXT record allows you to list all the IP addresses authorized to send email on behalf of your domain.
   * **DKIM (DomainKeys Identified Mail) Record**: DKIM is an email security standard designed to ensure that an email claiming to come from your domain was indeed authorized by you. The TXT record contains a public key used to verify the email's authenticity.
2. **MX Records**
   * **SPF (Sender Policy Framework) Record**: The MX record allows you to list IP addresses that will receive bounce and complaint feedback on behalf of your domain.

<figure><img src="https://2273820434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrbIhacVcyuUret5XcsVA%2Fuploads%2F208RobwBmnBpUH2DRm14%2Fimage.png?alt=media&#x26;token=9a2b7132-d47e-4600-b9bb-3c0ae09a83fc" alt=""><figcaption></figcaption></figure>

### Next Steps

Once your mail domain is configured and DNS settings are verified:

* **Run Email Campaigns**: Start sending targeted [email campaigns](../campaigns) to your users.
* **Track Performance**: Use Humanic to monitor campaign performance.

### FQAs

<details>

<summary>How much time it takes for domain verification?</summary>

Domain verification typically takes between 12 to 24 hours. However, it can sometimes be faster depending on your DNS provider.

</details>

<details>

<summary>What to do if domain is not getting verified?</summary>

If your domain is not getting verified, ensure that all DNS records have been correctly added. You can use a DNS checker to verify that the records are correctly set up. [Check your DNS records here](https://www.dnschecker.org).

</details>
