Outlook Mail

Outlook Mail logo

Outlook Mail

Connect your Outlook Mail data to Airweave

Overview

The Outlook Mail connector allows you to sync data from Outlook Mail into Airweave, making it available for search and retrieval by your agents.

Configuration

OutlookMailSource

Outlook Mail source implementation (read-only).

Retrieves and yields Outlook mail folders, messages and attachments.

Authentication

This connector uses OAuth 2.0 with rotating refresh token.

Authentication Configuration

Outlook Mail authentication credentials schema.

refresh_token
strRequired

The refresh token for your Outlook Mail app.

access_token
strRequired

The access token for your Outlook Mail app.

Entities

The following data models are available for this connector:

Schema for an Outlook mail folder.

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

FieldTypeDescription
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’).

Schema for Outlook message entities.

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

FieldTypeDescription
folder_namestrName of the folder containing this message
subjectOptional[str]Subject 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
body_contentOptional[str]Full message body 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