# Suppress sending verification E-Mail via UI

**URL:** <https://community.auth0.com/t/suppress-sending-verification-e-mail-via-ui/151867>\
**Category:** Get Help\
**Tags:** email-verification, user-management\
**Created:** [November 19, 2024, 12:25pm UTC](https://community.auth0.com/t/suppress-sending-verification-e-mail-via-ui/151867 "2024-11-19T12:25:55Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mrszop](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/mrszop/32/62330_2.png) [@mrszop](https://community.auth0.com/u/mrszop)\
**Post date:** [November 19, 2024, 12:25pm UTC](https://community.auth0.com/t/suppress-sending-verification-e-mail-via-ui/151867/1 "2024-11-19T12:25:55Z")

</div>

Hello everyone,

I have read several similar threads regarding this topic, but I can’t find the solution to my issue.

What I want:

- create user via UI
- disable automatic sending of verification emails (since I want to add some required metadata)
- after user is created, I add some metadata
- click in UI on verify email, so that the user gets the verification email

I am kind of lost here, since this process works if I create the user via API call i.e.

```auto
--data-raw '{"email":"email@address.com","blocked":true,"email_verified":false,"family_name":"Familiy_Name","password":"supersecret","connection":"Username-Password-Authentication","verify_email":false}'

```

I can see the requested App Metadata block

 ![image](https://global.discourse-cdn.com/auth0/original/3X/9/2/92af867309c7294d2a7660b8c05793ad88a3044e.png)

When I click on “Actions - Send Verification Email”, I get the desired email to verify myself.

I have also defined a pre-user and post-user-registration action like this:

```auto
exports.onExecutePreUserRegistration = async (event, api) => {
  // Set email_verified to false
  api.user.setAppMetadata('email_verified', false);
  api.user.setAppMetadata('verify_email', false);
  api.user.setAppMetadata('blocked', true);

  // Add a flag to track unverified status
  api.user.setAppMetadata('verification_status', {
    verified: false,
    created_at: new Date().toISOString()
  });
  
  // Prevent verification email from being sent
  api.user.setAppMetadata('suppress_verification_email', true);
};

```

and

```auto
exports.onExecutePostUserRegistration = async (event, api) => {
  // Set email_verified to false
  api.user.setAppMetadata('email_verified', false);
  api.user.setAppMetadata('verify_email', false);
  api.user.setAppMetadata('blocked', true);

  // Add a flag to track unverified status
  api.user.setAppMetadata('verification_status', {
    verified: false,
    created_at: new Date().toISOString()
  });
  
  // Prevent verification email from being sent
  api.user.setAppMetadata('suppress_verification_email', true);
};

```

I can see that the App Metadata ist actually filled out like expected, but the behaviour is just wrong. The user is unlocked, the verification email is send.

Any ideas/suggestions on that topic?

Cheers

---

<div class="post-metadata">

**Author:** ![dawid.matuszczyk](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dawid.matuszczyk/32/74550_2.png) [@dawid.matuszczyk](https://community.auth0.com/u/dawid.matuszczyk)\
**Post date:** [November 28, 2024, 12:26am UTC](https://community.auth0.com/t/suppress-sending-verification-e-mail-via-ui/151867/3 "2024-11-28T00:26:48Z")

</div>

Hi @mrszop

Welcome to the Auth0 Community!

Unfortunately, It’s not possible to disable the automatic sending of verification emails via Auth0 Dashboard, and it’s possible, as you identified, when creating a user with Management API. You can read about that here → [Disable Verification Email Sent on User Creation](https://community.auth0.com/t/disable-verification-email-sent-on-user-creation/88863#p-236136-solution-4)

If you think this feature would benefit Auth0, I encourage you to open a new thread in the #Feedback category, explaining your use case and what you would like this feature to look like.

Thanks  
Dawid

---

<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:** [December 12, 2024, 12:27am UTC](https://community.auth0.com/t/suppress-sending-verification-e-mail-via-ui/151867/4 "2024-12-12T00:27:48Z")

</div>

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