Customize message for user deactivation emails
Proposal
An automatic user notification email is sent when a user is deactivated. To provide the option to customize the deactivated email message sent.
This is similar to Custom additional text feature for email but for the deactivated email.
Why is this important to the customer?
They have an automated script that deactivates users after a predefined period of inactivity. When GitLab sends the automatic notification to user upon deactivation, quite often users are not clear what happened and are unclear what they need to do/how they are affected.
In the email content customization, customers can mention why the user account is deactivated and how they can reactivate it, if necessary.
Implementation guide
- How do we store the
🆕 setting in database?- Do we need to constraint the text size? See Application Limits.
- How do we expose this setting by backend to frontend?
- Where is the setting shown in the frontend? (Main menu > Admin > Settings > Preferences).
--> Yes, looping in @nickleonard for input, but that should be the right place consistent with custom text - Do we need to test this feature behind a feature flag?
--> Yes, please see examples and the docs on usage. A GitLab team member can assist with rolling the feature out if needed - Where should be this feature be documented?
--> Docs would likely belong here with addition information about custom deactivation email content and the text length constraint similar to custom text
Edited by Adil Farrukh