# Deny unverified emails in Pre User Registration action

**URL:** <https://community.auth0.com/t/deny-unverified-emails-in-pre-user-registration-action/80208>\
**Category:** Get Help\
**Created:** [March 21, 2022, 2:35am UTC](https://community.auth0.com/t/deny-unverified-emails-in-pre-user-registration-action/80208 "2022-03-21T02:35:05Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mackk](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/mackk/32/36021_2.png) [@mackk](https://community.auth0.com/u/mackk)\
**Post date:** [March 21, 2022, 2:35am UTC](https://community.auth0.com/t/deny-unverified-emails-in-pre-user-registration-action/80208/1 "2022-03-21T02:35:05Z")

</div>

Hey there!

We’re looking at migrating our hooks and rules to actions

We currently have a Pre User Registration hook that denies registration if the `user.email_verified` property is missing or is `false`.

This is to ensure that only invited users can register, as when a user accepts their invitation via email the `email_verified` property is `true`.

When trying to add the equivalent behaviour using a Pre Registration Action, I noticed that the `email_verified` property is missing from the `event.user` object in the [Pre User Registration Flow](https://auth0.com/docs/customize/actions/flows-and-triggers/pre-user-registration-flow/event-object#:~:text=original%20authentication%20request.-,event.user,-An%20object%20describing)

From looking at all of the other action triggers, they have the `email_verified` property available on the `event.user` object:

- [Login Flow](https://auth0.com/docs/customize/actions/flows-and-triggers/post-user-registration-flow/event-object#:~:text=User%27s%20email%20address.-,email_verified,-Boolean.%20Indicates%20whether)
- [Post User Registration Flow](https://auth0.com/docs/customize/actions/flows-and-triggers/post-user-registration-flow/event-object#:~:text=User%27s%20email%20address.-,email_verified,-Boolean.%20Indicates%20whether)
- [Post Change Password Flow](https://auth0.com/docs/customize/actions/flows-and-triggers/post-change-password-flow/event-object#:~:text=User%27s%20email%20address.-,email_verified,-Optional%20boolean.%20Indicates)
- [Send Phone Message Flow](https://auth0.com/docs/customize/actions/flows-and-triggers/send-phone-message-flow/event-object#:~:text=User%27s%20email%20address.-,email_verified,-Boolean.%20Indicates%20whether)

We were wondering if there were plans to add the `event.user.email_verified` property to the Pre Registration Action Flow?

Or if this is intentional, what the recommended approach would be to achieve the same behaviour as our “deny registration if email is not verified” pre-registration hook?

Cheers, Mack

---

<div class="post-metadata">

**Author:** ![dan.woda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dan.woda/32/18340_2.png) [@dan.woda](https://community.auth0.com/u/dan.woda)\
**Post date:** [March 23, 2022, 3:40pm UTC](https://community.auth0.com/t/deny-unverified-emails-in-pre-user-registration-action/80208/3 "2022-03-23T15:40:49Z")

</div>

Hi @mackk,

Welcome to the Auth0 Community!

It doesn’t look like pre-reg actions currently support `email_verified`. I reached out to the team on this and will get back to you as soon as they respond.

---

<div class="post-metadata">

**Author:** ![dan.woda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dan.woda/32/18340_2.png) [@dan.woda](https://community.auth0.com/u/dan.woda)\
**Post date:** [May 25, 2022, 9:22pm UTC](https://community.auth0.com/t/deny-unverified-emails-in-pre-user-registration-action/80208/4 "2022-05-25T21:22:32Z")

</div>


