Zum Inhalt springen
DeutschlandGPT

Outlook Email

Send and manage emails through Outlook, including shared mailboxes and scheduled sends

Send, schedule, forward, and search emails from your Outlook account, including shared mailboxes.

Authentication: OAuth 2.0. Connect your Microsoft account on the integrations page.

Triggers

New Email

Fires when a new email arrives in your inbox.

OutputTypeDescription
idstringMessage ID
subjectstringEmail subject
fromstringSender address
receivedAtstringReceived timestamp
snippetstringMessage preview

Fires when a new email arrives matching a search filter.

OutputTypeDescription
idstringMessage ID
subjectstringEmail subject
fromstringSender
receivedAtstringReceived timestamp

New Email in Shared Mailbox

Fires when a new email arrives in a shared mailbox you have access to.

OutputTypeDescription
idstringMessage ID
subjectstringEmail subject
fromstringSender
mailboxstringShared mailbox address

New Email in Folder

Fires when a new email arrives in a specific folder.

OutputTypeDescription
idstringMessage ID
subjectstringEmail subject
fromstringSender
folderIdstringFolder ID

Actions

Send Email

Sends an email from your Outlook account.

InputRequiredDescription
ToYesRecipient(s)
CCNoCC recipients
BCCNoBCC recipients
SubjectYesSubject line
BodyYesEmail body
Body FormatNoplain or html
AttachmentsNoFiles to attach

Create Draft

Creates a new draft in your mailbox without sending it, optionally with files attached (up to 3 MB per file).

InputRequiredDescription
ToYesRecipient(s)
SubjectYesSubject line
BodyYesEmail body
AttachmentsNoFiles to attach, up to 3 MB each

Send from Shared Mailbox

Sends an email on behalf of a shared mailbox.

InputRequiredDescription
Mailbox AddressYesThe shared mailbox to send from
ToYesRecipient(s)
SubjectYesSubject
BodyYesBody content

Schedule Email

Schedules an email to be sent at a future time.

InputRequiredDescription
ToYesRecipient
SubjectYesSubject
BodyYesBody
Send AtYesISO 8601 datetime to send the email

Reply to Email / Create Draft Reply

Creates a draft reply in an email thread.

InputRequiredDescription
Message IDYesID of the message to reply to
BodyYesReply text

Forward Email

Forwards a message to a new recipient.

InputRequiredDescription
Message IDYesMessage to forward
ToYesForwarding recipient

Get Email

Retrieves a specific email by ID, with the list of its attachments. In a workflow the attachments are also stored as files; in the chat they are listed by name, type and size, and Get Attachment downloads one.

InputRequiredDescription
Message IDYesOutlook message ID
FieldsNoOnly these properties, comma-separated (for example subject,from,isRead)
Body FormatNotext for the body as plain text, html (default) as Outlook stores it
OutputTypeDescription
emailobjectFull email object

Get Attachment

Downloads one attachment of an email as a file, for example a PDF to pass on to another node or to read in the chat. Use the message ID and the attachment ID from Get Email. An attached email arrives as an .eml file. Files up to 100 MB.

InputRequiredDescription
Message IDYesThe email
Attachment IDYesThe attachment, as Get Email listed it
Shared Mailbox OwnerNoAddress of the shared mailbox, if applicable
OutputTypeDescription
fileWorkflowFileThe attachment
namestringFile name
contentTypestringMIME type
sizenumberSize in bytes

Add Attachment to Draft

Attaches files to an existing, unsent draft, for example one Create Draft made earlier. Files up to 3 MB each. Nothing is sent.

InputRequiredDescription
Draft IDYesThe draft
AttachmentsYesOne file or a list of files
Shared Mailbox OwnerNoAddress of the shared mailbox, if applicable

Mark, Flag or Categorize Email

Marks an email read or unread, sets or clears its follow-up flag, sets its categories or its importance. Fields you leave empty stay as they are.

InputRequiredDescription
Message IDYesThe email
ReadNotrue read, false unread
Follow-up flagNoflagged, complete or notFlagged
CategoriesNoComma-separated; replaces the current categories
ImportanceNolow, normal or high

Move Email

Moves an email to a different folder.

InputRequiredDescription
Message IDYesMessage to move
Destination Folder IDYesTarget folder ID

Set Automatic Replies

Turns your own out-of-office note on, schedules it for a period, changes it or turns it off. While it is on, Outlook answers incoming emails in your name, and Teams shows you as out of office. It only works for your own mailbox.

This action needs the permission Manage the out-of-office note, which a connection does not get by default. Connect Outlook with Connect with selected permissions and switch it on (see Choose permissions when connecting). Depending on your organisation's Microsoft settings, an administrator has to approve it first.

InputRequiredDescription
StatusYesscheduled (for a period), alwaysEnabled (on until turned off) or disabled (off)
StartNoStart of the period, e.g. 2026-12-21T08:00:00. Required for scheduled
EndNoEnd of the period; must be in the future. Required for scheduled
Time ZoneNoTime zone of start and end, e.g. Europe/Berlin. Empty: the mailbox's time zone
Body FormatNoplain, markdown or html
Reply to ColleaguesNoNote for senders inside your organisation. Empty: keep the current one
Reply to External SendersNoNote for senders outside your organisation. Empty: keep the current one
External SendersNoall, contactsOnly or none. Empty: keep the current setting

Your organisation's email settings apply: where sending emails is switched off, the note can be turned off but not on.

Get Automatic Replies

Reads your current out-of-office note: status, period and both reply texts. Needs no extra permission.

OutputTypeDescription
statusstringdisabled, alwaysEnabled or scheduled
scheduledStartDateTimestringStart of the period
scheduledEndDateTimestringEnd of the period
scheduledTimeZonestringTime zone of start and end
internalReplyMessagestringNote for colleagues (HTML)
externalReplyMessagestringNote for external senders (HTML)
externalAudiencestringWhich external senders get the note

List Folders

Returns all mail folders in the account.

OutputTypeDescription
foldersarrayFolder objects with id, displayName

Search Own Emails / Search Shared Emails

Searches or lists your mailbox or a shared mailbox. Search Own Emails can be limited to one folder, by its ID or by name (inbox, drafts, sentitems, deleteditems, archive, junkemail), and returns its results page by page: pass nextPageToken as Page Token for the next page.

InputRequiredDescription
QueryNoSearch query string
Folder IDNoA folder ID or a folder name such as sentitems
Page TokenNonextPageToken of the previous call
OutputTypeDescription
emailsarrayMatching email objects
nextPageTokenstringFor the next page; empty on the last one
hasMorebooleanWhether there is a next page
Was this page helpful?