Rocket.chat: [Email-notifications] Do not allow to flood user inbox with emails

Created on 4 Mar 2018  路  4Comments  路  Source: RocketChat/Rocket.Chat

Description:

Currently every single message to offline users results in separate email.
It's the same when writing message in room with offline users.

By pressing any single letter and enter several times, we can result in multiple several emails to offline user. It is a issue when offline user have non-gmail email inbox, for instance like me at work, which cannot display all emails in one row.

I hate to say it, but there is potential of DDoS-like situation for internal company emails solution, because of this correlation 1 message -> 1 email.

Steps to Reproduce:

  1. Find offline user(s)
  2. Send him several private messages or even worse, send messages in room he is watching.

Expected behavior:

After X messages have been sent, Rocket now will accumulate rest of the messages for Y time and will send it in one email.
For instance, X = 5 messages, Y = 5 minutes

Actual behavior:

Direct email is being sent for every message/mention to offline user(s).

EDIT: Yay, I'm number 10000 issue. This is great project!

email improvement

Most helpful comment

Hi @912d, we will evaluate you suggestion. But right now it is not on our top priorities. Thanks.

All 4 comments

Suggestion: There should be one email (with ability to turn off entirely) that notifies the particular user that there are missed messages. It should not accumulate messages at all since more messages can come after that email has been sent.

Hi @912d, we will evaluate you suggestion. But right now it is not on our top priorities. Thanks.

I suggest wait like 15 min before sending a mail and add every message missed as a digest.

@rocket-cat close

Closing this in favour of #6079 as the sentiment is the same.

Cheers
Thomas

Was this page helpful?
0 / 5 - 0 ratings

Related issues

tanc picture tanc  路  3Comments

sta-szek picture sta-szek  路  3Comments

Buzzele picture Buzzele  路  3Comments

neha1deshmukh picture neha1deshmukh  路  3Comments

amayer5125 picture amayer5125  路  3Comments