Rule Action Type
The action type for a Nylas rule. Note: BLOCK is terminal and cannot be combined with other actions.
Entries
Link copied to clipboard
Delivers the message to the spam/junk folder.
Link copied to clipboard
Moves the message to a folder. Requires RuleAction.value to be set to the folder ID.
Link copied to clipboard
Marks the message as read.
Link copied to clipboard
Marks the message as starred/flagged.
Properties
Functions
Link copied to clipboard
Link copied to clipboard
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
Link copied to clipboard
Returns an array containing the constants of this enum type, in the order they're declared.