Office 365 IMAP integration

Microsoft 365 mail via IMAP/SMTP

Help CentreConnectors

Overview

Microsoft 365 mail via IMAP/SMTP – fallback for cases where full Microsoft Graph isn't appropriate. Requires app password or basic auth (limited).

  • Regions: Microsoft 365 global.
  • Plans: Business/Enterprise subscriptions.

Setting up the connection

  1. Microsoft 365 → enable IMAP (admin may have it off).
  2. App password OR Basic auth (Microsoft deprecating Basic for personal accounts).
  3. In Automize → Settings → Connectors → Office 365 IMAP. Paste credentials.

Find your credentials at https://account.microsoft.com/security.


Rate limits

Microsoft IMAP/SMTP standard limits.


Data model

Standard mail (same as generic-mail).

Available operations

9 operations available. Click any row to jump to its detail.

OperationCategoryWhat it does
Count EmailsGeneralCount emails in a folder
Delete EmailGeneralDelete an email
Fetch EmailGeneralFetch a complete email by UID
List FoldersGeneralList mailbox folders
Mark ReadGeneralMark an email as read
Mark UnreadGeneralMark an email as unread
Move EmailGeneralMove an email to another folder
Search EmailsGeneralSearch for emails in a mailbox folder
Send EmailGeneralSend an email via SMTP

Operations

Count Emails

Count emails in a folder

ParameterRequiredTypeDescription
Folder folderNotext

Delete Email

Delete an email

ParameterRequiredTypeDescription
Uid uidYestext
Folder folderNotext

Fetch Email

Fetch a complete email by UID

ParameterRequiredTypeDescription
Uid uidYestext
Folder folderNotext

List Folders

List mailbox folders

No input parameters.


Mark Read

Mark an email as read

ParameterRequiredTypeDescription
Uid uidYestext
Folder folderNotext

Mark Unread

Mark an email as unread

ParameterRequiredTypeDescription
Uid uidYestext
Folder folderNotext

Move Email

Move an email to another folder

ParameterRequiredTypeDescription
Uid uidYestext
Source Folder source_folderNotext
Dest Folder dest_folderYestext

Search for emails in a mailbox folder

ParameterRequiredTypeDescription
Folder folderNotext
Criteria criteriaNotext
Limit limitNonumber

Tips

  • Standard IMAP SEARCH. Not Microsoft Search's full power.

Send Email

Send an email via SMTP

ParameterRequiredTypeDescription
To toYestext
Subject subjectYestext
Body bodyNotext
Html htmlNotext
Cc ccNotext
Bcc bccNotext
Attachments attachmentsNotextarea
Sender senderNotext

FAQ

vs Microsoft Graph connector?
Graph: full M365 surface (calendar, files, Teams). IMAP: just mail. Use Graph when possible.

Related connectors

See it working on your own data

Everything documented here ships with the platform – try the document tools free, or go live in 7 days.