Select who should or not receive email notifications

Hi everyone,
First of all, I would like to congratulate the team behind the development and improvement of this great tool.
I’m quite new in this versioning world and I’m trying to customize our self-hosted gitea server. Unfortunately, in our company is impossible to use webhooks (company Microsoft Teams limitations) I was looking to configure the mail notifications but I could not find how can I select who should or not receive notifications. Today all members of my team receive all notifications even when they are not concerned, simply because they belong to the same team configured for the repo. I googled it for a moment but I could not find how to do it and in my opinion, it could be a great feature. Imagine giving the possibility to send notifications only for the assigned users or for the owners.

Thanks

1 Like

Seems there is no frontend bulk notification management. Each user has to Unwatch each repo.

It can be done in database watch table. mode is defined here.

For example to delete all watches (notifications) for all users on all repos:

delete from watch;

This was useful in my case where 50+ repos were created and by default all users were set as watching (which they didn’t want). To disable this set AUTO_WATCH_NEW_REPOS to false in app.ini (before creating repos).