How to tune to push email service to specific files in a repo


we have a requirement where we need to trigger an email when certain config file in a repo got changed, i see enablling emails on push in integrations, but it’s at the repo level, can have it enabled on a specific files or folders. Please share your thoughts on how to approach it.