Skip to main content
First time creating a connector? Read this first.
Ingest your files into Unstructured from Outlook.

Requirements

You will need:
  • The Outlook user’s email address.
  • A Microsoft Entra ID app registration in the same Azure account as the Outlook account. You will need this app registration’s application (client) ID, client secret, and directory (tenant) ID. Learn how.
  • The Entra ID app registration must have the following Graph API permission levels of the application (not delegated) type:
    • Mail.Read
    • Mail.ReadBasic
    • User.Read.All
    Learn how.

Examples

To create an Outlook source connector, see the following examples. For more information on working with source connectors using the Unstructured API, see Source endpoints.

Configuration settings

Replace the preceding placeholders as follows:
string
required
A unique name for this connector.
string
required
The application (client) ID of the Microsoft Entra ID app registration that has access to the Outlook account.
string
default:"https://login.microsoftonline.com"
The authentication token provider URL for the Entra ID app registration.
string
required
The directory (tenant) ID of the Entra ID app registration.
string
required
The client secret for the Entra ID app registration.
string
required
The user’s email address for the target Outlook account.
string
required
An array of folder names to access, for example: ["Inbox","Sent"]. Do not specify any subfolder names.
boolean
default:"false"
Source connector only. Set to true to access any and all subfolders within each of the specified top-level folders.
string
Provides authentication for Unstructured Foundation. Unstructured Foundation enables you to processes your files once, maintain a persistent enrichment index, and gives every AI tool your team uses persistent access to your organization’s knowledge without file uploads.Not supported for the Unstructured Pipeline API.
string
Provides authentication for Unstructured Foundation. Unstructured Foundation enables you to processes your files once, maintain a persistent enrichment index, and gives every AI tool your team uses persistent access to your organization’s knowledge without file uploads.Not supported for the Unstructured Pipeline API.