MailManagerRuleSetRule

data class MailManagerRuleSetRule(val actions: List<Any>, val conditions: List<Any>? = null, val name: String? = null, val unless: List<Any>? = null)

Constructors

Link copied to clipboard
constructor(actions: List<Any>, conditions: List<Any>? = null, name: String? = null, unless: List<Any>? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The list of actions to execute when the conditions match the incoming email, and none of the "unless conditions" match.

Link copied to clipboard
val conditions: List<Any>? = null

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"

Link copied to clipboard
val name: String? = null

The user-friendly name of the rule.

Link copied to clipboard
val unless: List<Any>? = null

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.