inactive_user_management
This module provides a way to manage inactive users. It sends notifications to inactive users. The module is configurable and light.
Features
If the user is inactive for longer than a specified time, the user will receive a notification via email. The notification and the time between notifications is easy configurable.
Future Features
After the first stable release, the work will begin on adding a feature that allows to automatically deactivate users after a given time. As addition to that there will also be a new feature to automatically delete all deactivated/blocked users, after a given time. Another feature will be an overview page of to who and when notifications were sent as well as who and when was blocked and deleted. (like a report page)
Post-Installation
After installing the module, you need to enable the notification for inactive users in the configuration. Additionally, it is recommended to configure your own message.
The email.html.twig template can be used as usual.
Additional Requirements
The module uses the Drupal Symfony Mailer.
It also requires the Ultimate Cron module. The module is used to configure how often the cron job should run (the default on install is once a day).
Similar projects
There is a similar project, the inactive user workflow module. The mentioned module is providing a workflow for handling inactive users. In the workflow users are first notified and then blocked.
Another similar project provides functionality to block inactive users: Block Inactive Users