Hi Issa,
Catalyst IT have built a plugin called Reengagement that will do what you're describing. You can read up on it here: https://docs.moodle.org/37/en/Reengagement_activity
Have a chat to your Totara partner to help ensure that it will meet your needs.
Once installed, you can add it to a course like any other activity.
Cheers,
Lisa