Cloud Pipeline shall check the list of users who are blocked or "IDLE" for a long period of time. This shall allow to remove their data to minimize the storage costs and block those users, who are already not using the platform
Two checks shall be performed:
Users who are "IDLE" - did not login for a N days (included those, who never logged)
Users who are Blocked for M days
Users who are members of the group, which is Blocked for M days
N and M shall be configurable via preferences
This check shall be performed on a scheduled basis. Schedule shall be configurable via preferences
If any users match the "IDLE/Blocked" criteria - a email notification shall be sent. Introduce a new email notification type, which shall support adding a list of the users as a table to the email body.
This table shall contain the following information: