(E-mail) notifications for service accounts
Background
So when a project access token is added, a bot user is created for it. When interacting using API with the project, actions are associated with the user. Now, some actions have potential (e-mail) notifications. But those notifications are currently not routed to project maintainers (to my knowledge and understanding). Example: creating a scheduled pipeline makes the bot user owner of the scheduled pipeline. If that pipeline fails, who gets notified? To me it looks like nobody.
So I would like to propose that users can subscribe to bot users (or access tokens) and get notifications for them.
Proposal
Send email notification to all group owners and admins when service account expiry is near. Follow the same notification patterns used for project, personal, and group access tokens.