---
sourceDocument: Yokohama ServiceNow AI Platform Administration
sourceDocumentLink: https://www.servicenow.com/docs/r/yokohama/platform-administration

 Release :

    - yokohama

ft:locale :

    - en-US

ft:publication_title :

    - Yokohama ServiceNow AI Platform Administration

ft:clusterId :

    - platadm

bundleId :

    - platadm

workflow :

    - Platform


---

# Send email using client credential flow

# Send email using client credential flow {#ariaid-title1}

* Release version: Yokohama
* 
* Updated January 30, 2025
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 minute to read

Use the client credential flow to send emails from Microsoft Exchange Online.

Email account administrators, who are users that have the email_account_admin role, can configure ServiceNow AI Platform to send emails from an Microsoft Exchange Online tenant. The email account administrators can use SMTP by authenticating with a client ID and client secret or with certificates.
* **[Activate OAuth support plugin](https://www.servicenow.com/docs/~5HwgIyQzWmiLf~lMIcEug)**   
  You can activate the Email:OAUTH support for IMAP, Microsoft Graph (Receiving), and SMTP plugin (com.glide.email.oauth) for Notifications if you have the admin role.
* **[Configure client credential flow for SMTP OAuth2 using a client id and secret](https://www.servicenow.com/docs/NY1OimIKHPSuOYAtiCI2dg)**   
  Configure outbound email accounts in a ServiceNow instance using a client id and secret.
* **[Register an OAuth Provider](https://www.servicenow.com/docs/V71GggxzCaQeIhz6r4x~bQ)**   
  Use the information generated during the Microsoft Azure account configuration to register an application as an OAuth provider.
* **[Configure client credential flow for SMTP OAuth2 using certificate-based authentication](https://www.servicenow.com/docs/pPmraNd~aOrhLq~Xzs1RuQ)**   
  Configure an OAuth application profile to authenticate using certificates for outbound email.
* **[Create an email account with SMTP OAuth2.0](https://www.servicenow.com/docs/ZqhCtvzkM2N9_HlvWwCcWg)**   
  Create an email account from Microsoft Exchange Online with SMTP OAuth2.0.

