Create an email account with SMTP OAuth2.0

task australia Updated Sep 10, 2026 1 min read create-email-account-smtp.md
Raw file servicenow.com

Create an email account from Microsoft Exchange Online with SMTP OAuth2.0.

Before you begin

Role required: email_account_admin

Procedure

  1. Navigate to All > System Mailboxes > Administration > Email Accounts.

  2. Select New.

  3. On the form, fill in the fields.

Field

Description

Name

Name of the email account.

Type

SMTP

Authentication

Select OAUTH 2.0.Type of authentication used for the email account to connect to the email server.

Server

Server used for creating the email accounts.

Email user label

Display value used for outgoing messages. This field is for SMTP type accounts only.

User name

User name or ID to authenticate an email address. The value in this field is also the From address when the instance sends an email. If you're using SMTP, the value must be a full email address. The value in the From field can override this field for SMTP accounts.

From

The From email address used for notifications sent with this account. This address takes precedence over the User name field. If nothing is present in this field, the User name is used as the return address for notifications sent from the instance. Note: This value is for SMTP only.

OAuth Profile

OAuth profile configured during application registry.

Connection Security

If your email server supports TLS, an insecure connection is upgraded to a secure connection using the SSL/TLS encryption protocol.

Port

Connection TCP port.

Active

Option to activate the email account.

ServiceNow Configured

Identifier of whether this account is provisioned by ServiceNow. If you create an account, this option isn't selected.

Enable debug output

Option to create node logs for the raw data that is exchanged with the email server.

You can enable this field temporarily to diagnose issues related to receiving or sending email.

4. Select **Submit**.
  1. Test the connection by selecting the Test Connection link.

Parent Topic:Sending email using client credential flow

Search documentation
Search document titles and file paths on the australia branch