How to configure mail notifications in jenkins for deleting a folder

I want a mail/slack notification to be triggered whenever i delete a folder/job in jenkins. Can anyone please help me on how to configure this feature in jenkins 2.150.2