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
| Direction | Port | Label |
|---|---|---|
| Input | input | Payload |
| Output | output | Result |
Properties
| Property | Type | Default | Description |
|---|---|---|---|
CredentialcredentialId | 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 tokenaccessToken | string | "" | Microsoft Graph access token — use ${credential.microsoft-oauth2.accessToken}. Empty is allowed here; it must resolve by run time. |
Operationoperation | select | "sendMail" | Send a mail, list messages from a folder, or get one message. sendMaillistMessagesgetMessage |
Toto | string | "" | Recipient address(es), comma-separated. Shown when (operation ?? "sendMail") === "sendMail" |
Cccc | string | "" | Carbon-copy address(es), comma-separated. Shown when (operation ?? "sendMail") === "sendMail" |
Bccbcc | string | "" | Blind-carbon-copy address(es), comma-separated. Shown when (operation ?? "sendMail") === "sendMail" |
Subjectsubject | string | "" | Subject line. Shown when (operation ?? "sendMail") === "sendMail" |
Body typebodyMode | select | "text" | Send the body as plain text or HTML. texthtml Shown when (operation ?? "sendMail") === "sendMail" |
Bodybody | string | "" | Message body. Leave blank to send the input payload as pretty-printed JSON. Shown when (operation ?? "sendMail") === "sendMail" |
Attachments fieldattachmentsField | 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 ItemssaveToSentItems | boolean | true | Keep a copy in the mailbox's Sent Items folder. Shown when (operation ?? "sendMail") === "sendMail" |
Folderfolder | 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 sizetop | int | 50 | Messages per page (max 1000). Without Return all, this is also the output cap. Shown when operation === "listMessages" |
Return allreturnAll | boolean | false | Follow @odata.nextLink until every match is returned. Shown when operation === "listMessages" |
Message IDmessageId | string | "" | The Graph message ID to fetch (from a list result). Shown when operation === "getMessage" |
Base URLbaseUrl | 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.