Email Sent
UiPath.MicrosoftOffice365.Activities.Mail.Triggers.EmailSent
Description
Initiates an automation workflow when an email is sent in Outlook.
Scopes
This activity requires the following scopes:
- Mail.Read AND User.Read
OR
- Mail.ReadWrite AND User.Read
OR
- Mail.Read.Shared AND User.Read
OR
- Mail.ReadWrite.Shared AND User.Read
OR
- Mail.Read AND User.ReadWrite
OR
- Mail.ReadWrite AND User.ReadWrite
OR
- Mail.Read.Shared AND User.ReadWrite
OR
- Mail.ReadWrite.Shared AND User.ReadWrite
Project compatibility
Windows | Cross-platform
Configuration
- Microsoft Outlook 365 connection - The connection for the Microsoft 365 account to use in the activity.
- Use shared mailbox - Set the toggle to On if you want to use a shared mailbox. Default value is Off.
- Shared mailbox - The email address of a user or shared mailbox. This field supports String type input.
- Filter - Additional criteria to filter the email that is sent. Supports filtering on the following fields: BCC, Body, CC, Category, From, Importance, Subject, To, Type.
Additional options
Options
- With attachments only - Boolean value. Set the toggle to On to only consider emails that have attachments.
- Include attachments - Boolean value. Set to
Trueif the email passed to other activities should contain attachments.
Output
- Email - The sent email. Automatically generated output variable. You can use it as it is or save it with a different name. You can use this in other activities, such as Download Email Attachments.
- Job Data - Contains job info, such as Process name, Process version, Workflow name, Robot name, and mode of execution.
Example
