For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Fork this repoGet a demo
  • Docs
    • Welcome
    • Quickstart
    • Concepts
    • Search
    • MCP Server
    • CLI
    • Agent Skills
    • Connect
    • Add New Connector
    • Rate Limits
      • Overview
      • Airtable
      • Apollo
      • Asana
      • Attio
      • Bitbucket
      • Box
      • Calcom
      • Clickup
      • Coda
      • Confluence
      • Ctti
      • Document360
      • Dropbox
      • Fireflies
      • Freshdesk
      • Github
      • Gitlab
      • Gmail
      • Google Calendar
      • Google Docs
      • Google Drive
      • Google Slides
      • Hubspot
      • Intercom
      • Jira
      • Linear
      • Monday
      • Notion
      • Onedrive
      • Onenote
      • Outlook Calendar
      • Outlook Mail
      • Pipedrive
      • Powerpoint
      • Salesforce
      • Servicenow
      • Sharepoint
      • Shopify
      • Slab
      • Slack
      • Slite
      • Stripe
      • Teams
      • Todoist
      • Trello
      • Word
      • Zendesk
      • Zoho Crm
      • Zoom
  • API Reference
LogoLogo
Fork this repoGet a demo
On this page
  • Configuration
  • Authentication
  • Configuration Options
  • Data Models
DocsConnectors

Outlook Mail

Was this page helpful?
Edit this page
Previous

Pipedrive

Next
Built with
Outlook Mail logo

Outlook Mail

This connector enables AI agents and RAG systems to retrieve context from Outlook Mail through Airweave’s unified search layer.

Configuration

Outlook Mail source connector integrates with the Microsoft Graph API to extract email data.

Synchronizes data from Outlook mailboxes.

It provides comprehensive access to mail folders, messages, and attachments with hierarchical folder organization and content processing capabilities.

View Source Code

Explore the Outlook Mail connector implementation

Authentication

This connector uses OAuth 2.0 authentication. You can connect through the Airweave UI or API using the OAuth flow.

Supported authentication methods:

  • OAuth Browser Flow (recommended for UI)
  • OAuth Token (for programmatic access)
  • Auth Provider (enterprise SSO)

Configuration Options

This connector does not have any additional configuration options.

Data Models

The following data models are available for this connector:

OutlookMailFolderEntity

Schema for an Outlook mail folder.

See: https://learn.microsoft.com/en-us/graph/api/resources/mailfolder?view=graph-rest-1.0

FieldTypeDescription
idstrMail folder ID from Microsoft Graph.
display_namestrDisplay name of the mail folder (e.g., ‘Inbox’).
parent_folder_idOptional[str]ID of the parent mail folder, if any.
child_folder_countOptional[int]Number of child mail folders under this folder.
total_item_countOptional[int]Total number of items (messages) in this folder.
unread_item_countOptional[int]Number of unread items in this folder.
well_known_nameOptional[str]Well-known name of this folder if applicable (e.g., ‘inbox’).
web_url_overrideOptional[str]URL to open this folder in Outlook on the web.
OutlookMessageEntity

Schema for Outlook message entities.

Reference: https://learn.microsoft.com/en-us/graph/api/resources/message?view=graph-rest-1.0

FieldTypeDescription
idstrMessage ID from Microsoft Graph.
folder_namestrName of the folder containing this message
subjectstrSubject line of the message.
senderOptional[str]Email address of the sender
to_recipientsList[str]Recipients of the message
cc_recipientsList[str]CC recipients
sent_dateOptional[datetime]Date the message was sent
received_dateOptional[datetime]Date the message was received
body_previewOptional[str]Brief snippet of the message content
is_readboolWhether the message has been read
is_draftboolWhether the message is a draft
importanceOptional[str]Importance level (Low, Normal, High)
has_attachmentsboolWhether the message has attachments
internet_message_idOptional[str]Internet message ID
web_url_overrideOptional[str]Link to the message in Outlook on the web.
OutlookAttachmentEntity

Schema for Outlook attachment entities.

Reference: https://learn.microsoft.com/en-us/graph/api/resources/fileattachment?view=graph-rest-1.0

FieldTypeDescription
composite_idstrComposite attachment ID (message + attachment).
namestrAttachment filename.
message_idstrID of the message this attachment belongs to
attachment_idstrOutlook’s attachment ID
content_typeOptional[str]Content type of the attachment
is_inlineboolWhether this is an inline attachment
content_idOptional[str]Content ID for inline attachments
metadataDict[str, Any]Additional metadata about the attachment
message_web_urlOptional[str]URL to the parent message in Outlook on the web.
OutlookMessageDeletionEntity

Deletion signal for an Outlook message.

Emitted when the Graph delta API reports a message was removed. The entity_id (derived from message_id) matches the original message’s id so downstream deletion can target the correct parent/children.

FieldTypeDescription
message_idstrID of the deleted message
labelstrHuman-readable deletion label
OutlookMailFolderDeletionEntity

Deletion signal for an Outlook mail folder.

Emitted when the Graph delta API reports a folder was removed. The entity_id (derived from folder_id) matches the original folder’s id.

FieldTypeDescription
folder_idstrID of the deleted folder
labelstrHuman-readable deletion label