Outlook Read Email

Estimated reading: 2 minutes

The Outlook Read Email component connects to a Microsoft Outlook service account mailbox and retrieves email messages along with their metadata, including sender information, recipient details, subject, body content, received date/time, attachment information, and message status for further processing or automation.

Important: Requires valid Microsoft Outlook/Microsoft 365 credentials for the service account mailbox, with permission to read emails. To enable connectivity, use the provided link to connect  Robility AI™.

Parameters

Parameter Description
Username Email address of the mailbox to connect to (for example, user@domain.com).
Folder Name Mail folder to read from (for example, Inbox). Accepts a literal folder name or a global variable. Default: Inbox.
Email Count Maximum number of emails to retrieve per run. Default: 10.
Unread Only If enabled, retrieves only unread emails. If disabled, retrieves all emails in the selected folder. Default: Off.
Save Attachments If enabled, downloads and includes email attachments in the output. If disabled, attachments are skipped. Default: Off.
Mark as Read If enabled, marks retrieved emails as read after fetching. If disabled, the read/unread status remains unchanged. Default: On.
Timeout (Seconds) Maximum wait time for the mailbox connection and email retrieval before the operation times out. Default: 30 seconds.
Retry Count Number of automatic retry attempts if email retrieval fails. Default: 1.
Delay Between Retries (Seconds) Wait time between consecutive retry attempts. Default: 1 second.
Delay Before Execution (Seconds) Time to wait before the component starts processing. Default: 0 seconds.
Delay After Execution (Seconds) Time to wait after the component finishes processing. Default: 0 seconds.
Continue on Error Determines the behavior when an unrecoverable error occurs:
  • Stop Workflow – Halts workflow execution.
  • Continue – Skips this step and continues without passing the error downstream.
  • Continue Using Error Output – Continues execution and routes the error details through the error output handle.
Tip
For large mailboxes, increase the Timeout value and keep the Email Count moderate to avoid slow or failed executions.

Output

Field Description
Emails JSON array of retrieved emails. Each email object contains the complete email details, including the email ID, subject, sender, recipients, received date and time, read status, body content, and attachment metadata (if Save Attachments is enabled).
Share this Doc

Outlook Read Email

Or copy link

CONTENTS
Robility Chatbot
Robility Assistant
Online