# Procedurally nullify notifications for a group

**URL:** <https://meta.discourse.org/t/procedurally-nullify-notifications-for-a-group/291976>\
**Category:** Product Support\
**Tags:** notifications\
**Created:** [January 17, 2024, 5:37pm UTC](https://meta.discourse.org/t/procedurally-nullify-notifications-for-a-group/291976 "2024-01-17T17:37:19Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![Frully](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/frully/32/235059_2.png) [@Frully](https://meta.discourse.org/u/Frully)\
**Post date:** [January 17, 2024, 5:37pm UTC](https://meta.discourse.org/t/procedurally-nullify-notifications-for-a-group/291976/1 "2024-01-17T17:37:19Z")

</div>

TLDR: Feb 2024 Google is changing their acceptable spam ratio to 0.3%. I want to reduce outbound email volume to avoid getting flagged. (3 spam flags/1000 emails will get your domain blacklisted). I need to procedurally change ‘watching first post’ for certain groups.

My nonprofit is a physical organization that uses discourse to facilitate member/community engagement. In particular, we opt new members into mandatory notifications regarding our organization (meeting agendas, votes, and critical updates. We’re legally allowed and obligated to send these emails).

- Currently: Our member portal adds new discourse users via API, and assigns them to ‘current\_members’ group so long as they are in good standing.
- Current members’ group is set to Categories: Watching First Post: Official Announcements.

So far so good.

- When they quit/expire, we (api) move them to ‘former\_members’ for a variety of permissions. When members expire/quit/etc, we keep their account active as a ‘public non member’ permission level so they can still engage with the community.
- Goal: Remove the watch-first-post elective on group-add.

> **Screenshots**
>
> ![Former Member Group Settings](https://global.discourse-cdn.com/meta/original/4X/5/3/3/53344e4f93ffa0adcfdbd7eea6e53e90dfa4c723.png)  
> Group settings assign no watch.
> 
> ![Example Former Member](https://global.discourse-cdn.com/meta/original/4X/b/c/d/bcd2a88f2e055fff715339a5b172cdc4a590850c.png)  
> Group member still has watch.

- Moving to a group seems only to be additive. Is there a way to designate ‘remove’ tracking based on group add?
- Is there a way to remove track settings that were added by group membership? (ie on group leave, undo whatever was added).

Alternatively, we could use @ tagging, but it would super easy to accidentally abuse. Having the groups manage the notification level would be easiest.

---

_[View the full topic](https://meta.discourse.org/t/procedurally-nullify-notifications-for-a-group/291976)._
