# Trying to enforce Email MFA but SMS is being triggered instead

**URL:** <https://community.auth0.com/t/trying-to-enforce-email-mfa-but-sms-is-being-triggered-instead/190223>\
**Category:** Get Help\
**Tags:** email-factor, mfa\
**Created:** [August 6, 2025, 7:09am UTC](https://community.auth0.com/t/trying-to-enforce-email-mfa-but-sms-is-being-triggered-instead/190223 "2025-08-06T07:09:29Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![vlad.murarasu](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/vlad.murarasu/32/72793_2.png) [@vlad.murarasu](https://community.auth0.com/u/vlad.murarasu)\
**Post date:** [August 6, 2025, 3:26pm UTC](https://community.auth0.com/t/trying-to-enforce-email-mfa-but-sms-is-being-triggered-instead/190223/3 "2025-08-06T15:26:42Z")

</div>

Hi @s.kimura,

Welcome to the Auth0 Community!

The `enable()` method turns on the ability to use email as an MFA method. This should be enabled from the dashboard at Security \> Multi-factor Auth. If you want to customize which MFA factor challenges the user, you must set `Require Multi-factor Auth` to `Never`, and turn off `MFA Risk Assessors`.

 ![Screenshot 2025-08-06 at 6.21.21 PM](https://global.discourse-cdn.com/auth0/original/3X/0/e/0ef5cf0b774417588c0f06e69a17545f0916e7be.png)

Save, and then, at `Additional Settings`, turn on `Customize MFA factors using Actions`

 ![Screenshot 2025-08-06 at 6.24.36 PM](https://global.discourse-cdn.com/auth0/original/3X/7/2/72b81757f28c681aaf7e28f69bdd94920c6760d9.png)

However, you’ll see that the dashboard doesn’t allow you to turn on email MFA alone.

 ![Screenshot 2025-08-06 at 6.25.20 PM](https://global.discourse-cdn.com/auth0/original/3X/a/d/ad8f4f15b6fbe0f7e83bfd3686f38c41ff342fff.png)

As stated in the [docs](https://auth0.com/docs/secure/multi-factor-authentication/multi-factor-authentication-factors/configure-email-notifications-for-mfa) here, email MFA is not a “true” MFA method; therefore, it can’t be the only one turned on. It needs something like SMS or OTP turned on alongside it, which the method you used might’ve automatically turned on.

The `challengeWith()` function from the ManagementAPI will challenge the user using the email MFA method. You can read more about this from our [docs](https://auth0.com/docs/secure/multi-factor-authentication/customize-mfa/customize-mfa-selection-universal-login#how-it-works).

```javascript
exports.onExecutePostLogin = async (event, api) => {
   api.authentication.challengeWith({type: 'email'});
} 

```

However, to use it, you will still need to enable other methods of MFA, like SMS or OTP.

If you have any other questions, feel free to reach out.

Have a good one,  
Vlad

---

_[View the full topic](https://community.auth0.com/t/trying-to-enforce-email-mfa-but-sms-is-being-triggered-instead/190223)._
