---
sourceDocument: Xanadu ServiceNow AI Platform Administration
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/xanadu/platform-administration

 Release :

    - xanadu

ft:locale :

    - en-US

ft:publication_title :

    - Xanadu ServiceNow AI Platform Administration

ft:clusterId :

    - platadm

bundleId :

    - platadm

workflow :

    - Platform


---

# Enable automatic user creation

# Enable automatic user creation {#ariaid-title1}

* Release version: Xanadu
* 
* Updated August 1, 2024
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 2 minutes to read

An administrator can set an email property to automatically create users from
incoming email. The administrator provides a list of trusted domains to prevent untrusted
users from being automatically created.

## Before you begin

Role required: admin

## About this task

For example, you can prevent email from users outside your company domain from creating incidents. When an instance receives a message and there is no matching email address from the sender, the instance can create a user with the User ID \[sys_user.user_name\] set to the sender's full email address.  
Users in your instance must still have write and update access to the records that they create or update through inbound email actions.  
Note:  
To learn more about the glide.user.trusted_domain property, which affects automatic email creation, see Restrict emails by domain for user creation (instance security hardening) in the Instance Security Hardening Settings.  
{#t_EnablingAutomaticUserCreation__table_slh_sxv_m4__entry__4}

| Value of email.from Variable | User ID Created | Email Address | Name |
|-|-|-|-|
| new.user@company.com | new.user@company.com | new.user@company.com | New User |
| "New User" \<new.user@company.com\> | new.user@company.com | new.user@company.com | New User |
| "User, New" \<new.user@company.com\> | new.user@company.com | new.user@company.com | New User |
| "User" \<nuser@company.com\> | nuser@company.com | nuser@company.com | User |
[Table 1. Creating users from incoming email]

{#t_EnablingAutomaticUserCreation__table_slh_sxv_m4}

## Procedure

1. Navigate to AllSystem PropertiesEmail Properties.
2. Select the check box for Automatically create users for incoming email from trusted domains (glide.pop3readerjob.create_caller).  
3. Enter the list of trusted domains in Trusted domains for creating users from incoming emails (glide.user.trusted_domain).  
   Note:  
   * The glide.user.trusted_domain property prevents user creation if the sender is not from a trusted domain. However, the system may still process inbound actions for emails that are received from the domain. To have the system ignore these emails, set up a system address filter. For more information on setting up system address filters, see [System address filters](https://servicenow-prod.fluidtopics.net/kfM3yxItpoLOCPx~_UZbKg "Prevent your system from communicating with untrusted domains and email addresses."). You can also prevent untrusted users from triggering inbound actions by locking out the guest user.
   * The glide.user.trusted_domain property does not accept wildcarded domains or values such as:
     * \*.edu
     * \*.net
     * .edu
     * .net
     {#t_EnablingAutomaticUserCreation__ul_h4t_rjf_zgc}
   {#t_EnablingAutomaticUserCreation__ul_anq_bjf_zgc}
4. Click Save.
5. **Optional:** Complete the following steps to lock out the guest user.
   1. Navigate to User AdministrationUsers and select the user guest.
   2. Select the Locked out field to disable the guest account.
   {#t_EnablingAutomaticUserCreation__substeps_mmt_5qq_cdb}

## What to do next

When the property glide.pop3readerjob.create_caller is set to
false, the instance runs inbound actions from users who do
not match an existing user by impersonating the guest user.

If the property glide.pop3readerjob.create_caller is set to
true, but a user has a valid email address associated with
a non-primary device, the instance creates a new user record for that email address
if there is no matching email address in the Users \[sys_user\] table. The instance
does not validate non-primary email addresses against the Notification Devices
\[cmn_notif_device\] table.

The method the instance uses to create users can be upgraded to use the full email
address by activating the Email Automatic User Creation plugin.  
The plugin sets the property glide.email.create_userid_from_email to true by default. After activating the plugin, enable automatic user creation from email.  
Note:  
The glide.email.create_userid_from_email is not used by the system when the record is created using record producer or created manually.  
Warning:  
Review your existing user records to reconcile any that contain identical email addresses. If you activate the plugin prior to reconciling email addresses, your instance cannot distinguish between users with identical email addresses and randomly selects one of the users with the matching email address.

*[\>]: and then


