Open begedin opened 6 years ago
What needs clarification here?
Possibly the best way to do this is check and see whether an email was sent every so often by looping through unread messages in Quantum every minute.
@snewcomer we've used this to great success in other projects https://github.com/c-rack/quantum-elixir
Problem
From https://github.com/code-corps/code-corps-api/issues/1234#issuecomment-349187243
The idea behind the messaging feature is that it ought to work mostly in realtime, while still supporting async communication.
In order to achieve that, we need to be able to send an email to the user if the message sent to them has not been marked as read after 3 minutes.