How to disable creating addtional accounts/identities base on code commits

I’m using Jenkins, the latest version 2.504.3, together with Active Directory plugin and Folder Owners.
By default Jenkins creates additional accounts in /users/ based on code commits used to send emails.
Over the years, employees leave, emails change. Unfortunately, the existing local SMTP relay will be disabled and I want to avoid sending emails to non-existent accounts or email from outside the company in general. Is this possible?

What SCM are you using? If you are using Git, there is a config option in the Global Config for Jenkins that allows you to disable accounts being created.