Email groups
An email group is a named distribution list, for example alerts-leadership. Notification rules can be wired to a group so every member receives the alert without each person subscribing individually.
Page: Admin -> Email Groups (/admin/email-groups) · Role required: admin
Create a group
- Go to Admin -> Email Groups.
- Click Add Group.
- Enter a name and an optional description.
- Click Create.
Manage members
- Click the members icon on the group row.
- In the modal, the left side lists Add Member (people not yet in the group) and the right side lists Current Members.
- Click a person to add them.
- Click the X next to a member to remove them.
Only people who exist in People can be added.
Edit or delete a group
- Edit: pencil icon, change the name or description, then Update.
- Delete: trash icon, then confirm. Any rule subscriptions pointing at the group stop fanning out.
Send alerts to a group
Fanning a rule out to a group is done through the notifications API. There is no dedicated admin screen for it today: point a group subscription at a rule with
curl -s -X POST "$API/api/v1/notifications/admin/group-subscriptions" \
-H "Authorization: Bearer $ADMIN_TOKEN" \
-H 'content-type: application/json' \
-d '{
"rule_key": "ops.pacing_below_forecast",
"email_group_id": "<group id>",
"channels": ["email", "slack"]
}'
When the rule fires, UnitOps creates one delivery per group member in addition to the individually subscribed users. Group fan-out respects the same cooldown as direct subscribers, so a member who is also individually subscribed gets one message, not two.