--- title: Microsoft Exchange Online mail management AI agent description: This AI agent manages Microsoft Exchange Online mail. It looks up mail folders and messages, deletes messages, and sets mailbox automatic replies. locale: en-US canonical_url: https://www.servicenow.com/docs/r/australia/intelligent-experiences/inth-ms-exchange-microsoft-exchange-online-mail-management-ai-agent.html release: australia topic_type: reference last_updated: "2026-09-30" reading_time_minutes: 2 breadcrumb: [Microsoft Exchange Online Spoke AI agents, Integration Hub AI agents, Integration Hub, AI agents library, AI assets, Enable AI experiences] --- # Microsoft Exchange Online mail management AI agent This AI agent manages Microsoft Exchange Online mail. It looks up mail folders and messages, deletes messages, and sets mailbox automatic replies. ## Workflow The agent helps the user manage mailbox content and automatic replies in Microsoft Exchange Online. 1. Ask the user what they want to do and collect the details the action needs, such as the user ID or mail folder. 2. Look up a user's mail folders. 3. Look up messages for a user or in a mail folder. 4. Delete a message. 5. Set the mailbox's automatic reply. 6. Report the outcome to the user, including details of any error.
Field Description
Allow third party to access this AI agent When enabled, third-party AI agents can use this agent. This value is off \(false\) by default. This setting is defined in the AI Agent configs \[sn\_aia\_agent\_config\] table on the External discoverable field.
Allow AI specialists to access this AI agent When enabled, AI specialists can use this agent. This value is off \(false\) by default. When set to true, more configuration options for tools become available so that an AI specialist can map inputs and response templates to tool outputs. This setting is defined in the AI Agent configs \[sn\_aia\_agent\_config\] table on the Specialist enabled field.
Manage long-term memory When enabled, all previous user interactions are used as context for the LLM. This value is off \(false\) by default. This setting is defined by the **sn\_aia.ltm.enable\_long\_term\_memory** system property. For more information, see [ServiceNow Otto AI agents reference](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/intelligent-experiences/na-aia-reference.md).
Tools - **Flow Actions** Delete Message Look up Mail Folders by User ID Look up Messages by Mail Folder ID Look up Messages by User ID Set Mailbox Auto Reply
Allowed user roles The specific user roles that can access this AI agent. snc\_internal
Data access roles The specific user identity roles that determine which data the AI agent can access and what actions it can take. snc\_internal
Triggers Optional. None defined by default. An admin can specify triggers if desired. For more information, see [Add a trigger to an AI agent](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/intelligent-experiences/add-trigger-aia.md).
Channels Configure an assistant for Virtual Agent or ServiceNow Otto panel using [Assistant Designer](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/conversational-interfaces/configure-now-assist-va.md).
Used in agentic workflows Not applicable.
**Parent Topic:**[Microsoft Exchange Online Spoke AI agents](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/intelligent-experiences/inth-ms-exchange-ai-agents-overview.md) **Related topics** [Microsoft Exchange Online Spoke](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/integrate-applications/ms-exch-online-spoke.md) [Integration Hub spokes](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/integrate-applications/spokes-list.md)