Fire email notifications after a short delay when status is "Away"

Start date

Due date

Description

When the email setting is set to "immediately", notifications are sent instantly after the message is received if the receivers status is "Away" or "Offline". To improve the experience of reading and responding to a desktop notification without being spammed by an email:

1. When the user is "Away" and has their email setting set to "Immediately", trigger the email notification after 30 seconds. If the user has activity in Mattermost within 30 seconds of receiving the message, do not send the email notification.

2. If the user is "Offline", send the email notifications immediately after the message is received.

Note: The "Every 15 minutes" and "Every hour" email batching settings already handle this. If the messages are read before the batch time, they do not trigger a notification.

QA Test Steps

None

Checklist

Activity

Show:

Michael Magill September 18, 2017 at 1:23 PM

After seeing the email batching issue that was resolved in 4.2.0 it sounds like this issue could be as simple as making the immediate option actually be a batched email on a 30 second delay. I feel that is a short enough time frame that is can still reasonably be labeled immediate, but it would mean batching would always be on and the the option to enable batch really just enables the longer term 15/60 minute batches.

Michael Magill July 21, 2017 at 2:54 AM

Thanks for setting up this issue! There have been similar issues in the past but a common misunderstanding in the comments for those issues seems to be that situation #1 would only be a delay. I would just like to emphasize that if there is Mattermost activity in that 30 second time limit, an email would not be generated at all for that message.

Other enabled notifications like desktop pop ups and icon changes would still happen immediately.

Jason Blais July 18, 2017 at 4:20 PM

JB to post in PM channel

Details

Assignee

Reporter

Fix versions

Sprint

Labels

Checklist

Created July 17, 2017 at 11:05 PM
Updated February 12, 2025 at 5:24 PM
Loading...