Page MenuHomePhabricator

Please do not send e-mail messages to tell me about "a new notification" that I read hours ago on-wiki
Closed, ResolvedPublic

Description

What happens:

  • I'm on the wiki, and I see the notification. I click it; it's marked read.
  • Hours later (end of the day UTC?), Echo sends me an e-mail message to tell me about a "new notification".
  • Only it's not new, because I read it hours ago.
  • I'm annoyed.

What should happen:

  • I'm on the wiki, and I see the notification. I click it; it's marked read.
  • All done! No unwanted e-mail messages about things that I read hours ago.

Event Timeline

Aklapper renamed this task from Please do not send e-mail messages to tell me about "a new notification" that I read hours ago to Please do not send e-mail messages to tell me about "a new notification" that I read hours ago on-wiki.Jul 1 2017, 10:21 AM

Note: This would only be possible to fix for the users that have set the preference "Send me" to the values "A daily summary [...]" or "A weekly summary [...]".
I believe (?) the default is "Individual notifications as they come in", i.e. instant emails and web-notifications sent at the same time.

Catrope subscribed.

What @Quiddity says is right, unless we also implement a ~5-minute delay before sending the email. For batched emails, we should definitely be able to prevent emails about read notifications from being sent, but we should look into whether we are doing that already.

I like the idea of a brief delay. I turn off immediate e-mail anyway, but I don't really expect anyone to want separate e-mail messages for multiple related actions (e.g., reverted + talk page message).

Change 556089 had a related patch set uploaded (by IAmNetx; owner: IAmNetx):
[mediawiki/extensions/Echo@master] Add preference to not receive digests about read notifications

https://gerrit.wikimedia.org/r/556089

Change 556089 merged by jenkins-bot:
[mediawiki/extensions/Echo@master] Add preference to not receive digests about read notifications

https://gerrit.wikimedia.org/r/556089

I think this can be announced in tech news (maybe with a special thanks to our GCI student, if appropriate). It should be on wmf.11 next week.

It is adding a new preference under the "email frequency" option on Special:Preferences#notifications. Default behavior is unchanged.

@Etonkovidova Could you take a look and resolve as appropriate? Thanks!

@Etonkovidova Could you take a look and resolve as appropriate? Thanks!

Re-opeing the task - some additional testing is needed - it seems there is a discrepancy between what notifications Special:Notifications page displays as Unread and what an email lists as unread,

All work as expected - the additional testing clarified two things

  • The notifications must be marked read or a page with the notification(s) should be visited. Opening the notification flyout (the notifications would be marked as 'seen') won't result in excluding notifications from email.
  • The cutoff time for email sending might not be obvious to a user - I had the case when four actions for notifications were made during 10-min interval, but one notification was delayed to be displayed to a user-recipient and, consequently, was not included into the email bundle sent to that user.

I'd be satisfied by these outcomes. Just reducing the unnecessary e-mail would help me.