Gitea is not sending Notifications

I had to deactivate the service because the notifications spam all users (I’m looking for a better configuration if you have a track)

Feel really free to deactivate this for all your users

The challenge with deactivate this for all your users is that, the users who do need email notification can not access this feature. In other words, this resolve a challenge. While at the same time, it results in another challenge.

To resolve this challenge above, instead of deactivating email notification for all users, I suggest educating them. Then, letting each user decide if they need email notification or not.


Below is the same suggestion as above. But with details if you’re interested in those.

If you’re not familiar with allowing each user to decide if they need email notification or not, I suggest those three steps:

Steps:

  1. Educate(a) all users about their Your primary email address will be used for notifications and other operations field

  2. As Admin, set ENABLE_NOTIFY_MAIL = true

  3. When a user complains that he/she is spam by unsolicited email notifications. Remind that user about the step 1 above. In other words, re-educate this user. You can expect some users, in good faith, will need multiple reminders. I suggest to also communicate to them that they have control over their configuration. That you, as Admin, it is not sustainable to manually configuring this for all users. In other words, this one time configuration is per user. It’s just an easy button each user need to click on to configure to their liking.

Legend:

(a) By “educate” above, I mean, using your own words, communicate this to all your users:

  1. Starting today, a new feature is available. Which allows you to configure the email notification to your liking. Including only Email on mention, Enable, or fully Disable Email Notification, and other options. By default, email notification is Enable for all users. To change this present Enable configuration, you simply need to click on a button in your Settings page. To find this button, the steps are below.

  2. Navigate to Profile and Settings… menu —> Settings option —> Manage Email Addresses group —> Your primary email address will be used for notifications and other operations. field. Choose any option to your liking. If unsure, set to Only Email on Mention. Which means that email notification are deactivated. Unless someone manually mentioned your name into a comment. This screenshot shows this field.

  3. Optionally, after you did the configuration above, configure your email notification per issue/ticket. Using any ticket, click on this Notifications toggle button.