OpenConext / OpenConext-myconext

A (guest) IdP for OpenConext
https://eduid.nl/
5 stars 8 forks source link

Notify users for account deprovisioning #606

Open peterclijsters1 opened 2 months ago

peterclijsters1 commented 2 months ago

Accounts need to be deprovisioned after 5 years of inactivity.

We want to mail the user to make them aware of this.

Mail users in set intervals. This mail needs to be send after inactivity of: [template 1]

There should be 2 different templates. The first placeholder for both these email templates can be: "Hey {roepnaam}, You didn't use your account for {account not used}. Your account will be deleted within {account deleted time =" 3 days"}, on {account delete date = 24 October 2024}. Go to eduid.nl and login to keep your account active. Kind regards, eduID"

The e-mail template should have a "time" variable. The e-mail template should be in 2 languages. These templates should be separate from the language files shared in Localicious.

User without last login date can be seen as last login on 24 Januari 2023.

This nudge can be done every day at 7:00 UTC. And only once per user, so they do not get this e-mail every day for a year ;).