A maintenance job runs as an administrator, but the records belong to accounts with different retention periods. Using the operator's settings for every record can remove data too early or keep it too long.
Resolve the owner first
Link each retained record to its account through the application's established ownership model. Determine the applicable policy from that account and the relevant data type. Keep unknown ownership separate instead of guessing a short retention period.
Distinguish historical data from active work. A pending send or unfinished verification job should not disappear simply because its creation date crossed a general archive threshold.
Test the policy matrix
Use fictional accounts representing each supported plan and data category. Include a plan change, an expired subscription, an active job and a record with missing ownership. Verify the intended outcome before running cleanup against production data.
Keep a small audit of counts, policy versions and exceptions. Avoid duplicating the deleted personal data in an unrestricted cleanup log, which would undermine the purpose of retention.
A retention rule needs an owner, a data type and a lifecycle state. Age alone is not enough context for a safe deletion decision.