Outlook Connector
Import Outlook mail from selected folders into a Mixedbread Store, one file per conversation, and keep it synchronized.
The Outlook connector imports mail from selected folders of a Microsoft 365 mailbox. Each conversation becomes one Store file that holds its messages and their supported attachments, so search returns the whole thread in context.
Before you begin
You need a Microsoft 365 work or school account with an Exchange Online mailbox and a Mixedbread organization with access to Data sources. Personal Microsoft accounts, such as Outlook.com addresses, are not supported.
If your organization only lets administrators approve apps, a Microsoft Entra administrator must grant consent before anyone can connect.
Connect Outlook
Choose Outlook
In the Mixedbread Platform, open Data sources, select Create, and choose Outlook.
Choose the destination Store
Enter an optional Store name and review the Store configuration. Leave the
name blank to use outlook-{your-account}.
Authorize Outlook
Select Connect Outlook, sign in with the Microsoft account that owns the mailbox, and approve the requested read-only access.
Select folders
Back in Mixedbread, search the mailbox's folders and select the ones whose mail should be synchronized.
Saving the folder selection starts the initial import. Mixedbread checks the selected folders for new, changed, and deleted mail about every 10 minutes.
Choose folders
The connector lists the mailbox's folders with their message counts. Selecting a folder also synchronizes every folder inside it, including subfolders created later: they are picked up at the next check, about 10 minutes after they appear. Subfolders of a selected folder show as included with it.
- A subfolder moved out of a selected folder stops syncing, unless it is selected itself or lands in another selected folder. Its conversations are removed from the Store unless they still have a message in a selected folder or a folder inside one.
- Deselecting a folder stops its subfolders as well. What they already imported stays in the Store, as it does for any folder you deselect.
- A subfolder selected on its own keeps syncing when its parent is deselected.
You can select up to 100 folders, and up to 200 folders are synchronized counting their subfolders. Folders already synchronizing keep their place, and a subfolder is added only while fewer than 200 are synchronized, taken in folder tree order; the rest show as not syncing until there is room. Selecting more folders yourself can take the place of subfolders included last.
Drafts, Deleted Items, Junk Email, Outbox, and Sync Issues, and any folder inside them, are never synchronized, even inside a selected folder. Draft messages are left out wherever they are.
Through the API you can also select every folder of the mailbox at once, new
ones included, with the all_folders alias; see
Bridge. The dashboard shows it as All folders while
it is selected, and unchecking it turns it off.
What is imported
Each conversation that has a message in a selected folder becomes one Store file. The file holds every message of the conversation in the mailbox, oldest first, including messages in folders you did not select. Your replies in Sent Items therefore appear in the conversation without selecting Sent Items. Messages in folders that are never synced, such as Drafts and Junk Email, are left out. Only the mailbox owner can find the file, so the whole thread is there for search and answers.
- Attachments in supported file types up to 25 MB are added to the conversation. Attached emails are included; attached contacts and calendar events are not.
- Small inline images, such as logos and tracking pixels, are skipped.
- A conversation with more than 500 messages is not imported.
- When a conversation no longer has a message in a selected folder or a folder inside one (any folder that can be synchronized, when all folders are selected), for example after it is deleted or moved to Deleted Items, its file is removed from the Store. A subfolder counts even while it is not synchronizing because of the 200-folder limit.
Every conversation file is limited to the mailbox owner: its acl metadata
field holds the owner's email address and public is false. To search only a
person's own mail in a Store that several mailboxes feed, filter on acl as
described in Metadata Filtering.
Each file also records these fields under outlook: conversation_id,
subject, message_ids, message_count, first_message_at,
last_message_at, participant_emails, attachment_names,
attachment_content_types, and web_link, a link to the latest message in
Outlook on the web.
Manage the connector
Open the Outlook data source to:
- search the mailbox's folders;
- synchronize or exclude folders;
- compare message counts;
- run Sync now to check the selected folders immediately; or
- disconnect Outlook.
Excluding a folder stops future synchronization for that folder; conversations already imported stay in the Store. Disconnecting removes the saved Microsoft credentials. Previously imported Store files remain available unless you choose Also delete synced data.
Troubleshooting
Sign-in stops with a consent error
Your organization only lets administrators approve apps. Ask a Microsoft Entra administrator to grant consent, then connect again.
Sign-in fails because Outlook is not available
The account has no Exchange Online mailbox. Connect an account whose mailbox is hosted in Microsoft 365.
Outlook needs to be reconnected
Microsoft sign-ins can expire or be revoked. Select Reconnect Outlook and sign in with the same Microsoft account to resume synchronization into the existing Store. Your folder selection is kept.
Messages have not appeared
Verify that the conversation has a message in a selected folder, then run Sync now. New mail is picked up on the next check, about every 10 minutes.