ruleId and creation time stay stable, modified is bumped. Only the provided fields change; conditions and actions replace the current ones wholesale when given. Optionally applies the updated rule to existing mail with the same policy (and large-backfill confirmation) as create_mail_rule.
Parameters
The rule’s id, as returned by
create_mail_rule or listed by list_mail_rules.Optionally apply the updated rule to existing mail (
mode, scope, confirmLargeApply) after saving.Example
Call
Result
Errors
No mail rule with id <ruleId>. Use list_mail_rules to see the current rules and ids.- A denied large backfill updates nothing — re-call with
existingMail.confirmLargeApply: trueafter confirming with the user.