Outlook

output.outlook Output v0.1.0

Sends Outlook mail through Microsoft Graph (text or HTML, attachments from binary input), lists messages from a folder with OData filter/search, or fetches one message normalized. Leave the body blank to send the input payload as pretty-printed JSON. Uses a Microsoft OAuth2 credential's access token.

Ports

DirectionPortLabel
InputinputPayload
OutputoutputResult

Properties

PropertyTypeDefaultDescription
Credential
credentialId
credential "" Use a stored credential for this connection — its fields are filled in at run start. Pick "None" to enter the connection details manually.
accepts credential templates: microsoft-oauth2
Access token
accessToken
string "" Microsoft Graph access token — use ${credential.microsoft-oauth2.accessToken}. Empty is allowed here; it must resolve by run time.
Operation
operation
select "sendMail" Send a mail, list messages from a folder, or get one message.
sendMaillistMessagesgetMessage
To
to
string "" Recipient address(es), comma-separated.
Shown when (operation ?? "sendMail") === "sendMail"
Cc
cc
string "" Carbon-copy address(es), comma-separated.
Shown when (operation ?? "sendMail") === "sendMail"
Bcc
bcc
string "" Blind-carbon-copy address(es), comma-separated.
Shown when (operation ?? "sendMail") === "sendMail"
Subject
subject
string "" Subject line.
Shown when (operation ?? "sendMail") === "sendMail"
Body type
bodyMode
select "text" Send the body as plain text or HTML.
texthtml
Shown when (operation ?? "sendMail") === "sendMail"
Body
body
string "" Message body. Leave blank to send the input payload as pretty-printed JSON.
Shown when (operation ?? "sendMail") === "sendMail"
Attachments field
attachmentsField
string "" Dot-path to one attachment or an array of them on the input — binary blobs, base64 envelopes, or { name, contentType, data } objects. Leave blank for none.
Shown when (operation ?? "sendMail") === "sendMail"
Save to Sent Items
saveToSentItems
boolean true Keep a copy in the mailbox's Sent Items folder.
Shown when (operation ?? "sendMail") === "sendMail"
Folder
folder
string "" Well-known folder name (inbox, sentitems, drafts, …) or a folder ID. Leave blank for all messages.
Shown when operation === "listMessages"
Filter ($filter)
filter
string "" OData filter, e.g. isRead eq false. Graph forbids combining it with Search.
Shown when operation === "listMessages"
Search ($search)
search
string "" Full-text search, e.g. from:boss subject:numbers — quoted automatically. Graph forbids combining it with Filter.
Shown when operation === "listMessages"
Page size
top
int 50 Messages per page (max 1000). Without Return all, this is also the output cap.
Shown when operation === "listMessages"
Return all
returnAll
boolean false Follow @odata.nextLink until every match is returned.
Shown when operation === "listMessages"
Message ID
messageId
string "" The Graph message ID to fetch (from a list result).
Shown when operation === "getMessage"
Base URL
baseUrl
string "" Microsoft Graph base URL (override for testing; also NINER_MSGRAPH_API_BASE). Blank = https://graph.microsoft.com.
Timeout (ms)
timeoutMs
int 30000 Abort each API request after this many milliseconds.

This page is generated from the node registry by gen-node-docs.mjs on every site build — ports, properties, defaults and visibility rules cannot drift from the code.