activities
latest
false
UiPath logo, featuring letters U and I in white

Productivity activities

Last updated Mar 13, 2026

Set Email Categories

UiPath.MicrosoftOffice365.Activities.Mail.SetEmailCategoriesConnections

Description

Assigns categories to an email.

Scopes

This activity requires the following scopes:

  • Mail.ReadWrite

OR

  • Mail.ReadWrite.Shared

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 - By default, the value is set to Off. Set the toggle to On, if you want to use a shared mailbox. When you enable this option, the following field becomes visible:
    • Shared mailbox - The email address of a user or shared mailbox. This field supports input of type String.
  • Email - The email to associate with the specified categories. This field accepts Office365Message variables. Use the See more button menu to use a variable as the input mode.
  • Categories to assign - The categories to add to the email. Select one or more categories from the available drop-down list.
  • Categories to remove - The categories to remove from the email. Select one of the following: None, All, or Specific.
Note:

For more details on the plus menu options, check Designing automations.

Example

docs image

For more details, also check the following resources:

  • Description
  • Scopes
  • Project compatibility
  • Configuration
  • Example

Was this page helpful?

Connect

Need help? Support

Want to learn? UiPath Academy

Have questions? UiPath Forum

Stay updated