Skip to main content

Microsoft Outlook

Email in Outlook.com, Hotmail and Microsoft 365 (Exchange Online) mailboxes, through Microsoft Graph.

1. Connect​

  1. In Blokkio, go to Apps and open Microsoft Outlook.
  2. Click Sign in under Sign in with Microsoft, pick your work, school or personal account and accept.
  3. Test connection calls GET /me.

Blokkio asks for the delegated permissions Mail.ReadWrite, Mail.Send, User.Read and offline_access (keeps the connection working). Some organisations require an administrator to approve apps first: the sign-in page then says Need admin approval; ask your Microsoft 365 administrator.

If Sign in with Microsoft isn't offered, use Bring your own app registration:

  1. In the Microsoft Entra admin center, open App registrations → New registration. Supported account types: Accounts in any organizational directory and personal Microsoft accounts. Redirect URI: platform Web, https://api.blokkio.com/api/connections/oauth2/callback.
  2. Certificates & secrets → New client secret, copy the secret's Value.
  3. API permissions → Add a permission → Microsoft Graph → Delegated: Mail.ReadWrite, Mail.Send, User.Read, offline_access.
  4. Paste the Application (client) ID and the secret value when you connect.

Actions​

ActionWhat it does
Send emailTo, Cc, Bcc, Subject, Body (HTML or plain text), Reply-to, Importance and attachments. A copy goes to Sent Items. Graph limits a message sent this way to about 3 MB of attachments.
Reply to email / Reply to allAnswers an email in its conversation with your text above the quoted original.
List emailsEmails in a folder (default Inbox), newest first, with an optional filter (isRead eq false) or search ("invoice").
Get emailOne email with its full body (HTML or plain text).
Move emailTo archive, deleteditems, junkemail, inbox or a folder ID. The moved email gets a new ID, in the output.
Mark as read or flagRead/unread, flag and categories.
List foldersMail folders and their IDs.

Triggers​

New email starts a run for each new email in a folder (default Inbox). Add Get email for the full body.