Notification option when creating users


I have to create a large number of users who will have to be notified each time a file is added to the folder that is shared to them. How to put this basic notification option when creating users? If it is one of the *.php files present in the Nextcloud installation folder that needs to be modified, what is it and where is it?

In advance thank you for your help,