Skip to content
Release: Australia · Updated: 2026-03-12 · Official documentation · View source

Create an email account with SMTP OAuth2.0

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.

FieldDescription
NameName of the email account.
TypeSMTP
AuthenticationSelect OAUTH 2.0.Type of authentication used for the email account to connect to the email server.
ServerServer used for creating the email accounts.
Email user labelDisplay value used for outgoing messages. This field is for SMTP type accounts only.
User nameUser 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.
FromThe 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 ProfileOAuth profile configured during application registry.
Connection SecurityIf your email server supports TLS, an insecure connection is upgraded to a secure connection using the SSL/TLS encryption protocol.
PortConnection TCP port.
ActiveOption to activate the email account.
ServiceNow ConfiguredIdentifier of whether this account is provisioned by ServiceNow. If you create an account, this option isn't selected.
Enable debug outputOption 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.
  1. Select Submit.

  2. Test the connection by selecting the Test Connection link.

Parent Topic:Sending email using client credential flow