Rule
¶
Source code in docs_src/capo_mailmanager/types/rule.py
actions
instance-attribute
¶
actions: RuleActions
The list of actions to execute when the conditions match the incoming email, and none of the "unless conditions" match.
conditions
instance-attribute
¶
conditions: NotRequired[RuleConditions]
The conditions of this rule. All conditions must match the email for the actions to be executed. An empty list of conditions means that all emails match, but are still subject to any "unless conditions"
unless
instance-attribute
¶
unless: NotRequired[RuleConditions]
The "unless conditions" of this rule. None of the conditions can match the email for the actions to be executed. If any of these conditions do match the email, then the actions are not executed.