Skip to main content
Roberty Studio
AIMicrosoft 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
QueryYes—The text to search for (subject, sender, body and so on). It supports filters such as from:example@email.com, subject:report, isread:false
FolderNo—The 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 IDYes—The 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
SubjectYes—The message's subject
BodyYes—The message's content
Body typeNotextThe body's format: text (plain) or html
RecipientsYes—The main recipients, with an email and optionally a name
CCNo—The recipients to copy
BCCNo—The recipients to blind-copy
Reply-toNo—The 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 IDYes—The unique ID of the message to move
Destination folder IDYes—The destination folder's ID or name (inbox, drafts, sentitems, deleteditems, junkemail)

Delete an email​

Removes a message from the mailbox.

ParameterRequiredDefaultWhat it is
Email IDYes—The 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.