Microsoft Outlook

App · Email · 62 actions · 1 trigger

Send and manage email, calendars and contacts in Microsoft Outlook.

Triggers

Start a workflow when something happens in Microsoft Outlook. See how triggers work.

New Outlook email

Triggers when a new email arrives in a folder of an Outlook mailbox - the inbox unless you choose another - optionally only from one sender or domain. Runs once for each email, with its text.

Filters

Narrow which events start a run.

mailboxRequired
The mailbox to watch: a user's email address in the Microsoft 365 tenant the app was consented in.
sender
Only emails from this address, or from a whole domain written as @example.com. Leave blank for every new email.
folder
The folder to watch: a folder ID or a well-known name such as inbox, junkemail or archive. Leave blank for the inbox.

Event fields

What a run starts with. Later steps read each field with an @ reference.

message_idtext
mailboxtext
foldertext
conversation_idtext
fromtext
from_addresstext
from_nametext
totext
cctext
subjecttext
received_attext
bodytext
snippettext
has_attachmentstrue/false
is_readtrue/false
categorieslist
web_linktext

Actions

ActionWhat it does
Add attachmentAttach one or more files to a draft email.
Add large attachmentAttach a file between 3 MB and 150 MB to a draft email.
Cancel eventCancel a meeting you organize and send every attendee a cancellation.
Check email deliveryCheck what happened to emails sent in your organization: delivered, failed, quarantined or caught as spam.
Copy emailCopy an email into another folder.
Create calendarAdd a new calendar to a mailbox, for example one for a project or a shared resource, which Create event can then put events on.
Create categoryAdd a category to a mailbox so it can be applied to emails, events and contacts.
Create contactCreate a contact in a mailbox's Contacts folder.
Create draftSave a draft email without sending it, to send later with Send draft.
Create eventCreate a calendar event and invite attendees, optionally as a Microsoft Teams meeting.
Create inbox ruleCreate an inbox rule that acts on incoming email.
Create mail folderCreate a mail folder in a mailbox, at the top level or inside another folder.
Create search folderCreate a folder that always shows the emails matching a filter.
Delete calendarDelete a calendar and every event on it.
Delete categoryRemove a category from a mailbox's list of categories.
Delete contactDelete a contact from a mailbox.
Delete emailDelete an email.
Delete eventDelete a calendar event.
Delete Focused Inbox overrideStop always putting a sender's email in Focused or Other for this mailbox.
Delete inbox ruleDelete one of a mailbox's inbox rules.
Delete mail folderDelete a mail folder and everything in it.
Download attachmentsBeta.
Find meeting timesSuggest meeting times when the attendees are free.
Forward emailForward an email to one or more new recipients.
Forward eventForward a meeting invite to more people.
Get attachmentGet one attachment from an email, including the file itself.
Get calendarRead one calendar: its name, color, owner, and whether it's the default and can be edited.
Get contactRead one contact.
Get emailRead one email, including its full body.
Get email delivery detailsGet each step of one email's delivery to one recipient: where it was received, what was applied to it, and whether it was delivered.
Get eventRead one calendar event.
Get free/busy scheduleSee when people, distribution lists or meeting rooms are free or busy over a time range.
Get mail folderRead one mail folder: its name, the folder it sits in, and how many emails it holds and how many are unread.
Get mail tipsCheck recipients before emailing them: whether their automatic reply is on, their mailbox is full, or there's a size limit on what they can receive.
Get mailbox settingsRead a mailbox's settings: automatic replies, time zone, language, date and time format, and working hours.
List attachmentsList the attachments on an email, without their contents.
List calendarsList the calendars in a mailbox.
List categoriesList the categories a mailbox can tag emails, events and contacts with.
List contact foldersList the contact folders in a mailbox.
List contactsList a mailbox's contacts, optionally in one contact folder or matching a search.
List emailsList the emails in a mailbox, newest first.
List eventsList the events on a calendar.
List Focused Inbox overridesList the senders whose email always goes to Focused or to Other in this mailbox.
List inbox rulesList a mailbox's inbox rules.
List mail foldersList the mail folders in a mailbox, or the folders inside one folder.
List room listsList your organization's room lists, the groups of meeting rooms by building or floor.
List roomsList the meeting rooms people can book, across your organization or in one room list.
List usersList the mailboxes in your organization.
Move emailMove an email to another folder.
Rename mail folderGive a mail folder a new name.
Reply all to emailReply to the sender and every other recipient of an email.
Reply to emailReply to the sender of an email.
Respond to meeting inviteAccept, tentatively accept or decline a meeting invite on the invitee's behalf.
Send draftSend a draft email created earlier.
Send emailSend an email from a mailbox in your organization.
Set automatic repliesTurn out-of-office automatic replies on or off, or schedule them for a date range.
Set Focused Inbox overrideAlways put a sender's email in Focused or in Other for this mailbox.
Update calendarRename or recolor a calendar, or make it the one new events go to.
Update contactChange a contact.
Update draftChange a draft before it's sent: its subject, body, recipients or importance.
Update emailChange an email: mark it read or unread, or change its subject, importance, categories or follow-up flag.
Update eventChange a calendar event.

Add attachment

Attach one or more files to a draft email.

Inputs

MailboxmailboxtextRequired
The mailbox to act on: a user's email address (userPrincipalName) or Microsoft user ID. Connected by signing in to Microsoft, it's your own mailbox, which the picker offers. Connected with an Entra app of your own, it has to be a mailbox in the same Microsoft 365 tenant the app registration was consented in -- an outside address such as a personal Gmail or outlook.com account is not reachable this way. The picker is populated from the directory when the app has the optional User.Read.All permission; otherwise type the address.
Emailmessage_idtextRequired
The ID of the email, usually from an earlier step such as List emails or the new email trigger.
AttachmentsattachmentslistRequired
Files to attach. Upload a file or reference a document (or list of documents) from an earlier step. Each file must be under 3 MB; use Add large attachment for a larger one.

Outputs

attachmentslist
The attachments that were created.
countnumber
Number attached.
message_idtext
Draft message ID.
Example output
{
  "attachments": [
    {
      "id": "AAMkAGI2TG93AAA=",
      "name": "q3-notes.pdf",
      "size": 84213
    }
  ],
  "count": 1,
  "message_id": "AAMkAGI2NGVhZTIyLTAzYzUt"
}

Add large attachment

Attach a file between 3 MB and 150 MB to a draft email. Use Add attachment for anything smaller. Outlook's usual limit for a whole email is 35 MB unless your Microsoft admin has raised it.

Inputs

MailboxmailboxtextRequired
The mailbox to act on: a user's email address (userPrincipalName) or Microsoft user ID. Connected by signing in to Microsoft, it's your own mailbox, which the picker offers. Connected with an Entra app of your own, it has to be a mailbox in the same Microsoft 365 tenant the app registration was consented in -- an outside address such as a personal Gmail or outlook.com account is not reachable this way. The picker is populated from the directory when the app has the optional User.Read.All permission; otherwise type the address.
Emailmessage_idtextRequired
The ID of the email, usually from an earlier step such as List emails or the new email trigger.
AttachmentattachmentlistRequired
The file to attach. Upload a file or reference a document from an earlier step.

Outputs

attachment_idtext
ID of the created attachment.
message_idtext
Draft ID.
nametext
File name.
sizenumber
Size in bytes.
Example output
{
  "attachment_id": "AAMkAGI2TG93AAB=",
  "message_id": "AAMkAGI2NGVhZTIyLTAzYzUt",
  "name": "quarterly-deck.pdf",
  "size": 18874368
}

Cancel event

Cancel a meeting you organize and send every attendee a cancellation. It also leaves your own calendar, so there's no need to delete it afterwards.

Inputs

MailboxmailboxtextRequired
The mailbox to act on: a user's email address (userPrincipalName) or Microsoft user ID. Connected by signing in to Microsoft, it's your own mailbox, which the picker offers. Connected with an Entra app of your own, it has to be a mailbox in the same Microsoft 365 tenant the app registration was consented in -- an outside address such as a personal Gmail or outlook.com account is not reachable this way. The picker is populated from the directory when the app has the optional User.Read.All permission; otherwise type the address.
Eventevent_idtextRequired
The ID of the calendar event.
Messagecommenttext
Optional message to include.

Outputs

statustext
Operation status.
Example output
{
  "event_id": "AAMkAGViNDU3ZDI4LTZmNzMt",
  "status": "cancelled"
}

Check email delivery

Check what happened to emails sent in your organization: delivered, failed, quarantined or caught as spam. Your Microsoft admin needs to give the app the ExchangeMessageTrace.Read.All application permission, grant admin consent, and run this once in Microsoft Graph PowerShell: Connect-MgGraph -Scopes 'Application.ReadWrite.All', then New-MgServicePrincipal -AppId 8bd644d1-64a1-4d4b-ae52-2e0cbf64e373. Available only in Microsoft's global service. A just-sent email can take a few minutes to show up, and for a few hours after that setup, checks can fail while it takes effect.

Inputs

Sender addresssender_addresstext
Only emails from this address.
Recipient addressrecipient_addresstext
Only emails to this address.
Subject containssubject_containstext
Only emails whose subject contains this text.
Statusstatustext
Only emails with this delivery status.One of: delivered, pending, failed, quarantined, filteredAsSpam (Filtered as spam), expanded, gettingStatus (Getting status).
Start date timestart_date_timedate and time
Start of the window. Must be paired with an end, span at most 10 days, and start no more than 90 days ago.
End date timeend_date_timedate and time
End of the window. Must be paired with a start.
Limitlimitnumber
Maximum number of results to return (1-500).From 1 to 500. Default: 25.

Outputs

countnumber
Number returned.
traceslist
The matching message traces.
Example output
{
  "count": 1,
  "traces": [
    {
      "id": "4451a062-48cb-e80d-e8c0-196330437ae6",
      "receivedDateTime": "2026-09-17T10:30:00Z",
      "recipientAddress": "danas@contoso.com",
      "senderAddress": "alexw@contoso.com",
      "status": "delivered",
      "subject": "Quarterly Report"
    }
  ]
}

Copy email

Copy an email into another folder. The copy gets its own ID, which this step returns; the original keeps its ID.

Inputs

MailboxmailboxtextRequired
The mailbox to act on: a user's email address (userPrincipalName) or Microsoft user ID. Connected by signing in to Microsoft, it's your own mailbox, which the picker offers. Connected with an Entra app of your own, it has to be a mailbox in the same Microsoft 365 tenant the app registration was consented in -- an outside address such as a personal Gmail or outlook.com account is not reachable this way. The picker is populated from the directory when the app has the optional User.Read.All permission; otherwise type the address.
Emailmessage_idtextRequired
The ID of the email, usually from an earlier step such as List emails or the new email trigger.
Destination folderdestination_folder_idtextRequired
Destination folder. Accepts a folder ID or a well-known name: inbox, drafts, sentitems, deleteditems, junkemail or archive.

Outputs

bodyPreviewtext
First 255 characters.
categorieslist
The names of the categories it is tagged with.
ccRecipientslist
Who was copied, in the same form as toRecipients.
conversationIdtext
The conversation it belongs to, shared by every reply in it.
flagobject
Its follow-up flag: flagStatus is notFlagged, flagged or complete.
fromobject
The sender: emailAddress.name and emailAddress.address.
hasAttachmentstrue/false
Attachment present.
idtext
Message ID.
importancetext
low, normal or high.
isDrafttrue/false
Whether it is an unsent draft.
isReadtrue/false
Whether it has been read.
parentFolderIdtext
The folder it is in.
receivedDateTimetext
When it arrived, as an ISO 8601 time in UTC.
sentDateTimetext
When it was sent, as an ISO 8601 time in UTC.
subjecttext
Message subject.
toRecipientslist
Who it was sent to, each with emailAddress.name and emailAddress.address.
webLinktext
Open in Outlook on the web.
Example output
{
  "bodyPreview": "Here are the notes from this morning's planning session...",
  "categories": [
    "Blue category"
  ],
  "ccRecipients": [],
  "conversationId": "AAQkAGI2NGVhZTIyLTAzYzUtNGM3",
  "flag": {
    "flagStatus": "notFlagged"
  },
  "from": {
    "emailAddress": {
      "address": "alexw@contoso.com",
      "name": "Alex Wilbur"
    }
  },
  "hasAttachments": true,
  "id": "AAMkAGI2NGVhZTIyLTAzYzUt",
  "importance": "normal",
  "isDraft": false,
  "isRead": false,
  "parentFolderId": "AQMkAGI2NGVhZTIyAC4AAAA",
  "receivedDateTime": "2026-09-18T14:02:11Z",
  "sentDateTime": "2026-09-18T14:02:05Z",
  "subject": "Q3 planning notes",
  "toRecipients": [
    {
      "emailAddress": {
        "address": "meganb@contoso.com",
        "name": "Megan Bowen"
      }
    }
  ],
  "webLink": "https://outlook.office365.com/owa/?ItemID=AAMkAGI2NGVhZTIy"
}

Create calendar

Add a new calendar to a mailbox, for example one for a project or a shared resource, which Create event can then put events on.

Inputs

MailboxmailboxtextRequired
The mailbox to act on: a user's email address (userPrincipalName) or Microsoft user ID. Connected by signing in to Microsoft, it's your own mailbox, which the picker offers. Connected with an Entra app of your own, it has to be a mailbox in the same Microsoft 365 tenant the app registration was consented in -- an outside address such as a personal Gmail or outlook.com account is not reachable this way. The picker is populated from the directory when the app has the optional User.Read.All permission; otherwise type the address.
NamenametextRequired
Name for the new calendar.
Colorcolortext
The color Outlook shows the calendar in.One of: auto (Automatic), lightBlue (Light blue), lightGreen (Light green), lightOrange (Light orange), lightGray (Light gray), lightYellow (Light yellow), lightTeal (Light teal), lightPink (Light pink), lightBrown (Light brown), lightRed (Light red).

Outputs

canEdittrue/false
Whether the mailbox can add and change events on it.
colortext
The color Outlook shows it in, such as lightBlue or auto.
idtext
Calendar ID.
isDefaultCalendartrue/false
Whether new events land here.
nametext
Calendar name.
ownerobject
Who owns the calendar: name and address.
Example output
{
  "canEdit": true,
  "color": "lightBlue",
  "id": "AAMkAGViNDU3AAAuAAB=",
  "isDefaultCalendar": false,
  "name": "Projects",
  "owner": {
    "address": "alexw@contoso.com",
    "name": "Alex Wilber"
  }
}

Create category

Add a category to a mailbox so it can be applied to emails, events and contacts.

Inputs

MailboxmailboxtextRequired
The mailbox to act on: a user's email address (userPrincipalName) or Microsoft user ID. Connected by signing in to Microsoft, it's your own mailbox, which the picker offers. Connected with an Entra app of your own, it has to be a mailbox in the same Microsoft 365 tenant the app registration was consented in -- an outside address such as a personal Gmail or outlook.com account is not reachable this way. The picker is populated from the directory when the app has the optional User.Read.All permission; otherwise type the address.
Display namedisplay_nametextRequired
Category name. Must be unique in the mailbox and cannot be changed afterwards.
Colorcolortext
One of Outlook's 25 preset colors ('preset0' is red, 'preset4' green, 'preset7' blue), or 'none'.

Outputs

colortext
Preset color.
displayNametext
Category name.
idtext
Category ID.
Example output
{
  "color": "preset0",
  "displayName": "Needs follow-up",
  "id": "5a9a6aa8-b65f-4357-b1f9-60c6bf6330d8"
}

Create contact

Create a contact in a mailbox's Contacts folder.

Inputs

MailboxmailboxtextRequired
The mailbox to act on: a user's email address (userPrincipalName) or Microsoft user ID. Connected by signing in to Microsoft, it's your own mailbox, which the picker offers. Connected with an Entra app of your own, it has to be a mailbox in the same Microsoft 365 tenant the app registration was consented in -- an outside address such as a personal Gmail or outlook.com account is not reachable this way. The picker is populated from the directory when the app has the optional User.Read.All permission; otherwise type the address.
Given namegiven_nametext
First name.
Surnamesurnametext
Last name.
Display namedisplay_nametext
Name the contact is shown under. Outlook may regenerate this from other fields on later updates.
Email addressesemail_addresseslist
Email addresses for the contact.
Business phonesbusiness_phoneslist
Business phone numbers.
Mobile phonemobile_phonetext
Mobile phone number.
Job titlejob_titletext
Job title.
Company namecompany_nametext
Company name.
Departmentdepartmenttext
Department.
Office locationoffice_locationtext
Office location.
Personal notespersonal_notestext
Free-text notes about the contact.
Categoriescategorieslist
Categories to assign. Each must already exist in the mailbox's category list.
Folderfolder_idtext
Contact folder to create in. Leave blank for the default Contacts folder.

Outputs

businessPhoneslist
Business phone numbers.
companyNametext
Company name.
displayNametext
Contact display name.
emailAddresseslist
Email addresses.
idtext
Contact ID.
jobTitletext
Job title.
Example output
{
  "businessPhones": [
    "+1 425 555 0109"
  ],
  "companyName": "Contoso",
  "displayName": "Dana Swope",
  "emailAddresses": [
    {
      "address": "danas@contoso.com",
      "name": "Dana Swope"
    }
  ],
  "id": "AAMkAGE1Mjc1YmUwLTIzZjQt",
  "jobTitle": "Operations Lead"
}

Create draft

Save a draft email without sending it, to send later with Send draft. Set 'Reply to email' to draft a reply in that email's conversation, with the original quoted below.

Inputs

MailboxmailboxtextRequired
The mailbox to act on: a user's email address (userPrincipalName) or Microsoft user ID. Connected by signing in to Microsoft, it's your own mailbox, which the picker offers. Connected with an Entra app of your own, it has to be a mailbox in the same Microsoft 365 tenant the app registration was consented in -- an outside address such as a personal Gmail or outlook.com account is not reachable this way. The picker is populated from the directory when the app has the optional User.Read.All permission; otherwise type the address.
Subjectsubjecttext
Subject of the draft. Required unless 'Reply to email' is set, when leaving it blank reuses that email's subject.
Bodybodytext
Plain text body content of the draft.
HTML bodyhtml_bodytext
Formatted (HTML) version of the body. If provided, it is used instead of the plain text body.
Tototext
Comma-separated list of recipient email addresses. A reply left blank goes to the original's sender.
CCcctext
Comma-separated list of Cc recipients.
BCCbcctext
Comma-separated list of Bcc recipients.
Importanceimportancetext
Importance of the item.One of: low, normal, high.
Attachmentsattachmentslist
Files to attach. Upload a file or reference a document (or list of documents) from an earlier step. Each file must be under 3 MB; for a larger one, create a draft and use Add large attachment.
Reply to emailreply_to_message_idtext
The ID of an email to draft a reply to. The draft is saved in that email's conversation and threads with it when sent. Leave blank for a new email.

Outputs

bodyPreviewtext
First 255 characters.
categorieslist
The names of the categories it is tagged with.
ccRecipientslist
Who was copied, in the same form as toRecipients.
conversationIdtext
The conversation it belongs to, shared by every reply in it.
flagobject
Its follow-up flag: flagStatus is notFlagged, flagged or complete.
fromobject
The sender: emailAddress.name and emailAddress.address.
hasAttachmentstrue/false
Attachment present.
idtext
Message ID.
importancetext
low, normal or high.
isDrafttrue/false
Whether it is an unsent draft.
isReadtrue/false
Whether it has been read.
parentFolderIdtext
The folder it is in.
receivedDateTimetext
When it arrived, as an ISO 8601 time in UTC.
sentDateTimetext
When it was sent, as an ISO 8601 time in UTC.
subjecttext
Message subject.
toRecipientslist
Who it was sent to, each with emailAddress.name and emailAddress.address.
webLinktext
Open in Outlook on the web.
Example output
{
  "bodyPreview": "Here are the notes from this morning's planning session...",
  "categories": [
    "Blue category"
  ],
  "ccRecipients": [],
  "conversationId": "AAQkAGI2NGVhZTIyLTAzYzUtNGM3",
  "flag": {
    "flagStatus": "notFlagged"
  },
  "from": {
    "emailAddress": {
      "address": "alexw@contoso.com",
      "name": "Alex Wilbur"
    }
  },
  "hasAttachments": true,
  "id": "AAMkAGI2NGVhZTIyLTAzYzUt",
  "importance": "normal",
  "isDraft": true,
  "isRead": false,
  "parentFolderId": "AQMkAGI2NGVhZTIyAC4AAAA",
  "receivedDateTime": "2026-09-18T14:02:11Z",
  "sentDateTime": "2026-09-18T14:02:05Z",
  "subject": "Q3 planning notes",
  "toRecipients": [
    {
      "emailAddress": {
        "address": "meganb@contoso.com",
        "name": "Megan Bowen"
      }
    }
  ],
  "webLink": "https://outlook.office365.com/owa/?ItemID=AAMkAGI2NGVhZTIy"
}

Create event

Create a calendar event and invite attendees, optionally as a Microsoft Teams meeting.

Inputs

MailboxmailboxtextRequired
The mailbox to act on: a user's email address (userPrincipalName) or Microsoft user ID. Connected by signing in to Microsoft, it's your own mailbox, which the picker offers. Connected with an Entra app of your own, it has to be a mailbox in the same Microsoft 365 tenant the app registration was consented in -- an outside address such as a personal Gmail or outlook.com account is not reachable this way. The picker is populated from the directory when the app has the optional User.Read.All permission; otherwise type the address.
SubjectsubjecttextRequired
Title of the event.
Start date timestart_date_timedate and timeRequired
When the event starts.
End date timeend_date_timedate and timeRequired
When the event ends.
Time zonetime_zonetext
Time zone for the supplied times, in Windows or IANA format, for example 'Pacific Standard Time' or 'America/Los_Angeles'. Defaults to UTC.
Calendarcalendar_idtext
Calendar to create in. Leave blank for the default.
Bodybodytext
Plain text description of the event.
HTML bodyhtml_bodytext
Formatted (HTML) version of the body. If provided, it is used instead of the plain text body.
Locationlocationtext
Where the event takes place.
Attendeesattendeestext
Comma-separated addresses of required attendees.
Optional attendeesoptional_attendeestext
Comma-separated addresses of optional attendees.
Is all dayis_all_daytrue/false
All-day event. Start and end must be midnight in the same time zone.Default: false.
Is online meetingis_online_meetingtrue/false
Create a Microsoft Teams meeting and include the join link. Cannot be turned off again afterwards.Default: false.
Reminder minutes before startreminder_minutes_before_startnumber
Minutes before the start to show a reminder.At least 0.
Show asshow_astext
How the time appears to others.One of: free, tentative, busy, oof (Out of office), workingElsewhere (Working elsewhere).
Importanceimportancetext
Importance of the item.One of: low, normal, high.
Sensitivitysensitivitytext
Privacy level of the event.One of: normal, personal, private, confidential.
Categoriescategorieslist
Categories to assign. Each must already exist in the mailbox's category list.

Outputs

attendeeslist
Attendee list.
endobject
End dateTimeTimeZone.
idtext
Event ID.
locationobject
Event location.
onlineMeetingobject
Join information.
startobject
Start dateTimeTimeZone.
subjecttext
Event subject.
webLinktext
Open in Outlook on the web.
Example output
{
  "attendees": [
    {
      "emailAddress": {
        "address": "alexw@contoso.com",
        "name": "Alex Wilbur"
      },
      "type": "required"
    }
  ],
  "end": {
    "dateTime": "2026-09-22T16:00:00.0000000",
    "timeZone": "UTC"
  },
  "id": "AAMkAGViNDU3ZDI4LTZmNzMt",
  "location": {
    "displayName": "Conference room 3"
  },
  "onlineMeeting": {
    "joinUrl": "https://teams.microsoft.com/l/meetup-join/19%3a..."
  },
  "start": {
    "dateTime": "2026-09-22T15:00:00.0000000",
    "timeZone": "UTC"
  },
  "subject": "Q3 planning",
  "webLink": "https://outlook.office365.com/calendar/item/AAMkAGViNDU3ZDI4"
}

Create inbox rule

Create an inbox rule that acts on incoming email. Give it at least one action; a rule with several conditions acts only on email that meets all of them.

Inputs

MailboxmailboxtextRequired
The mailbox to act on: a user's email address (userPrincipalName) or Microsoft user ID. Connected by signing in to Microsoft, it's your own mailbox, which the picker offers. Connected with an Entra app of your own, it has to be a mailbox in the same Microsoft 365 tenant the app registration was consented in -- an outside address such as a personal Gmail or outlook.com account is not reachable this way. The picker is populated from the directory when the app has the optional User.Read.All permission; otherwise type the address.
Display namedisplay_nametextRequired
Name for the rule.
Sequencesequencenumber
Order this rule runs in, relative to other rules.At least 1. Default: 1.
Is enabledis_enabledtrue/false
Whether the rule is active once created.Default: true.
Sender containssender_containslist
Match when the sender contains any of these strings.
Subject containssubject_containslist
Match when the subject contains any of these strings.
Body containsbody_containslist
Match when the body contains any of these strings.
Move to foldermove_to_folder_idtext
Move matching emails to this folder.
Forward toforward_totext
Comma-separated addresses to forward matches to.
Mark as readmark_as_readtrue/false
Mark matching emails as read.Default: false.
Mark importancemark_importancetext
Set the importance of matching emails.One of: low, normal, high.
Delete emaildelete_messagetrue/false
Move matching emails to Deleted Items.Default: false.
Stop processing rulesstop_processing_rulestrue/false
Stop evaluating later rules once this one matches.Default: false.

Outputs

actionsobject
Rule actions.
conditionsobject
Rule conditions.
displayNametext
Rule name.
idtext
Rule ID.
isEnabledtrue/false
Active state.
Example output
{
  "actions": {
    "moveToFolder": "AAMkAGI2AAAAAEMkAAB="
  },
  "conditions": {
    "subjectContains": [
      "invoice"
    ]
  },
  "displayName": "Invoices to Finance",
  "id": "AQAAAJ5dZqA=",
  "isEnabled": true
}

Create mail folder

Create a mail folder in a mailbox, at the top level or inside another folder. The name must be different from the folders beside it.

Inputs

MailboxmailboxtextRequired
The mailbox to act on: a user's email address (userPrincipalName) or Microsoft user ID. Connected by signing in to Microsoft, it's your own mailbox, which the picker offers. Connected with an Entra app of your own, it has to be a mailbox in the same Microsoft 365 tenant the app registration was consented in -- an outside address such as a personal Gmail or outlook.com account is not reachable this way. The picker is populated from the directory when the app has the optional User.Read.All permission; otherwise type the address.
Display namedisplay_nametextRequired
Name for the new folder.
Parent folderparent_folder_idtext
Create the folder inside this one. Leave blank to create it at the top level.

Outputs

displayNametext
Folder name.
idtext
Folder ID.
parentFolderIdtext
Parent folder ID.
Example output
{
  "displayName": "Invoices",
  "id": "AAMkAGI2AAAAAEMkAAB=",
  "parentFolderId": "AAMkAGI2AAAAAEMkAAA="
}

Create search folder

Create a folder that always shows the emails matching a filter. Outlook deletes a search folder no one has used for 45 days, so treat it as something you can recreate rather than as storage.

Inputs

MailboxmailboxtextRequired
The mailbox to act on: a user's email address (userPrincipalName) or Microsoft user ID. Connected by signing in to Microsoft, it's your own mailbox, which the picker offers. Connected with an Entra app of your own, it has to be a mailbox in the same Microsoft 365 tenant the app registration was consented in -- an outside address such as a personal Gmail or outlook.com account is not reachable this way. The picker is populated from the directory when the app has the optional User.Read.All permission; otherwise type the address.
Display namedisplay_nametextRequired
Name for the search folder.
Filter queryfilter_querytextRequired
OData $filter that selects the emails, for example "contains(subject, 'invoice')".
Source folder IDSsource_folder_idslist
Folders to search. Defaults to the inbox. Accepts well-known names.
Include nested foldersinclude_nested_folderstrue/false
Search child folders of each source folder too.Default: true.
Parent folder IDparent_folder_idtext
Where the folder is created. Defaults to 'searchfolders', which is where Outlook for Windows shows them.

Outputs

displayNametext
Folder name.
filterQuerytext
The filter the folder applies.
idtext
Folder ID.
sourceFolderIdslist
Folders being searched.
Example output
{
  "displayName": "Unread invoices",
  "filterQuery": "contains(subject, 'invoice')",
  "id": "AAMkAGI2AAAAAEMkAAC=",
  "sourceFolderIds": [
    "inbox"
  ]
}

Delete calendar

Delete a calendar and every event on it. The mailbox's default calendar can't be deleted.

Inputs

MailboxmailboxtextRequired
The mailbox to act on: a user's email address (userPrincipalName) or Microsoft user ID. Connected by signing in to Microsoft, it's your own mailbox, which the picker offers. Connected with an Entra app of your own, it has to be a mailbox in the same Microsoft 365 tenant the app registration was consented in -- an outside address such as a personal Gmail or outlook.com account is not reachable this way. The picker is populated from the directory when the app has the optional User.Read.All permission; otherwise type the address.
Calendarcalendar_idtextRequired
The calendar, usually picked from the list or from List calendars.

Outputs

calendar_idtext
The calendar that was deleted.
statustext
'deleted' once the calendar is gone.
Example output
{
  "calendar_id": "AAMkAGViNDU3AAAuAAB=",
  "status": "deleted"
}

Delete category

Remove a category from a mailbox's list of categories.

Inputs

MailboxmailboxtextRequired
The mailbox to act on: a user's email address (userPrincipalName) or Microsoft user ID. Connected by signing in to Microsoft, it's your own mailbox, which the picker offers. Connected with an Entra app of your own, it has to be a mailbox in the same Microsoft 365 tenant the app registration was consented in -- an outside address such as a personal Gmail or outlook.com account is not reachable this way. The picker is populated from the directory when the app has the optional User.Read.All permission; otherwise type the address.
Category IDcategory_idtextRequired
The ID of the category, from List categories.

Outputs

statustext
Operation status.
Example output
{
  "category_id": "5a9a6aa8-b65f-4357-b1f9-60c6bf6330d8",
  "status": "deleted"
}

Delete contact

Delete a contact from a mailbox.

Inputs

MailboxmailboxtextRequired
The mailbox to act on: a user's email address (userPrincipalName) or Microsoft user ID. Connected by signing in to Microsoft, it's your own mailbox, which the picker offers. Connected with an Entra app of your own, it has to be a mailbox in the same Microsoft 365 tenant the app registration was consented in -- an outside address such as a personal Gmail or outlook.com account is not reachable this way. The picker is populated from the directory when the app has the optional User.Read.All permission; otherwise type the address.
Contactcontact_idtextRequired
The ID of the contact.

Outputs

statustext
Operation status.
Example output
{
  "contact_id": "AAMkAGE1Mjc1YmUwLTIzZjQt",
  "status": "deleted"
}

Delete email

Delete an email. It goes to Deleted Items, as when you delete it in Outlook, so its owner can get it back.

Inputs

MailboxmailboxtextRequired
The mailbox to act on: a user's email address (userPrincipalName) or Microsoft user ID. Connected by signing in to Microsoft, it's your own mailbox, which the picker offers. Connected with an Entra app of your own, it has to be a mailbox in the same Microsoft 365 tenant the app registration was consented in -- an outside address such as a personal Gmail or outlook.com account is not reachable this way. The picker is populated from the directory when the app has the optional User.Read.All permission; otherwise type the address.
Emailmessage_idtextRequired
The ID of the email, usually from an earlier step such as List emails or the new email trigger.

Outputs

statustext
Operation status.
Example output
{
  "message_id": "AAMkAGI2NGVhZTIyLTAzYzUt",
  "status": "deleted"
}

Delete event

Delete a calendar event. For a meeting you organize, use Cancel event instead so attendees are told. A canceled meeting stays on each attendee's calendar, marked canceled, until it's deleted: use this on the attendee's mailbox, with the event ID from their calendar, to clear it.

Inputs

MailboxmailboxtextRequired
The mailbox to act on: a user's email address (userPrincipalName) or Microsoft user ID. Connected by signing in to Microsoft, it's your own mailbox, which the picker offers. Connected with an Entra app of your own, it has to be a mailbox in the same Microsoft 365 tenant the app registration was consented in -- an outside address such as a personal Gmail or outlook.com account is not reachable this way. The picker is populated from the directory when the app has the optional User.Read.All permission; otherwise type the address.
Eventevent_idtextRequired
The ID of the calendar event.

Outputs

statustext
Operation status.
Example output
{
  "event_id": "AAMkAGViNDU3ZDI4LTZmNzMt",
  "status": "deleted"
}

Delete Focused Inbox override

Stop always putting a sender's email in Focused or Other for this mailbox.

Inputs

MailboxmailboxtextRequired
The mailbox to act on: a user's email address (userPrincipalName) or Microsoft user ID. Connected by signing in to Microsoft, it's your own mailbox, which the picker offers. Connected with an Entra app of your own, it has to be a mailbox in the same Microsoft 365 tenant the app registration was consented in -- an outside address such as a personal Gmail or outlook.com account is not reachable this way. The picker is populated from the directory when the app has the optional User.Read.All permission; otherwise type the address.
Override IDoverride_idtextRequired
The ID of the override, from List Focused Inbox overrides.

Outputs

statustext
Operation status.
Example output
{
  "override_id": "98f5bdef-576a-404d-a2ea-07a3cf11a9b9",
  "status": "deleted"
}

Delete inbox rule

Delete one of a mailbox's inbox rules.

Inputs

MailboxmailboxtextRequired
The mailbox to act on: a user's email address (userPrincipalName) or Microsoft user ID. Connected by signing in to Microsoft, it's your own mailbox, which the picker offers. Connected with an Entra app of your own, it has to be a mailbox in the same Microsoft 365 tenant the app registration was consented in -- an outside address such as a personal Gmail or outlook.com account is not reachable this way. The picker is populated from the directory when the app has the optional User.Read.All permission; otherwise type the address.
Rule IDrule_idtextRequired
The ID of the rule, from List inbox rules.

Outputs

statustext
Operation status.
Example output
{
  "rule_id": "AQAAAJ5dZqA=",
  "status": "deleted"
}

Delete mail folder

Delete a mail folder and everything in it.

Inputs

MailboxmailboxtextRequired
The mailbox to act on: a user's email address (userPrincipalName) or Microsoft user ID. Connected by signing in to Microsoft, it's your own mailbox, which the picker offers. Connected with an Entra app of your own, it has to be a mailbox in the same Microsoft 365 tenant the app registration was consented in -- an outside address such as a personal Gmail or outlook.com account is not reachable this way. The picker is populated from the directory when the app has the optional User.Read.All permission; otherwise type the address.
Folderfolder_idtextRequired
The folder to delete.

Outputs

statustext
Operation status.
Example output
{
  "folder_id": "AAMkAGI2AAAAAEMkAAB=",
  "status": "deleted"
}

Download attachments

Beta. Save every file attached to an email as a file later steps can read or attach, such as an invoice for an AI step to read, in one step instead of listing, getting and converting each attachment. Images shown in the body, such as a signature logo, are left out. An email with no attachments gives an empty list, so check it is not empty before reading the files.

Inputs

MailboxmailboxtextRequired
The mailbox to act on: a user's email address (userPrincipalName) or Microsoft user ID. Connected by signing in to Microsoft, it's your own mailbox, which the picker offers. Connected with an Entra app of your own, it has to be a mailbox in the same Microsoft 365 tenant the app registration was consented in -- an outside address such as a personal Gmail or outlook.com account is not reachable this way. The picker is populated from the directory when the app has the optional User.Read.All permission; otherwise type the address.
Emailmessage_idtextRequired
The email whose attachments to save, such as the message_id of the email that started the run.

Outputs

document_refslist
Just the saved files, to hand all of them to a later step at once.
documentslist
The saved files, in the order they are attached.
Example output
{
  "document_refs": [
    "doc_0123456789abcdef0123456789abcdea"
  ],
  "documents": [
    {
      "content_type": "application/pdf",
      "document_ref": "doc_0123456789abcdef0123456789abcdea",
      "filename": "invoice-4021.pdf",
      "size_bytes": 84213
    }
  ]
}

Find meeting times

Suggest meeting times when the attendees are free.

Inputs

MailboxmailboxtextRequired
The mailbox to act on: a user's email address (userPrincipalName) or Microsoft user ID. Connected by signing in to Microsoft, it's your own mailbox, which the picker offers. Connected with an Entra app of your own, it has to be a mailbox in the same Microsoft 365 tenant the app registration was consented in -- an outside address such as a personal Gmail or outlook.com account is not reachable this way. The picker is populated from the directory when the app has the optional User.Read.All permission; otherwise type the address.
AttendeesattendeeslistRequired
Addresses of the people who need to attend.
Meeting duration minutesmeeting_duration_minutesnumber
How long the meeting needs to be, in minutes.At least 1. Default: 30.
Start date timestart_date_timedate and time
Earliest time to consider. Pair with an end time.
End date timeend_date_timedate and time
Latest time to consider. Pair with a start time.
Time zonetime_zonetext
Time zone for the supplied times, in Windows or IANA format, for example 'Pacific Standard Time' or 'America/Los_Angeles'. Defaults to UTC.
Max candidatesmax_candidatesnumber
Maximum number of suggestions to return.From 1 to 100. Default: 10.
Minimum attendee percentageminimum_attendee_percentagenumber
Minimum percentage of attendees that must be free for a time to be suggested.From 0 to 100.

Outputs

emptySuggestionsReasontext
Why no times were suggested, when empty.
meetingTimeSuggestionslist
Suggested slots, most confident first.
Example output
{
  "meetingTimeSuggestions": [
    {
      "confidence": 100.0,
      "meetingTimeSlot": {
        "end": {
          "dateTime": "2026-09-23T15:30:00.0000000",
          "timeZone": "UTC"
        },
        "start": {
          "dateTime": "2026-09-23T15:00:00.0000000",
          "timeZone": "UTC"
        }
      },
      "organizerAvailability": "free"
    }
  ]
}

Forward email

Forward an email to one or more new recipients.

Inputs

MailboxmailboxtextRequired
The mailbox to act on: a user's email address (userPrincipalName) or Microsoft user ID. Connected by signing in to Microsoft, it's your own mailbox, which the picker offers. Connected with an Entra app of your own, it has to be a mailbox in the same Microsoft 365 tenant the app registration was consented in -- an outside address such as a personal Gmail or outlook.com account is not reachable this way. The picker is populated from the directory when the app has the optional User.Read.All permission; otherwise type the address.
Emailmessage_idtextRequired
The ID of the email, usually from an earlier step such as List emails or the new email trigger.
TototextRequired
Comma-separated list of recipient email addresses.
Messagecommenttext
Optional message to include.

Outputs

statustext
Operation status.
Example output
{
  "message_id": "AAMkAGI2NGVhZTIyLTAzYzUt",
  "status": "sent"
}

Forward event

Forward a meeting invite to more people.

Inputs

MailboxmailboxtextRequired
The mailbox to act on: a user's email address (userPrincipalName) or Microsoft user ID. Connected by signing in to Microsoft, it's your own mailbox, which the picker offers. Connected with an Entra app of your own, it has to be a mailbox in the same Microsoft 365 tenant the app registration was consented in -- an outside address such as a personal Gmail or outlook.com account is not reachable this way. The picker is populated from the directory when the app has the optional User.Read.All permission; otherwise type the address.
Eventevent_idtextRequired
The ID of the calendar event.
TototextRequired
Comma-separated list of recipient email addresses.
Messagecommenttext
Optional message to include.

Outputs

statustext
Operation status.
Example output
{
  "event_id": "AAMkAGViNDU3ZDI4LTZmNzMt",
  "status": "forwarded"
}

Get attachment

Get one attachment from an email, including the file itself. For an attached email or a link to a file, only its details come back.

Inputs

MailboxmailboxtextRequired
The mailbox to act on: a user's email address (userPrincipalName) or Microsoft user ID. Connected by signing in to Microsoft, it's your own mailbox, which the picker offers. Connected with an Entra app of your own, it has to be a mailbox in the same Microsoft 365 tenant the app registration was consented in -- an outside address such as a personal Gmail or outlook.com account is not reachable this way. The picker is populated from the directory when the app has the optional User.Read.All permission; otherwise type the address.
Emailmessage_idtextRequired
The ID of the email, usually from an earlier step such as List emails or the new email trigger.
Attachment IDattachment_idtextRequired
The ID of the attachment, from List attachments.

Outputs

attachment_typetext
fileAttachment, itemAttachment or referenceAttachment.
content_bytestext
Base64 content, for file attachments only.
content_typetext
MIME type.
idtext
Attachment ID.
is_inlinetrue/false
Inline flag.
nametext
File name.
sizenumber
Size in bytes.
Example output
{
  "attachment_type": "fileAttachment",
  "content_bytes": "JVBERi0xLjQKJeLjz9MK",
  "content_type": "application/pdf",
  "id": "AAMkAGI2TG93AAA=",
  "is_inline": false,
  "name": "q3-notes.pdf",
  "size": 84213
}

Get calendar

Read one calendar: its name, color, owner, and whether it's the default and can be edited.

Inputs

MailboxmailboxtextRequired
The mailbox to act on: a user's email address (userPrincipalName) or Microsoft user ID. Connected by signing in to Microsoft, it's your own mailbox, which the picker offers. Connected with an Entra app of your own, it has to be a mailbox in the same Microsoft 365 tenant the app registration was consented in -- an outside address such as a personal Gmail or outlook.com account is not reachable this way. The picker is populated from the directory when the app has the optional User.Read.All permission; otherwise type the address.
Calendarcalendar_idtextRequired
The calendar, usually picked from the list or from List calendars.

Outputs

canEdittrue/false
Whether the mailbox can add and change events on it.
colortext
The color Outlook shows it in, such as lightBlue or auto.
idtext
Calendar ID.
isDefaultCalendartrue/false
Whether new events land here.
nametext
Calendar name.
ownerobject
Who owns the calendar: name and address.
Example output
{
  "canEdit": true,
  "color": "lightBlue",
  "id": "AAMkAGViNDU3AAAuAAB=",
  "isDefaultCalendar": true,
  "name": "Projects",
  "owner": {
    "address": "alexw@contoso.com",
    "name": "Alex Wilber"
  }
}

Get contact

Read one contact.

Inputs

MailboxmailboxtextRequired
The mailbox to act on: a user's email address (userPrincipalName) or Microsoft user ID. Connected by signing in to Microsoft, it's your own mailbox, which the picker offers. Connected with an Entra app of your own, it has to be a mailbox in the same Microsoft 365 tenant the app registration was consented in -- an outside address such as a personal Gmail or outlook.com account is not reachable this way. The picker is populated from the directory when the app has the optional User.Read.All permission; otherwise type the address.
Contactcontact_idtextRequired
The ID of the contact.

Outputs

businessPhoneslist
Business phone numbers.
companyNametext
Company name.
displayNametext
Contact display name.
emailAddresseslist
Email addresses.
idtext
Contact ID.
jobTitletext
Job title.
Example output
{
  "businessPhones": [
    "+1 425 555 0109"
  ],
  "companyName": "Contoso",
  "displayName": "Dana Swope",
  "emailAddresses": [
    {
      "address": "danas@contoso.com",
      "name": "Dana Swope"
    }
  ],
  "id": "AAMkAGE1Mjc1YmUwLTIzZjQt",
  "jobTitle": "Operations Lead"
}

Get email

Read one email, including its full body.

Inputs

MailboxmailboxtextRequired
The mailbox to act on: a user's email address (userPrincipalName) or Microsoft user ID. Connected by signing in to Microsoft, it's your own mailbox, which the picker offers. Connected with an Entra app of your own, it has to be a mailbox in the same Microsoft 365 tenant the app registration was consented in -- an outside address such as a personal Gmail or outlook.com account is not reachable this way. The picker is populated from the directory when the app has the optional User.Read.All permission; otherwise type the address.
Emailmessage_idtextRequired
The ID of the email, usually from an earlier step such as List emails or the new email trigger.
Body formatbody_formattext
Convert the body to this format. Leave blank to keep the stored format.One of: text (Plain text), html.

Outputs

bodyPreviewtext
First 255 characters.
categorieslist
The names of the categories it is tagged with.
ccRecipientslist
Who was copied, in the same form as toRecipients.
conversationIdtext
The conversation it belongs to, shared by every reply in it.
flagobject
Its follow-up flag: flagStatus is notFlagged, flagged or complete.
fromobject
The sender: emailAddress.name and emailAddress.address.
hasAttachmentstrue/false
Attachment present.
idtext
Message ID.
importancetext
low, normal or high.
isDrafttrue/false
Whether it is an unsent draft.
isReadtrue/false
Whether it has been read.
parentFolderIdtext
The folder it is in.
receivedDateTimetext
When it arrived, as an ISO 8601 time in UTC.
sentDateTimetext
When it was sent, as an ISO 8601 time in UTC.
subjecttext
Message subject.
toRecipientslist
Who it was sent to, each with emailAddress.name and emailAddress.address.
webLinktext
Open in Outlook on the web.
Example output
{
  "bodyPreview": "Here are the notes from this morning's planning session...",
  "categories": [
    "Blue category"
  ],
  "ccRecipients": [],
  "conversationId": "AAQkAGI2NGVhZTIyLTAzYzUtNGM3",
  "flag": {
    "flagStatus": "notFlagged"
  },
  "from": {
    "emailAddress": {
      "address": "alexw@contoso.com",
      "name": "Alex Wilbur"
    }
  },
  "hasAttachments": true,
  "id": "AAMkAGI2NGVhZTIyLTAzYzUt",
  "importance": "normal",
  "isDraft": false,
  "isRead": false,
  "parentFolderId": "AQMkAGI2NGVhZTIyAC4AAAA",
  "receivedDateTime": "2026-09-18T14:02:11Z",
  "sentDateTime": "2026-09-18T14:02:05Z",
  "subject": "Q3 planning notes",
  "toRecipients": [
    {
      "emailAddress": {
        "address": "meganb@contoso.com",
        "name": "Megan Bowen"
      }
    }
  ],
  "webLink": "https://outlook.office365.com/owa/?ItemID=AAMkAGI2NGVhZTIy"
}

Get email delivery details

Get each step of one email's delivery to one recipient: where it was received, what was applied to it, and whether it was delivered. Needs the same permission and setup as Check email delivery.

Inputs

Delivery report IDmessage_trace_idtextRequired
The delivery report's ID, from Check email delivery.
Recipient addressrecipient_addresstextRequired
The recipient whose delivery path to show, from the report's recipient address in Check email delivery.

Outputs

countnumber
Number returned.
eventslist
Delivery events in order.
Example output
{
  "count": 2,
  "events": [
    {
      "action": "",
      "dateTime": "2026-09-17T10:30:05Z",
      "description": "Message received by: MN2PR00MB0670.namprd00.prod.outlook.com",
      "event": "Receive"
    },
    {
      "action": "",
      "dateTime": "2026-09-17T10:30:10Z",
      "description": "The message was successfully delivered.",
      "event": "Deliver"
    }
  ]
}

Get event

Read one calendar event.

Inputs

MailboxmailboxtextRequired
The mailbox to act on: a user's email address (userPrincipalName) or Microsoft user ID. Connected by signing in to Microsoft, it's your own mailbox, which the picker offers. Connected with an Entra app of your own, it has to be a mailbox in the same Microsoft 365 tenant the app registration was consented in -- an outside address such as a personal Gmail or outlook.com account is not reachable this way. The picker is populated from the directory when the app has the optional User.Read.All permission; otherwise type the address.
Eventevent_idtextRequired
The ID of the calendar event.
Time zonetime_zonetext
Time zone for the supplied times, in Windows or IANA format, for example 'Pacific Standard Time' or 'America/Los_Angeles'. Defaults to UTC.

Outputs

attendeeslist
Attendee list.
endobject
End dateTimeTimeZone.
idtext
Event ID.
locationobject
Event location.
onlineMeetingobject
Join information.
startobject
Start dateTimeTimeZone.
subjecttext
Event subject.
webLinktext
Open in Outlook on the web.
Example output
{
  "attendees": [
    {
      "emailAddress": {
        "address": "alexw@contoso.com",
        "name": "Alex Wilbur"
      },
      "type": "required"
    }
  ],
  "end": {
    "dateTime": "2026-09-22T16:00:00.0000000",
    "timeZone": "UTC"
  },
  "id": "AAMkAGViNDU3ZDI4LTZmNzMt",
  "location": {
    "displayName": "Conference room 3"
  },
  "onlineMeeting": {
    "joinUrl": "https://teams.microsoft.com/l/meetup-join/19%3a..."
  },
  "start": {
    "dateTime": "2026-09-22T15:00:00.0000000",
    "timeZone": "UTC"
  },
  "subject": "Q3 planning",
  "webLink": "https://outlook.office365.com/calendar/item/AAMkAGViNDU3ZDI4"
}

Get free/busy schedule

See when people, distribution lists or meeting rooms are free or busy over a time range.

Inputs

MailboxmailboxtextRequired
The mailbox to act on: a user's email address (userPrincipalName) or Microsoft user ID. Connected by signing in to Microsoft, it's your own mailbox, which the picker offers. Connected with an Entra app of your own, it has to be a mailbox in the same Microsoft 365 tenant the app registration was consented in -- an outside address such as a personal Gmail or outlook.com account is not reachable this way. The picker is populated from the directory when the app has the optional User.Read.All permission; otherwise type the address.
SchedulesscheduleslistRequired
Addresses to check availability for.
Start date timestart_date_timedate and timeRequired
Start of the window to check.
End date timeend_date_timedate and timeRequired
End of the window to check.
Time zonetime_zonetext
Time zone for the supplied times, in Windows or IANA format, for example 'Pacific Standard Time' or 'America/Los_Angeles'. Defaults to UTC.
Availability view intervalavailability_view_intervalnumber
Size of each availability slot, in minutes.From 5 to 1440. Default: 30.

Outputs

countnumber
Number returned.
scheduleslist
Availability per requested address.
Example output
{
  "count": 1,
  "schedules": [
    {
      "availabilityView": "000022000000",
      "scheduleId": "alexw@contoso.com",
      "scheduleItems": [
        {
          "end": {
            "dateTime": "2026-09-22T16:00:00.0000000",
            "timeZone": "UTC"
          },
          "start": {
            "dateTime": "2026-09-22T15:00:00.0000000",
            "timeZone": "UTC"
          },
          "status": "busy",
          "subject": "Q3 planning"
        }
      ]
    }
  ]
}

Get mail folder

Read one mail folder: its name, the folder it sits in, and how many emails it holds and how many are unread.

Inputs

MailboxmailboxtextRequired
The mailbox to act on: a user's email address (userPrincipalName) or Microsoft user ID. Connected by signing in to Microsoft, it's your own mailbox, which the picker offers. Connected with an Entra app of your own, it has to be a mailbox in the same Microsoft 365 tenant the app registration was consented in -- an outside address such as a personal Gmail or outlook.com account is not reachable this way. The picker is populated from the directory when the app has the optional User.Read.All permission; otherwise type the address.
Folderfolder_idtextRequired
The folder to read. Accepts a folder ID or a well-known name: inbox, drafts, sentitems, deleteditems, junkemail or archive.

Outputs

childFolderCountnumber
Folders directly inside it.
displayNametext
Folder name.
idtext
Folder ID.
parentFolderIdtext
The folder it sits in.
totalItemCountnumber
Items in the folder.
unreadItemCountnumber
Unread items.
Example output
{
  "childFolderCount": 0,
  "displayName": "Invoices",
  "id": "AAMkAGI2AAAAAEMkAAB=",
  "parentFolderId": "AAMkAGI2AAAAAEMkAAA=",
  "totalItemCount": 12,
  "unreadItemCount": 2
}

Get mail tips

Check recipients before emailing them: whether their automatic reply is on, their mailbox is full, or there's a size limit on what they can receive.

Inputs

MailboxmailboxtextRequired
The mailbox to act on: a user's email address (userPrincipalName) or Microsoft user ID. Connected by signing in to Microsoft, it's your own mailbox, which the picker offers. Connected with an Entra app of your own, it has to be a mailbox in the same Microsoft 365 tenant the app registration was consented in -- an outside address such as a personal Gmail or outlook.com account is not reachable this way. The picker is populated from the directory when the app has the optional User.Read.All permission; otherwise type the address.
Email addressesemail_addresseslistRequired
Recipient addresses to check.
Mail tips optionsmail_tips_optionslist
Which tips to request. Defaults to automatic replies and mailbox full status.One or more of: automaticReplies (Automatic replies), mailboxFullStatus (Mailbox full), maxMessageSize (Max message size), deliveryRestriction (Delivery restriction), recipientScope (Recipient scope), moderationStatus (Moderation status), totalMemberCount (Total members), externalMemberCount (External members), customMailTip (Custom mail tip).

Outputs

countnumber
Number returned.
mail_tipslist
One entry per requested address.
Example output
{
  "count": 1,
  "mail_tips": [
    {
      "automaticReplies": {
        "message": "I am on vacation right now."
      },
      "emailAddress": {
        "address": "danas@contoso.com",
        "name": ""
      },
      "mailboxFull": false
    }
  ]
}

Get mailbox settings

Read a mailbox's settings: automatic replies, time zone, language, date and time format, and working hours.

Inputs

MailboxmailboxtextRequired
The mailbox to act on: a user's email address (userPrincipalName) or Microsoft user ID. Connected by signing in to Microsoft, it's your own mailbox, which the picker offers. Connected with an Entra app of your own, it has to be a mailbox in the same Microsoft 365 tenant the app registration was consented in -- an outside address such as a personal Gmail or outlook.com account is not reachable this way. The picker is populated from the directory when the app has the optional User.Read.All permission; otherwise type the address.

Outputs

automaticRepliesSettingobject
Out-of-office configuration.
languageobject
Locale information.
timeZonetext
Mailbox time zone.
workingHoursobject
Working days and hours.
Example output
{
  "automaticRepliesSetting": {
    "externalAudience": "none",
    "status": "disabled"
  },
  "language": {
    "displayName": "English (United States)",
    "locale": "en-US"
  },
  "timeZone": "Pacific Standard Time",
  "workingHours": {
    "daysOfWeek": [
      "monday",
      "tuesday",
      "wednesday",
      "thursday",
      "friday"
    ],
    "endTime": "17:00:00.0000000",
    "startTime": "09:00:00.0000000"
  }
}

List attachments

List the attachments on an email, without their contents.

Inputs

MailboxmailboxtextRequired
The mailbox to act on: a user's email address (userPrincipalName) or Microsoft user ID. Connected by signing in to Microsoft, it's your own mailbox, which the picker offers. Connected with an Entra app of your own, it has to be a mailbox in the same Microsoft 365 tenant the app registration was consented in -- an outside address such as a personal Gmail or outlook.com account is not reachable this way. The picker is populated from the directory when the app has the optional User.Read.All permission; otherwise type the address.
Emailmessage_idtextRequired
The ID of the email, usually from an earlier step such as List emails or the new email trigger.

Outputs

attachmentslist
Attachment metadata.
countnumber
Number returned.
Example output
{
  "attachments": [
    {
      "contentType": "application/pdf",
      "id": "AAMkAGI2TG93AAA=",
      "isInline": false,
      "name": "q3-notes.pdf",
      "size": 84213
    }
  ],
  "count": 1
}

List calendars

List the calendars in a mailbox.

Inputs

MailboxmailboxtextRequired
The mailbox to act on: a user's email address (userPrincipalName) or Microsoft user ID. Connected by signing in to Microsoft, it's your own mailbox, which the picker offers. Connected with an Entra app of your own, it has to be a mailbox in the same Microsoft 365 tenant the app registration was consented in -- an outside address such as a personal Gmail or outlook.com account is not reachable this way. The picker is populated from the directory when the app has the optional User.Read.All permission; otherwise type the address.
Limitlimitnumber
Maximum number of results to return (1-500).From 1 to 500. Default: 25.

Outputs

calendarslist
The mailbox's calendars.
countnumber
Number returned.
Example output
{
  "calendars": [
    {
      "canEdit": true,
      "id": "AAMkAGViNDU3AAAuAAA=",
      "isDefaultCalendar": true,
      "name": "Calendar"
    }
  ],
  "count": 1
}

List categories

List the categories a mailbox can tag emails, events and contacts with.

Inputs

MailboxmailboxtextRequired
The mailbox to act on: a user's email address (userPrincipalName) or Microsoft user ID. Connected by signing in to Microsoft, it's your own mailbox, which the picker offers. Connected with an Entra app of your own, it has to be a mailbox in the same Microsoft 365 tenant the app registration was consented in -- an outside address such as a personal Gmail or outlook.com account is not reachable this way. The picker is populated from the directory when the app has the optional User.Read.All permission; otherwise type the address.

Outputs

categorieslist
The mailbox's categories.
countnumber
Number returned.
Example output
{
  "categories": [
    {
      "color": "preset0",
      "displayName": "Needs follow-up",
      "id": "5a9a6aa8-b65f-4357-b1f9-60c6bf6330d8"
    }
  ],
  "count": 1
}

List contact folders

List the contact folders in a mailbox.

Inputs

MailboxmailboxtextRequired
The mailbox to act on: a user's email address (userPrincipalName) or Microsoft user ID. Connected by signing in to Microsoft, it's your own mailbox, which the picker offers. Connected with an Entra app of your own, it has to be a mailbox in the same Microsoft 365 tenant the app registration was consented in -- an outside address such as a personal Gmail or outlook.com account is not reachable this way. The picker is populated from the directory when the app has the optional User.Read.All permission; otherwise type the address.
Limitlimitnumber
Maximum number of results to return (1-500).From 1 to 500. Default: 25.

Outputs

countnumber
Number returned.
folderslist
The contact folders.
Example output
{
  "count": 1,
  "folders": [
    {
      "displayName": "Suppliers",
      "id": "AAMkAGE1Mjc1AAAuAAA="
    }
  ]
}

List contacts

List a mailbox's contacts, optionally in one contact folder or matching a search.

Inputs

MailboxmailboxtextRequired
The mailbox to act on: a user's email address (userPrincipalName) or Microsoft user ID. Connected by signing in to Microsoft, it's your own mailbox, which the picker offers. Connected with an Entra app of your own, it has to be a mailbox in the same Microsoft 365 tenant the app registration was consented in -- an outside address such as a personal Gmail or outlook.com account is not reachable this way. The picker is populated from the directory when the app has the optional User.Read.All permission; otherwise type the address.
Folderfolder_idtext
Contact folder to read. Leave blank for the default Contacts folder.
Searchsearchtext
Words to search for across the contact. Can't be combined with a filter.
Filter queryfilter_querytext
OData $filter expression, for example "companyName eq 'Contoso'". With a filter, the limit applies before the results are sorted by name, so you get the first matches Outlook returns, sorted, rather than the alphabetically first matches.
Limitlimitnumber
Maximum number of results to return (1-500).From 1 to 500. Default: 25.

Outputs

contactslist
The matching contacts.
countnumber
Number returned.
Example output
{
  "contacts": [
    {
      "businessPhones": [
        "+1 425 555 0109"
      ],
      "companyName": "Contoso",
      "displayName": "Dana Swope",
      "emailAddresses": [
        {
          "address": "danas@contoso.com",
          "name": "Dana Swope"
        }
      ],
      "id": "AAMkAGE1Mjc1YmUwLTIzZjQt",
      "jobTitle": "Operations Lead"
    }
  ],
  "count": 1
}

List emails

List the emails in a mailbox, newest first. You can narrow it to one folder, to unread emails, or to a search.

Inputs

MailboxmailboxtextRequired
The mailbox to act on: a user's email address (userPrincipalName) or Microsoft user ID. Connected by signing in to Microsoft, it's your own mailbox, which the picker offers. Connected with an Entra app of your own, it has to be a mailbox in the same Microsoft 365 tenant the app registration was consented in -- an outside address such as a personal Gmail or outlook.com account is not reachable this way. The picker is populated from the directory when the app has the optional User.Read.All permission; otherwise type the address.
Folderfolder_idtext
Folder to read from. Accepts a folder ID or a well-known name: inbox, drafts, sentitems, deleteditems, junkemail or archive. Leave blank to search the whole mailbox.
Searchsearchtext
Words to search for across the email, such as from:alex or a subject. Can't be combined with a filter or with 'Unread only'.
Filter queryfilter_querytext
OData $filter expression, for example "importance eq 'high'". Results are still sorted newest first, so the filter needs no $orderby.
Unread onlyunread_onlytrue/false
Return only unread emails.Default: false.
Limitlimitnumber
Maximum number of results to return (1-500).From 1 to 500. Default: 25.

Outputs

countnumber
Number of messages returned.
messageslist
The matching messages.
Example output
{
  "count": 1,
  "messages": [
    {
      "bodyPreview": "Here are the notes from this morning's planning session...",
      "categories": [
        "Blue category"
      ],
      "ccRecipients": [],
      "conversationId": "AAQkAGI2NGVhZTIyLTAzYzUtNGM3",
      "flag": {
        "flagStatus": "notFlagged"
      },
      "from": {
        "emailAddress": {
          "address": "alexw@contoso.com",
          "name": "Alex Wilbur"
        }
      },
      "hasAttachments": true,
      "id": "AAMkAGI2NGVhZTIyLTAzYzUt",
      "importance": "normal",
      "isDraft": false,
      "isRead": false,
      "parentFolderId": "AQMkAGI2NGVhZTIyAC4AAAA",
      "receivedDateTime": "2026-09-18T14:02:11Z",
      "sentDateTime": "2026-09-18T14:02:05Z",
      "subject": "Q3 planning notes",
      "toRecipients": [
        {
          "emailAddress": {
            "address": "meganb@contoso.com",
            "name": "Megan Bowen"
          }
        }
      ],
      "webLink": "https://outlook.office365.com/owa/?ItemID=AAMkAGI2NGVhZTIy"
    }
  ]
}

List events

List the events on a calendar. Give a start and end to see each occurrence of a repeating event in that range; without them, a repeating event is listed once.

Inputs

MailboxmailboxtextRequired
The mailbox to act on: a user's email address (userPrincipalName) or Microsoft user ID. Connected by signing in to Microsoft, it's your own mailbox, which the picker offers. Connected with an Entra app of your own, it has to be a mailbox in the same Microsoft 365 tenant the app registration was consented in -- an outside address such as a personal Gmail or outlook.com account is not reachable this way. The picker is populated from the directory when the app has the optional User.Read.All permission; otherwise type the address.
Calendarcalendar_idtext
Calendar to read. Leave blank for the default calendar.
Start date timestart_date_timedate and time
Start of the time range. Must be paired with an end.
End date timeend_date_timedate and time
End of the time range. Must be paired with a start.
Time zonetime_zonetext
Time zone for the supplied times, in Windows or IANA format, for example 'Pacific Standard Time' or 'America/Los_Angeles'. Defaults to UTC.
Filter queryfilter_querytext
OData $filter expression, for example "isCancelled eq false".
Limitlimitnumber
Maximum number of results to return (1-500).From 1 to 500. Default: 25.

Outputs

countnumber
Number returned.
eventslist
The matching events.
Example output
{
  "count": 1,
  "events": [
    {
      "attendees": [
        {
          "emailAddress": {
            "address": "alexw@contoso.com",
            "name": "Alex Wilbur"
          },
          "type": "required"
        }
      ],
      "end": {
        "dateTime": "2026-09-22T16:00:00.0000000",
        "timeZone": "UTC"
      },
      "id": "AAMkAGViNDU3ZDI4LTZmNzMt",
      "location": {
        "displayName": "Conference room 3"
      },
      "onlineMeeting": {
        "joinUrl": "https://teams.microsoft.com/l/meetup-join/19%3a..."
      },
      "start": {
        "dateTime": "2026-09-22T15:00:00.0000000",
        "timeZone": "UTC"
      },
      "subject": "Q3 planning",
      "webLink": "https://outlook.office365.com/calendar/item/AAMkAGViNDU3ZDI4"
    }
  ]
}

List Focused Inbox overrides

List the senders whose email always goes to Focused or to Other in this mailbox.

Inputs

MailboxmailboxtextRequired
The mailbox to act on: a user's email address (userPrincipalName) or Microsoft user ID. Connected by signing in to Microsoft, it's your own mailbox, which the picker offers. Connected with an Entra app of your own, it has to be a mailbox in the same Microsoft 365 tenant the app registration was consented in -- an outside address such as a personal Gmail or outlook.com account is not reachable this way. The picker is populated from the directory when the app has the optional User.Read.All permission; otherwise type the address.

Outputs

countnumber
Number returned.
overrideslist
The mailbox's overrides.
Example output
{
  "count": 1,
  "overrides": [
    {
      "classifyAs": "focused",
      "id": "98f5bdef-576a-404d-a2ea-07a3cf11a9b9",
      "senderEmailAddress": {
        "address": "samanthab@contoso.com",
        "name": "Samantha Booth"
      }
    }
  ]
}

List inbox rules

List a mailbox's inbox rules.

Inputs

MailboxmailboxtextRequired
The mailbox to act on: a user's email address (userPrincipalName) or Microsoft user ID. Connected by signing in to Microsoft, it's your own mailbox, which the picker offers. Connected with an Entra app of your own, it has to be a mailbox in the same Microsoft 365 tenant the app registration was consented in -- an outside address such as a personal Gmail or outlook.com account is not reachable this way. The picker is populated from the directory when the app has the optional User.Read.All permission; otherwise type the address.

Outputs

countnumber
Number returned.
ruleslist
The inbox rules.
Example output
{
  "count": 1,
  "rules": [
    {
      "actions": {
        "moveToFolder": "AAMkAGI2AAAAAEMkAAB="
      },
      "conditions": {
        "subjectContains": [
          "invoice"
        ]
      },
      "displayName": "Invoices to Finance",
      "id": "AQAAAJ5dZqA=",
      "isEnabled": true,
      "sequence": 1
    }
  ]
}

List mail folders

List the mail folders in a mailbox, or the folders inside one folder.

Inputs

MailboxmailboxtextRequired
The mailbox to act on: a user's email address (userPrincipalName) or Microsoft user ID. Connected by signing in to Microsoft, it's your own mailbox, which the picker offers. Connected with an Entra app of your own, it has to be a mailbox in the same Microsoft 365 tenant the app registration was consented in -- an outside address such as a personal Gmail or outlook.com account is not reachable this way. The picker is populated from the directory when the app has the optional User.Read.All permission; otherwise type the address.
Parent folderparent_folder_idtext
List the children of this folder instead of the top level. Leave blank for top-level folders.
Include hiddeninclude_hiddentrue/false
Include folders marked hidden.Default: false.
Limitlimitnumber
Maximum number of results to return (1-500).From 1 to 500. Default: 25.

Outputs

countnumber
Number returned.
folderslist
The mail folders.
Example output
{
  "count": 1,
  "folders": [
    {
      "displayName": "Inbox",
      "id": "AAMkAGI2AAAAAEMkAAA=",
      "totalItemCount": 412,
      "unreadItemCount": 7
    }
  ]
}

List room lists

List your organization's room lists, the groups of meeting rooms by building or floor. Needs an extra permission your Microsoft admin grants; see the connect panel.

Inputs

Limitlimitnumber
Maximum number of results to return (1-500).From 1 to 500. Default: 25.

Outputs

countnumber
Number returned.
room_listslist
The tenant's room lists.
Example output
{
  "count": 1,
  "room_lists": [
    {
      "displayName": "Building 2 rooms",
      "emailAddress": "building2rooms@contoso.com",
      "id": "3162F1E1-C4C0-604B-51D8-91DA78989EB1"
    }
  ]
}

List rooms

List the meeting rooms people can book, across your organization or in one room list. Needs an extra permission your Microsoft admin grants; see the connect panel. A room has its own mailbox, so check it with Get free/busy schedule and book it with Create event.

Inputs

Room listroom_listtext
SMTP address of a room list to search within. Leave blank for every room in the tenant.
Limitlimitnumber
Maximum number of results to return (1-500).From 1 to 500. Default: 25.

Outputs

countnumber
Number returned.
roomslist
The matching rooms.
Example output
{
  "count": 1,
  "rooms": [
    {
      "building": "Building 2",
      "capacity": 8,
      "displayName": "Conf Room Rainier",
      "emailAddress": "rainier@contoso.com",
      "floorNumber": 3,
      "id": "3162F1E1-C4C0-604B-51D8-91DA78989EB2"
    }
  ]
}

List users

List the mailboxes in your organization. Needs an extra permission your Microsoft admin grants; see the connect panel. With it, every other action lets you pick a mailbox from a list.

Inputs

Searchsearchtext
Match against display name. Cannot be combined with a filter.
Filter queryfilter_querytext
OData $filter expression, for example "department eq 'Finance'".
Limitlimitnumber
Maximum number of results to return (1-500).From 1 to 500. Default: 25.

Outputs

countnumber
Number returned.
userslist
The matching users.
Example output
{
  "count": 1,
  "users": [
    {
      "department": "Operations",
      "displayName": "Alex Wilbur",
      "id": "8ae6f565-0d7f-4ead-853e-7db94c912a1f",
      "jobTitle": "Operations Lead",
      "mail": "alexw@contoso.com",
      "userPrincipalName": "alexw@contoso.com"
    }
  ]
}

Move email

Move an email to another folder. The moved email gets a new ID, which this step returns for later steps.

Inputs

MailboxmailboxtextRequired
The mailbox to act on: a user's email address (userPrincipalName) or Microsoft user ID. Connected by signing in to Microsoft, it's your own mailbox, which the picker offers. Connected with an Entra app of your own, it has to be a mailbox in the same Microsoft 365 tenant the app registration was consented in -- an outside address such as a personal Gmail or outlook.com account is not reachable this way. The picker is populated from the directory when the app has the optional User.Read.All permission; otherwise type the address.
Emailmessage_idtextRequired
The ID of the email, usually from an earlier step such as List emails or the new email trigger.
Destination folderdestination_folder_idtextRequired
Destination folder. Accepts a folder ID or a well-known name: inbox, drafts, sentitems, deleteditems, junkemail or archive.

Outputs

bodyPreviewtext
First 255 characters.
categorieslist
The names of the categories it is tagged with.
ccRecipientslist
Who was copied, in the same form as toRecipients.
conversationIdtext
The conversation it belongs to, shared by every reply in it.
flagobject
Its follow-up flag: flagStatus is notFlagged, flagged or complete.
fromobject
The sender: emailAddress.name and emailAddress.address.
hasAttachmentstrue/false
Attachment present.
idtext
Message ID.
importancetext
low, normal or high.
isDrafttrue/false
Whether it is an unsent draft.
isReadtrue/false
Whether it has been read.
parentFolderIdtext
The folder it is in.
receivedDateTimetext
When it arrived, as an ISO 8601 time in UTC.
sentDateTimetext
When it was sent, as an ISO 8601 time in UTC.
subjecttext
Message subject.
toRecipientslist
Who it was sent to, each with emailAddress.name and emailAddress.address.
webLinktext
Open in Outlook on the web.
Example output
{
  "bodyPreview": "Here are the notes from this morning's planning session...",
  "categories": [
    "Blue category"
  ],
  "ccRecipients": [],
  "conversationId": "AAQkAGI2NGVhZTIyLTAzYzUtNGM3",
  "flag": {
    "flagStatus": "notFlagged"
  },
  "from": {
    "emailAddress": {
      "address": "alexw@contoso.com",
      "name": "Alex Wilbur"
    }
  },
  "hasAttachments": true,
  "id": "AAMkAGI2NGVhZTIyLTAzYzUt",
  "importance": "normal",
  "isDraft": false,
  "isRead": false,
  "parentFolderId": "AQMkAGI2NGVhZTIyAC4AAAA",
  "receivedDateTime": "2026-09-18T14:02:11Z",
  "sentDateTime": "2026-09-18T14:02:05Z",
  "subject": "Q3 planning notes",
  "toRecipients": [
    {
      "emailAddress": {
        "address": "meganb@contoso.com",
        "name": "Megan Bowen"
      }
    }
  ],
  "webLink": "https://outlook.office365.com/owa/?ItemID=AAMkAGI2NGVhZTIy"
}

Rename mail folder

Give a mail folder a new name. The name must be different from the folders beside it.

Inputs

MailboxmailboxtextRequired
The mailbox to act on: a user's email address (userPrincipalName) or Microsoft user ID. Connected by signing in to Microsoft, it's your own mailbox, which the picker offers. Connected with an Entra app of your own, it has to be a mailbox in the same Microsoft 365 tenant the app registration was consented in -- an outside address such as a personal Gmail or outlook.com account is not reachable this way. The picker is populated from the directory when the app has the optional User.Read.All permission; otherwise type the address.
Folderfolder_idtextRequired
The folder to rename.
Display namedisplay_nametextRequired
The folder's new name.

Outputs

childFolderCountnumber
Folders directly inside it.
displayNametext
Folder name.
idtext
Folder ID.
parentFolderIdtext
The folder it sits in.
totalItemCountnumber
Items in the folder.
unreadItemCountnumber
Unread items.
Example output
{
  "childFolderCount": 0,
  "displayName": "Invoices 2027",
  "id": "AAMkAGI2AAAAAEMkAAB=",
  "parentFolderId": "AAMkAGI2AAAAAEMkAAA=",
  "totalItemCount": 12,
  "unreadItemCount": 2
}

Reply all to email

Reply to the sender and every other recipient of an email.

Inputs

MailboxmailboxtextRequired
The mailbox to act on: a user's email address (userPrincipalName) or Microsoft user ID. Connected by signing in to Microsoft, it's your own mailbox, which the picker offers. Connected with an Entra app of your own, it has to be a mailbox in the same Microsoft 365 tenant the app registration was consented in -- an outside address such as a personal Gmail or outlook.com account is not reachable this way. The picker is populated from the directory when the app has the optional User.Read.All permission; otherwise type the address.
Emailmessage_idtextRequired
The ID of the email, usually from an earlier step such as List emails or the new email trigger.
Messagecommenttext
Plain text to add above the quoted email.
HTML bodyhtml_bodytext
Formatted (HTML) version of the body. If provided, it is used instead of the plain text body.

Outputs

statustext
Operation status.
Example output
{
  "message_id": "AAMkAGI2NGVhZTIyLTAzYzUt",
  "status": "sent"
}

Reply to email

Reply to the sender of an email. The reply is saved in Sent Items.

Inputs

MailboxmailboxtextRequired
The mailbox to act on: a user's email address (userPrincipalName) or Microsoft user ID. Connected by signing in to Microsoft, it's your own mailbox, which the picker offers. Connected with an Entra app of your own, it has to be a mailbox in the same Microsoft 365 tenant the app registration was consented in -- an outside address such as a personal Gmail or outlook.com account is not reachable this way. The picker is populated from the directory when the app has the optional User.Read.All permission; otherwise type the address.
Emailmessage_idtextRequired
The ID of the email, usually from an earlier step such as List emails or the new email trigger.
Messagecommenttext
Plain text to add above the quoted email.
HTML bodyhtml_bodytext
Formatted (HTML) version of the body. If provided, it is used instead of the plain text body.

Outputs

statustext
Operation status.
Example output
{
  "message_id": "AAMkAGI2NGVhZTIyLTAzYzUt",
  "status": "sent"
}

Respond to meeting invite

Accept, tentatively accept or decline a meeting invite on the invitee's behalf. Choose the invitee's mailbox and use the event ID from their own calendar (List events on that mailbox); the organizer's ID for the same meeting won't work. A canceled meeting can't be responded to.

Inputs

MailboxmailboxtextRequired
The mailbox to act on: a user's email address (userPrincipalName) or Microsoft user ID. Connected by signing in to Microsoft, it's your own mailbox, which the picker offers. Connected with an Entra app of your own, it has to be a mailbox in the same Microsoft 365 tenant the app registration was consented in -- an outside address such as a personal Gmail or outlook.com account is not reachable this way. The picker is populated from the directory when the app has the optional User.Read.All permission; otherwise type the address.
Eventevent_idtextRequired
The ID of the calendar event.
ResponseresponsetextRequired
How to respond to the invitation.One of: accept, tentativelyAccept (Tentatively accept), decline.
Messagecommenttext
Optional message to include.
Send responsesend_responsetrue/false
Send the reply to the organizer.Default: true.

Outputs

statustext
Operation status.
Example output
{
  "event_id": "AAMkAGViNDU3ZDI4LTZmNzMt",
  "status": "accept"
}

Send draft

Send a draft email created earlier. Once sent, it moves to Sent Items and the draft's ID stops working.

Inputs

MailboxmailboxtextRequired
The mailbox to act on: a user's email address (userPrincipalName) or Microsoft user ID. Connected by signing in to Microsoft, it's your own mailbox, which the picker offers. Connected with an Entra app of your own, it has to be a mailbox in the same Microsoft 365 tenant the app registration was consented in -- an outside address such as a personal Gmail or outlook.com account is not reachable this way. The picker is populated from the directory when the app has the optional User.Read.All permission; otherwise type the address.
Emailmessage_idtextRequired
The ID of the email, usually from an earlier step such as List emails or the new email trigger.

Outputs

statustext
Operation status.
Example output
{
  "message_id": "AAMkAGI2NGVhZTIyLTAzYzUt",
  "status": "sent"
}

Send email

Send an email from a mailbox in your organization. Sent means Outlook accepted it; a bounce arrives later in the sender's inbox.

Inputs

SendersendertextRequired
The sender's email address or Microsoft sign-in name. Like the mailbox on other actions, it has to be a mailbox in the Microsoft 365 tenant the app was consented in.
TototextRequired
Comma-separated list of recipient email addresses.
SubjectsubjecttextRequired
Subject of the email.
BodybodytextRequired
Plain text body content of the email.
HTML bodyhtml_bodytext
Formatted (HTML) version of the email body. If provided, it is used instead of the plain text body.
Attachmentsattachmentslist
Files to attach. Upload a file or reference a document (or list of documents) from an earlier step. Each file must be under 3 MB; for a larger one, create a draft and use Add large attachment.
CCcctext
Comma-separated list of Cc recipients.
BCCbcctext
Comma-separated list of Bcc recipients.
Reply toreply_totext
Comma-separated addresses that replies should go to.
Importanceimportancetext
Importance of the item.One of: low, normal, high.
Save to sent itemssave_to_sent_itemstrue/false
Save a copy in the sender's Sent Items folder.Default: true.

Outputs

statustext
Send status.
Example output
{
  "status": "success"
}

Set automatic replies

Turn out-of-office automatic replies on or off, or schedule them for a date range.

Inputs

MailboxmailboxtextRequired
The mailbox to act on: a user's email address (userPrincipalName) or Microsoft user ID. Connected by signing in to Microsoft, it's your own mailbox, which the picker offers. Connected with an Entra app of your own, it has to be a mailbox in the same Microsoft 365 tenant the app registration was consented in -- an outside address such as a personal Gmail or outlook.com account is not reachable this way. The picker is populated from the directory when the app has the optional User.Read.All permission; otherwise type the address.
StatusstatustextRequired
Whether automatic replies are off, always on, or scheduled.One of: disabled (Off), alwaysEnabled (Always on), scheduled.
Internal reply messageinternal_reply_messagetext
Reply sent to people inside the organization.
External reply messageexternal_reply_messagetext
Reply sent to people outside the organization.
External audienceexternal_audiencetext
Who outside the organization receives a reply.One of: none (Nobody), contactsOnly (Contacts only), all (Everyone).
Scheduled startscheduled_startdate and time
Start of the scheduled window. Required when status is 'scheduled'.
Scheduled endscheduled_enddate and time
End of the scheduled window. Required when status is 'scheduled'.
Time zonetime_zonetext
Time zone for the supplied times, in Windows or IANA format, for example 'Pacific Standard Time' or 'America/Los_Angeles'. Defaults to UTC.

Outputs

automaticRepliesSettingobject
The updated out-of-office configuration.
Example output
{
  "automaticRepliesSetting": {
    "externalAudience": "all",
    "externalReplyMessage": "I am out of the office until Monday.",
    "internalReplyMessage": "I am out of the office until Monday.",
    "scheduledEndDateTime": {
      "dateTime": "2026-09-28T17:00:00.0000000",
      "timeZone": "UTC"
    },
    "scheduledStartDateTime": {
      "dateTime": "2026-09-21T09:00:00.0000000",
      "timeZone": "UTC"
    },
    "status": "scheduled"
  }
}

Set Focused Inbox override

Always put a sender's email in Focused or in Other for this mailbox.

Inputs

MailboxmailboxtextRequired
The mailbox to act on: a user's email address (userPrincipalName) or Microsoft user ID. Connected by signing in to Microsoft, it's your own mailbox, which the picker offers. Connected with an Entra app of your own, it has to be a mailbox in the same Microsoft 365 tenant the app registration was consented in -- an outside address such as a personal Gmail or outlook.com account is not reachable this way. The picker is populated from the directory when the app has the optional User.Read.All permission; otherwise type the address.
Sender addresssender_addresstextRequired
The sender the override applies to.
Classify asclassify_astextRequired
Where this sender's mail should land.One of: focused, other.
Sender namesender_nametext
Display name for the sender. Optional.

Outputs

classifyAstext
focused or other.
idtext
Override ID.
senderEmailAddressobject
The sender the rule applies to.
Example output
{
  "classifyAs": "focused",
  "id": "98f5bdef-576a-404d-a2ea-07a3cf11a9b9",
  "senderEmailAddress": {
    "address": "samanthab@contoso.com",
    "name": "Samantha Booth"
  }
}

Update calendar

Rename or recolor a calendar, or make it the one new events go to. Only the fields you fill in change.

Inputs

MailboxmailboxtextRequired
The mailbox to act on: a user's email address (userPrincipalName) or Microsoft user ID. Connected by signing in to Microsoft, it's your own mailbox, which the picker offers. Connected with an Entra app of your own, it has to be a mailbox in the same Microsoft 365 tenant the app registration was consented in -- an outside address such as a personal Gmail or outlook.com account is not reachable this way. The picker is populated from the directory when the app has the optional User.Read.All permission; otherwise type the address.
Calendarcalendar_idtextRequired
The calendar, usually picked from the list or from List calendars.
Namenametext
New name for the calendar.
Colorcolortext
The color Outlook shows the calendar in.One of: auto (Automatic), lightBlue (Light blue), lightGreen (Light green), lightOrange (Light orange), lightGray (Light gray), lightYellow (Light yellow), lightTeal (Light teal), lightPink (Light pink), lightBrown (Light brown), lightRed (Light red).
Make defaultis_default_calendartrue/false
Make this the calendar new events go to.

Outputs

canEdittrue/false
Whether the mailbox can add and change events on it.
colortext
The color Outlook shows it in, such as lightBlue or auto.
idtext
Calendar ID.
isDefaultCalendartrue/false
Whether new events land here.
nametext
Calendar name.
ownerobject
Who owns the calendar: name and address.
Example output
{
  "canEdit": true,
  "color": "lightBlue",
  "id": "AAMkAGViNDU3AAAuAAB=",
  "isDefaultCalendar": false,
  "name": "Projects",
  "owner": {
    "address": "alexw@contoso.com",
    "name": "Alex Wilber"
  }
}

Update contact

Change a contact. Only the fields you fill in change.

Inputs

MailboxmailboxtextRequired
The mailbox to act on: a user's email address (userPrincipalName) or Microsoft user ID. Connected by signing in to Microsoft, it's your own mailbox, which the picker offers. Connected with an Entra app of your own, it has to be a mailbox in the same Microsoft 365 tenant the app registration was consented in -- an outside address such as a personal Gmail or outlook.com account is not reachable this way. The picker is populated from the directory when the app has the optional User.Read.All permission; otherwise type the address.
Contactcontact_idtextRequired
The ID of the contact.
Given namegiven_nametext
First name.
Surnamesurnametext
Last name.
Display namedisplay_nametext
Name the contact is shown under. Include it whenever you update other fields, or Outlook may regenerate it.
Email addressesemail_addresseslist
Replaces the contact's email addresses.
Business phonesbusiness_phoneslist
Replaces the contact's business phone numbers.
Mobile phonemobile_phonetext
Mobile phone number.
Job titlejob_titletext
Job title.
Company namecompany_nametext
Company name.
Departmentdepartmenttext
Department.
Office locationoffice_locationtext
Office location.
Personal notespersonal_notestext
Free-text notes about the contact.
Categoriescategorieslist
Categories to assign. Each must already exist in the mailbox's category list.

Outputs

businessPhoneslist
Business phone numbers.
companyNametext
Company name.
displayNametext
Contact display name.
emailAddresseslist
Email addresses.
idtext
Contact ID.
jobTitletext
Job title.
Example output
{
  "businessPhones": [
    "+1 425 555 0109"
  ],
  "companyName": "Contoso",
  "displayName": "Dana Swope",
  "emailAddresses": [
    {
      "address": "danas@contoso.com",
      "name": "Dana Swope"
    }
  ],
  "id": "AAMkAGE1Mjc1YmUwLTIzZjQt",
  "jobTitle": "Operations Lead"
}

Update draft

Change a draft before it's sent: its subject, body, recipients or importance. Recipients you fill in replace the draft's list for that field; fields left blank stay as they are. Only drafts can be changed this way.

Inputs

MailboxmailboxtextRequired
The mailbox to act on: a user's email address (userPrincipalName) or Microsoft user ID. Connected by signing in to Microsoft, it's your own mailbox, which the picker offers. Connected with an Entra app of your own, it has to be a mailbox in the same Microsoft 365 tenant the app registration was consented in -- an outside address such as a personal Gmail or outlook.com account is not reachable this way. The picker is populated from the directory when the app has the optional User.Read.All permission; otherwise type the address.
Draftmessage_idtextRequired
The ID of the draft, usually from Create draft.
Subjectsubjecttext
New subject for the draft.
Bodybodytext
New plain text body. It replaces the draft's body.
HTML bodyhtml_bodytext
Formatted (HTML) version of the body. If provided, it is used instead of the plain text body.
Tototext
Comma-separated list of recipient email addresses.
CCcctext
Comma-separated list of Cc recipients.
BCCbcctext
Comma-separated list of Bcc recipients.
Importanceimportancetext
Importance of the item.One of: low, normal, high.

Outputs

bodyPreviewtext
First 255 characters.
categorieslist
The names of the categories it is tagged with.
ccRecipientslist
Who was copied, in the same form as toRecipients.
conversationIdtext
The conversation it belongs to, shared by every reply in it.
flagobject
Its follow-up flag: flagStatus is notFlagged, flagged or complete.
fromobject
The sender: emailAddress.name and emailAddress.address.
hasAttachmentstrue/false
Attachment present.
idtext
Message ID.
importancetext
low, normal or high.
isDrafttrue/false
Whether it is an unsent draft.
isReadtrue/false
Whether it has been read.
parentFolderIdtext
The folder it is in.
receivedDateTimetext
When it arrived, as an ISO 8601 time in UTC.
sentDateTimetext
When it was sent, as an ISO 8601 time in UTC.
subjecttext
Message subject.
toRecipientslist
Who it was sent to, each with emailAddress.name and emailAddress.address.
webLinktext
Open in Outlook on the web.
Example output
{
  "bodyPreview": "Here are the notes from this morning's planning session...",
  "categories": [
    "Blue category"
  ],
  "ccRecipients": [],
  "conversationId": "AAQkAGI2NGVhZTIyLTAzYzUtNGM3",
  "flag": {
    "flagStatus": "notFlagged"
  },
  "from": {
    "emailAddress": {
      "address": "alexw@contoso.com",
      "name": "Alex Wilbur"
    }
  },
  "hasAttachments": true,
  "id": "AAMkAGI2NGVhZTIyLTAzYzUt",
  "importance": "normal",
  "isDraft": true,
  "isRead": false,
  "parentFolderId": "AQMkAGI2NGVhZTIyAC4AAAA",
  "receivedDateTime": "2026-09-18T14:02:11Z",
  "sentDateTime": "2026-09-18T14:02:05Z",
  "subject": "Q3 planning notes",
  "toRecipients": [
    {
      "emailAddress": {
        "address": "meganb@contoso.com",
        "name": "Megan Bowen"
      }
    }
  ],
  "webLink": "https://outlook.office365.com/owa/?ItemID=AAMkAGI2NGVhZTIy"
}

Update email

Change an email: mark it read or unread, or change its subject, importance, categories or follow-up flag.

Inputs

MailboxmailboxtextRequired
The mailbox to act on: a user's email address (userPrincipalName) or Microsoft user ID. Connected by signing in to Microsoft, it's your own mailbox, which the picker offers. Connected with an Entra app of your own, it has to be a mailbox in the same Microsoft 365 tenant the app registration was consented in -- an outside address such as a personal Gmail or outlook.com account is not reachable this way. The picker is populated from the directory when the app has the optional User.Read.All permission; otherwise type the address.
Emailmessage_idtextRequired
The ID of the email, usually from an earlier step such as List emails or the new email trigger.
Is readis_readtrue/false
Mark the email as read (true) or unread (false).
Subjectsubjecttext
New subject for the email.
Importanceimportancetext
Importance of the item.One of: low, normal, high.
Categoriescategorieslist
Categories to assign. Each must already exist in the mailbox's category list.
Flag statusflag_statustext
Follow-up flag state.One of: notFlagged (Not flagged), flagged, complete.

Outputs

bodyPreviewtext
First 255 characters.
categorieslist
The names of the categories it is tagged with.
ccRecipientslist
Who was copied, in the same form as toRecipients.
conversationIdtext
The conversation it belongs to, shared by every reply in it.
flagobject
Its follow-up flag: flagStatus is notFlagged, flagged or complete.
fromobject
The sender: emailAddress.name and emailAddress.address.
hasAttachmentstrue/false
Attachment present.
idtext
Message ID.
importancetext
low, normal or high.
isDrafttrue/false
Whether it is an unsent draft.
isReadtrue/false
Whether it has been read.
parentFolderIdtext
The folder it is in.
receivedDateTimetext
When it arrived, as an ISO 8601 time in UTC.
sentDateTimetext
When it was sent, as an ISO 8601 time in UTC.
subjecttext
Message subject.
toRecipientslist
Who it was sent to, each with emailAddress.name and emailAddress.address.
webLinktext
Open in Outlook on the web.
Example output
{
  "bodyPreview": "Here are the notes from this morning's planning session...",
  "categories": [
    "Blue category"
  ],
  "ccRecipients": [],
  "conversationId": "AAQkAGI2NGVhZTIyLTAzYzUtNGM3",
  "flag": {
    "flagStatus": "notFlagged"
  },
  "from": {
    "emailAddress": {
      "address": "alexw@contoso.com",
      "name": "Alex Wilbur"
    }
  },
  "hasAttachments": true,
  "id": "AAMkAGI2NGVhZTIyLTAzYzUt",
  "importance": "normal",
  "isDraft": false,
  "isRead": true,
  "parentFolderId": "AQMkAGI2NGVhZTIyAC4AAAA",
  "receivedDateTime": "2026-09-18T14:02:11Z",
  "sentDateTime": "2026-09-18T14:02:05Z",
  "subject": "Q3 planning notes",
  "toRecipients": [
    {
      "emailAddress": {
        "address": "meganb@contoso.com",
        "name": "Megan Bowen"
      }
    }
  ],
  "webLink": "https://outlook.office365.com/owa/?ItemID=AAMkAGI2NGVhZTIy"
}

Update event

Change a calendar event. Only the fields you fill in change.

Inputs

MailboxmailboxtextRequired
The mailbox to act on: a user's email address (userPrincipalName) or Microsoft user ID. Connected by signing in to Microsoft, it's your own mailbox, which the picker offers. Connected with an Entra app of your own, it has to be a mailbox in the same Microsoft 365 tenant the app registration was consented in -- an outside address such as a personal Gmail or outlook.com account is not reachable this way. The picker is populated from the directory when the app has the optional User.Read.All permission; otherwise type the address.
Eventevent_idtextRequired
The ID of the calendar event.
Subjectsubjecttext
New title for the event.
Start date timestart_date_timedate and time
New start time.
End date timeend_date_timedate and time
New end time.
Time zonetime_zonetext
Time zone for the supplied times, in Windows or IANA format, for example 'Pacific Standard Time' or 'America/Los_Angeles'. Defaults to UTC.
Bodybodytext
New plain text description.
HTML bodyhtml_bodytext
Formatted (HTML) version of the body. If provided, it is used instead of the plain text body.
Locationlocationtext
New location.
Attendeesattendeestext
Comma-separated attendee addresses. Replaces the whole attendee list.
Is all dayis_all_daytrue/false
Whether the event lasts all day.
Show asshow_astext
How the time appears to others.One of: free, tentative, busy, oof (Out of office), workingElsewhere (Working elsewhere).
Importanceimportancetext
Importance of the item.One of: low, normal, high.
Categoriescategorieslist
Categories to assign. Each must already exist in the mailbox's category list.

Outputs

attendeeslist
Attendee list.
endobject
End dateTimeTimeZone.
idtext
Event ID.
locationobject
Event location.
onlineMeetingobject
Join information.
startobject
Start dateTimeTimeZone.
subjecttext
Event subject.
webLinktext
Open in Outlook on the web.
Example output
{
  "attendees": [
    {
      "emailAddress": {
        "address": "alexw@contoso.com",
        "name": "Alex Wilbur"
      },
      "type": "required"
    }
  ],
  "end": {
    "dateTime": "2026-09-22T16:00:00.0000000",
    "timeZone": "UTC"
  },
  "id": "AAMkAGViNDU3ZDI4LTZmNzMt",
  "location": {
    "displayName": "Conference room 3"
  },
  "onlineMeeting": {
    "joinUrl": "https://teams.microsoft.com/l/meetup-join/19%3a..."
  },
  "start": {
    "dateTime": "2026-09-22T15:00:00.0000000",
    "timeZone": "UTC"
  },
  "subject": "Q3 planning",
  "webLink": "https://outlook.office365.com/calendar/item/AAMkAGViNDU3ZDI4"
}

On this page