Send email notifications for unseen messages #117

Closed
opened 2026-04-07 00:18:48 +00:00 by talksik · 0 comments
talksik commented 2026-04-07 00:18:48 +00:00 (Migrated from github.com)

We need to notify people who were inactive when a specific clip / message was sent. Various approaches should be explored from daily email notifications to waiting 3 hours, etc.

  • Per message emails are too noisy (spam)
  • One batched email summarizing all missed messages
  • Daily digest is too slow for team chat

Implementation wise, every 5 minutes, run a job:

  1. Go through all networks, and all streams that have a status of open.
  2. Look at all members of that stream, their playback markers and the last_child_created_at. Compare and only address when the delta is more than 30 minutes.
  3. Build a map of count of streams that every human is behind on.
  4. Go through map, and send summary email if they are offline (pusher service)
  5. Add a setting in Flowy.llink for disabling email notifications.
We need to notify people who were inactive when a specific clip / message was sent. Various approaches should be explored from daily email notifications to waiting 3 hours, etc. - Per message emails are too noisy (spam) - One batched email summarizing all missed messages - Daily digest is too slow for team chat Implementation wise, every 5 minutes, run a job: 1. Go through all networks, and all streams that have a status of `open`. 2. Look at all members of that stream, their playback markers and the `last_child_created_at`. Compare and only address when the delta is more than 30 minutes. 3. Build a map of count of streams that every human is behind on. 4. Go through map, and send summary email _if they are offline (pusher service)_ 5. Add a setting in Flowy.llink for disabling email notifications.
Sign in to join this conversation.