diff --git a/environments/template/group_vars/template.yml b/environments/template/group_vars/template.yml index 0512e06fc..5093e0f92 100644 --- a/environments/template/group_vars/template.yml +++ b/environments/template/group_vars/template.yml @@ -420,6 +420,7 @@ myconext: feature_id_verify: true feature_remote_creation_api: true feature_mail_institution_mail_usage: true + feature_mail_inactivity_mails: true feature_nudge_app_mail: true feature_send_js_exceptions: true feature_deny_disposable_email_providers: true diff --git a/environments/vm/group_vars/vm.yml b/environments/vm/group_vars/vm.yml index ad0cb3160..1ed11a8a1 100644 --- a/environments/vm/group_vars/vm.yml +++ b/environments/vm/group_vars/vm.yml @@ -311,6 +311,7 @@ myconext: feature_id_verify: true feature_remote_creation_api: true feature_mail_institution_mail_usage: true + feature_mail_inactivity_mails: true feature_nudge_app_mail: true feature_send_js_exceptions: true feature_deny_disposable_email_providers: true diff --git a/roles/myconext/templates/application.yml.j2 b/roles/myconext/templates/application.yml.j2 index 4b180a428..66ac68c53 100644 --- a/roles/myconext/templates/application.yml.j2 +++ b/roles/myconext/templates/application.yml.j2 @@ -61,6 +61,8 @@ cron: nudge-app-mail-expression: "0 30 6 * * ?" # Number of days after creation of the eduID account which the nudge mail is send nudge-app-mail-days-after-creation: 14 + # Every day at 7:30AM + inactivity-users-expression: "0 30 7 * * ?" manage: username: myconext @@ -111,6 +113,8 @@ feature: send_js_exceptions: {{ myconext.feature_send_js_exceptions }} # Do we periodically mail users who have used their institution account mail_institution_mail_usage: {{ myconext.feature_mail_institution_mail_usage }} + # Do we periodically mail users who are inactive and might have their account deleted + mail_inactivity_mails: {{ myconext.feature_mail_inactivity_mails }} # Do we mail users who have not installed the eduID app nudge_app_mail: {{ myconext.feature_nudge_app_mail }}