Send an Outlook.com email
Input
to requiredRecipient email address, e.g. [email protected]
body optionalPlain text body of the message. Give a subject, a body, or both — a message with neither cannot be identified in Sent Items afterwards, so the send could not be confirmed.
subject optionalSubject line. Give a subject, a body, or both — a message with neither cannot be identified in Sent Items afterwards, so the send could not be confirmed.
attachment optionalOptional file to attach. From an agent: files: { attachment: { relativePath: "invoice.pdf" } }, a name inside the reduck folder on the Desktop. From the CLI: file:attachment=/path/to/file. Omit it to send without an attachment.
sentFolder optionalName of a folder, as shown in your folder list, to confirm the message in instead of the mailbox's own sent-mail folder. Omit it to use the sent-mail folder, in any language.
attachmentName optionalFilename the recipient sees, with its extension (e.g. 'invoice.pdf'). Defaults to the file's own name, which a file named by relativePath keeps. Pass it when sending bytes from the CLI, where the file otherwise arrives named 'attachment'.
Output
to requiredsent requiredTrue only when the message was found in Sent Items afterwards. Never inferred from the Send click.
subject requiredbody optionalsentId optionalRow id of the message in Sent Items.
composed optionalWhat the composer held just before sending. Separates a fill failure from a send failure.
attachment optionalThe filename the attachment was sent under, when one was attached; null otherwise.
unsentReason optionalconfirmationDialog optionalWhether Outlook asked for confirmation before sending, as it does for a message with no subject, or for one whose text mentions an attachment that is not attached. It is confirmed automatically; the message is sent either way.
