You keep the sorting rules in Google Sheets, and the scenario applies them to почта on a schedule: labelling, clearing the inbox and reporting to Slack.