0

I'm trying to find the best way to build email notifications for an app with a chat component.

To give a bit of context, we have a list of occasions in our app with a chat per occasion. We would like to send email notifications to notify the user that there are messages waiting for them to be read. But we don't want to send 1 email per message as we sometimes send multiple messages in one go.

We want to send a message let's say after 1 min from the first message and send a recap of all the messages to send in that minute.

To give extra context, our app is on Nextjs, Supabase, and Postmark for other transactional emails (But not necessary attached to it if there's a better option).

How would you approach this? Are there tools out there that can help with that or is this something we should handle server-side?

0 Answers0