--- title: Create an email account with SMTP OAuth2.0 description: Create an email account from Microsoft Exchange Online with SMTP OAuth2.0. locale: en-US canonical_url: https://www.servicenow.com/docs/r/australia/platform-administration/create-email-account-smtp.html release: australia topic_type: task last_updated: "2026-03-12" reading_time_minutes: 1 breadcrumb: [Send email using client credential flow, Advanced email setup, Configure, Email Administration, Notifications, Configure core features, Administer the ServiceNow AI Platform] --- # 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.
| 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. |