Content
View differences
Updated by Ivan Kuchin about 2 years ago
**As** a user of OpenProject
**I want to** get only one notification when I am @mentioned. Currently there are scenarios when I get a @mention email first and later another email reminder with exactly the same content.
**so that** I receive less email spam.
**Acceptance criteria**
* @mentions emails are sent immediately based on the user's email reminder settings (no change).
* In case an email for an @mention is already sent (requires the user to have checked the 'Immediately when someone @mentions me' option in email notifications) notifications with `mention` as the topmost reason are not included in an email reminder mail.
**Technical notes**
* The column `reason` on the `Notification` model states the reasons.
* The column `mail_alert_sent` on the `Notification` model states whether a direct mail has been sent out. out.
* With those two pieces of information combined, the specified case can be identified and suppressed.
**I want to** get only one notification when I am @mentioned. Currently there are scenarios when I get a @mention email first and later another email reminder with exactly the same content.
**so that** I receive less email spam.
**Acceptance criteria**
* @mentions emails are sent immediately based on the user's email reminder settings (no change).
* In case an email for an @mention is already sent (requires the user to have checked the 'Immediately when someone @mentions me' option in email notifications) notifications with `mention` as the topmost reason are not included in an email reminder mail.
**Technical notes**
* The column `reason` on the `Notification` model states the reasons.
* The column `mail_alert_sent` on the `Notification` model states whether a direct mail has been sent out.
* With those two pieces of information combined, the specified case can be identified and suppressed.