Outlook Mail is available on the Cloud plan only.
Overview
OneCLI connects AI agents to Outlook Mail through Microsoft’s OAuth flow. Agents can read your inbox, send emails, manage folders, and search messages. The gateway injects OAuth credentials into requests to the Microsoft Graph API automatically. This is useful for agents working in Microsoft 365 environments that need to process emails, send notifications, or automate inbox management.Setup
1
Go to Connections
Open the OneCLI dashboard and navigate to Connections > Outlook Mail.
2
Authorize
Click Connect Outlook. You’ll be redirected to Microsoft to sign in and authorize OneCLI. Review the permissions and click Accept.
What agents can do
- Search messages by sender, subject, body content, date range, or folder
- Read the full content of emails, including attachments
- Send new emails with recipients, subject, body, and attachments
- Reply to or forward messages
- Create, rename, and delete mail folders
- Move messages between folders
- Mark messages as read or unread
- Flag messages for follow-up
- List and manage inbox rules
- Read and manage focused inbox preferences