Skip to main content

Overview

The Outlook integration connects Alysio to a user’s Outlook or Microsoft 365 mailbox so Alysio can retrieve and manage email, calendar events, and tasks through the Microsoft Graph API. Once connected, users can search emails, read message details, move emails to Deleted Items, schedule meetings, review their calendar, reschedule events, and manage tasks using natural language inside Alysio. The integration respects the user’s mailbox permissions and operates entirely within the scope of the authenticated Microsoft account. When requested, Alysio can also retrieve the mailbox timezone to ensure meeting times and task deadlines are displayed correctly.

Supported Data and Capabilities

User Profile and Timezone

Retrieve the user’s Outlook profile and mailbox timezone. Supported operations include Getting the authenticated user profile
Retrieving the mailbox timezone for proper event and task formatting

Mail

Retrieve and manage email messages. Supported operations include Listing mail folders
Searching messages by sender, keyword, folder, date range, or read status
Retrieving message details
Moving messages to Deleted Items

Calendar

Retrieve and manage calendar events. Supported operations include Creating new events
Listing events within a time range
Viewing event details
Rescheduling existing events
Listing meeting attendees

Tasks

Retrieve and manage tasks within the user’s Microsoft To Do task list. Supported operations include Creating tasks
Listing tasks with filters
Retrieving task details
Updating task attributes such as status, title, due date, or priority

Authentication

Method

OAuth 2.0 using Microsoft identity platform Azure AD

API Provider

Microsoft Graph API

Redirect URI

Configured when setting up the Outlook integration in Alysio.
The Azure AD application must allow this redirect URI.

Token Handling

OAuth tokens are stored securely and refreshed automatically. Each user connects their own Microsoft account, and all mailbox, calendar, and task actions are scoped to that user’s account. If the integration is disconnected or authorization is revoked, Outlook tools will no longer function until the integration is reconnected.

Required Scopes

The Outlook integration requires the following Microsoft Graph scopes. Calendars.ReadWrite
Mail.Read
Mail.ReadWrite
Tasks.ReadWrite
User.Read

Scope Justification

ScopePurpose
User.ReadRetrieve user profile and enable /me context
Mail.ReadSearch and retrieve email messages
Mail.ReadWriteMove messages to Deleted Items
Calendars.ReadWriteCreate, list, and update calendar events
Tasks.ReadWriteCreate, retrieve, and update tasks

MCP Tools

The Outlook MCP provides tools that allow Alysio to interact with email, calendar, and tasks using natural language.

get_outlook_user_profile

Returns the authenticated user’s Outlook profile. Example prompts What Outlook account is connected
Show my Outlook profile

get_user_outlook_timezone

Retrieves the mailbox timezone used for calendar and task formatting. Example prompts What timezone is my mailbox set to
Use my timezone for calendar responses

outlook_get_list_of_folders

Returns the list of mail folders. Example prompts List my Outlook folders
What folders do I have

outlook_search_mail_messages

Searches mail messages using filters such as sender, folder, date range, or read status. Example prompts Find emails from boss@company.com
Search emails about the proposal

outlook_get_mail_message_details

Retrieves the full details of an email message by ID. Example prompts Open this email
Show me the full message

outlook_trash_mail_message

Moves an email message to Deleted Items. Example prompts Delete this email
Move this message to trash

outlook_create_calendar_event

Creates a new calendar event. Example prompts Schedule a meeting tomorrow at 2pm
Create a meeting with Sarah and John

outlook_list_calendar_events

Lists events within a specified date and time range. Example prompts What is on my calendar this week
List meetings with client@example.com

outlook_get_calendar_event_details

Retrieves detailed information about a specific event. Example prompts Show this meeting
Get details for event 123

outlook_move_calendar_event

Reschedules or updates an existing event. Example prompts Move this meeting to 3pm
Reschedule the Q2 review to Friday

outlook_list_calendar_attendees

Retrieves the list of attendees for a meeting. Example prompts Who is in this meeting
List attendees for this event

outlook_create_task

Creates a new task. Example prompts Add a task to submit the report by Friday
Create a high priority follow up task

outlook_list_tasks

Lists tasks with optional filters. Example prompts Show my tasks
List my incomplete tasks

outlook_get_task_details

Retrieves the full details of a task. Example prompts Show this task
Get details for task 456

outlook_update_task

Updates an existing task. Example prompts Mark this task complete
Change the due date to next Monday

App Behavior

Outlook data is retrieved and updated on demand when users request information or actions involving email, calendar events, or tasks. Alysio does not continuously sync mailbox data. Each request triggers a Microsoft Graph API call using the user’s OAuth credential. This ensures all activity is scoped to explicit user actions and respects mailbox permissions.

Example Workflow

User asks What is on my calendar today Alysio routes the request to the Outlook MCP. The MCP retrieves the user’s timezone using get_user_outlook_timezone. The MCP retrieves calendar events for today using outlook_list_calendar_events with the correct timezone. Microsoft Graph returns the events. Alysio displays the events in the conversation interface.

Troubleshooting

Outlook Not Connected

The Outlook integration has not been authorized. Solution
Reconnect Outlook under Settings → Integrations and complete OAuth authorization.

401 Unauthorized

The OAuth token may be invalid, expired, or revoked. Solution
Reconnect the Outlook integration to generate a new token.

403 Forbidden

The Azure AD application may be missing required permissions. Solution
Ensure the application includes Mail.Read, Mail.ReadWrite, Calendars.ReadWrite, Tasks.ReadWrite, and User.Read.

Incorrect Timezone

Calendar times may appear incorrect if the mailbox timezone is not used. Solution
Retrieve the timezone using get_user_outlook_timezone before formatting event times.

Tasks Not Appearing

Tasks are created in the default Microsoft To Do task list. Solution
Ensure the Microsoft account has a default task list configured.

Message or Event Not Found

The item ID may be outdated or the item may have moved. Solution
Search again to retrieve the updated message or event ID.

Support

For help configuring or troubleshooting the Outlook integration, contact support@alysio.ai