FruxonDocs

Microsoft Outlook

Microsoft Outlook integration for email, calendar, contacts, and folder management via Microsoft Graph

The Microsoft Outlook integration lets your agents read and send email, manage calendar events, work with contacts, and organize mail folders in a connected Microsoft 365 account through the Microsoft Graph API.

Prerequisites

  • A Microsoft 365 account (work, school, or personal) with the mailbox you want the agent to access.
  • Permission to authorize third-party apps in your tenant. Some organizations require admin consent for the requested scopes.

Setup

  1. Open your agent in Agent Studio.

  2. In the Integrations panel, click Add Integration Config.

  3. Select Microsoft Outlook from the integration list.

  4. Give the config a display name (e.g., "Outlook — Support inbox").

  5. Click Connect and complete the Microsoft sign-in.

  6. In the OAuth scope picker, choose which Graph permissions to grant. Each scope is requested independently:

    ScopeRequired forRecommended
    Read user profile (User.Read)Identifying the connected mailboxYes
    Read mail (Mail.Read)Reading messages, listing folders, searchYes
    Send mail (Mail.Send)Sending, replying, forwardingIf the agent sends
    Modify mail (Mail.ReadWrite)Creating mail folders, moving messagesIf the agent manages mail
    Manage calendar (Calendars.ReadWrite)Reading and modifying calendar eventsIf the agent uses calendar tools
    Manage contacts (Contacts.ReadWrite)Reading and modifying contactsIf the agent uses contact tools
    Stay connected (offline_access)Background refresh so users aren't repromptedYes
  7. Grant only what the agent actually needs — the OAuth picker lets you uncheck scopes you don't want exposed.

  8. Save the agent revision.

Connection testing is available — click Test on the saved config to verify the credentials and granted scopes against Microsoft Graph before deploying.

Using in Your Agent

  1. In an Agent Step, attach Outlook tools from the tools panel.
  2. Tools are referenced as outlook.list_messages, outlook.send_email, outlook.create_event, etc.

A tool will only execute successfully if the OAuth scope it requires was granted during setup. If you later attach a tool that needs a scope you didn't grant (say, send_email without Mail.Send), reauthorize the config and add the missing scope.

Sandbox routing

Outlook ships with sandbox classifications so destructive or send-style tools can be routed to a simulator during evaluation runs and dry runs. See Sandbox Mode for how routing is resolved at the tenant credential level.

Available Tools

Mail

ToolDescriptionAction Type
list_messagesList recent email messages, optionally scoped to a folderReadOnly
get_messageRetrieve a single message by ID, including full bodyReadOnly
search_emailsKeyword search across subject, body, and senderReadOnly
send_emailSend a new email with HTML body, To/CC recipientsIrreversible
reply_to_messageReply to an existing messageIrreversible
forward_messageForward an existing message to new recipientsIrreversible

Calendar

ToolDescriptionAction Type
list_eventsList events within a date/time rangeReadOnly
get_eventRetrieve a single event with full detailsReadOnly
create_eventCreate a new event with attendees, location, bodyReversible
update_eventUpdate fields on an existing eventReversible
delete_eventDelete an event by IDIrreversible

Contacts

ToolDescriptionAction Type
list_contactsList contacts from the user's address bookReadOnly
search_contactsSearch contacts by name, email, or companyReadOnly
create_contactCreate a new contact entryReversible

Mail folders

ToolDescriptionAction Type
list_foldersList mail folders (Inbox, Sent Items, Drafts, custom folders)ReadOnly
create_folderCreate a new mail folderReversible

On this page