Skip to main content
outlook.setMessageCategories replaces the entire message category list. It doesn’t merge with existing categories.
automations/categorize-outlook-message.automation.ts
Required messageId identifies the message and categories: string[] is the complete replacement. Pass [] to clear categories. Optional second argument { account } selects the binding. Returns the updated normalized OutlookMessage.