Skip to main content
Lists the persistent mail rules with their ids, names, enabled state, matching conditions, ordered actions, and creation/modification times. Use it to answer “what rules do I have?”, to find the id for update_mail_rule or delete_mail_rule, or to check for an existing similar rule before creating a new one.

Parameters

None.

Example

Result
With no rules configured the result is No mail rules configured. Create one with create_mail_rule (preview_mail_rule to dry-run it first).