# Our otp-mails are endning up in spam-folder due to DMARC-problem

**URL:** <https://community.auth0.com/t/our-otp-mails-are-endning-up-in-spam-folder-due-to-dmarc-problem/131135>\
**Category:** Get Help\
**Tags:** email-providers, mailgun\
**Created:** [April 3, 2024, 6:59pm UTC](https://community.auth0.com/t/our-otp-mails-are-endning-up-in-spam-folder-due-to-dmarc-problem/131135 "2024-04-03T18:59:53Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![kulturnat](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@kulturnat](https://community.auth0.com/u/kulturnat)\
**Post date:** [April 3, 2024, 6:59pm UTC](https://community.auth0.com/t/our-otp-mails-are-endning-up-in-spam-folder-due-to-dmarc-problem/131135/1 "2024-04-03T18:59:53Z")

</div>

Hi!

We’re primarily using the email connection for login on a free account.

Some providers ( including gmail ) mark the otp-mails as spam, as the sender-adress is set to [root@auth0.com](mailto:root@auth0.com) instead of the email I’ve setup in the branding/email settings.

And there is no DMARC / DKIM available on [auth0.com](http://auth0.com), witch results in message marked as spam.

I have no problem sending via thunderbird using the same domain.

The problem occurs both when using auth0s test-server and when using mailgun normally handles our mail.

Any ideas on what to do?

/Henning

---

<div class="post-metadata">

**Author:** ![kulturnat](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@kulturnat](https://community.auth0.com/u/kulturnat)\
**Post date:** [April 6, 2024, 3:42pm UTC](https://community.auth0.com/t/our-otp-mails-are-endning-up-in-spam-folder-due-to-dmarc-problem/131135/2 "2024-04-06T15:42:57Z")

</div>

Turns out there is a setting in the authorization / email tab that has to contain the email to use as sender.

The mails in the Branding / email sections do not apply to the email-connection.

Maybe that’s obvious, but not to me 😉

/Henning

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [April 20, 2024, 3:43pm UTC](https://community.auth0.com/t/our-otp-mails-are-endning-up-in-spam-folder-due-to-dmarc-problem/131135/3 "2024-04-20T15:43:34Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
