Send email using client credential flow
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.