Skip to main content
Microsoft 365

Outlook Mail

Send and manage Outlook email from the agent.

Outlook Mail

Lets the agent find, read, send, move and delete email in Outlook. It requires a Microsoft 365 connection configured in the workspace.

The available operations

When you add this tool, choose which operations the agent is allowed to perform.


Find email

Searches the Outlook mailbox by text.

ParameterRequiredDefaultWhat it is
QueryYesThe text to search for (subject, sender, body and so on). It supports filters such as from:example@email.com, subject:report, isread:false
FolderNoThe folder to search (inbox, sentitems, drafts). Omitted, it searches all mail
Maximum resultsNo10How many messages to return at most

Get an email

Returns one message's details by its ID.

ParameterRequiredDefaultWhat it is
Email IDYesThe unique ID of the message
Include the bodyNotrueWith true, the full body comes back with it

Send an email

Sends a message from the connected Outlook account.

ParameterRequiredDefaultWhat it is
SubjectYesThe message's subject
BodyYesThe message's content
Body typeNotextThe body's format: text (plain) or html
RecipientsYesThe main recipients, with an email and optionally a name
CCNoThe recipients to copy
BCCNoThe recipients to blind-copy
Reply-toNoThe addresses replies should go to
ImportanceNonormalThe message's importance: low, normal or high
Save to Sent ItemsNotrueWith true, the sent message is saved to Sent Items

Move an email

Moves a message to a different folder.

ParameterRequiredDefaultWhat it is
Email IDYesThe unique ID of the message to move
Destination folder IDYesThe destination folder's ID or name (inbox, drafts, sentitems, deleteditems, junkemail)

Delete an email

Removes a message from the mailbox.

ParameterRequiredDefaultWhat it is
Email IDYesThe unique ID of the message to remove
caution

This deletes the message permanently, with no way to recover it. To move it to the bin instead, use Move an email with the deleteditems folder.