Mention Notification Email Logged Against Wrong User
@sangeethailango is already working on this.
Since Jun 18, 2026.
- Dominant language
- TypeScript
- Stars
- 59.6k
- Forks
- 5.8k
- Avg merge
- 1d 22h
- Merged PRs (30d)
- 49
Description
Is there an existing issue for this?
- I have searched the existing issues
Current behavior
When I am mentioned in an issue description, the EmailNotificationLog record is created with receiver_id=subscriber (the last value from the outer issue subscribers loop) instead of receiver_id=mention_id. The mentioned user never receives the email notification, and the log is recorded against the wrong user.
Code pattern:
for mention_id in new_mentions:
# ...
EmailNotificationLog(
receiver_id=subscriber, # wrong: should be mention_id
...
)
What I expect is that the email notification log is recorded against the mentioned user and they receive the email.
File: apps/api/plane/bgtasks/notification_task.py, line 576
Steps to reproduce
- Create or update an issue description and @mention a user
-
- Check EmailNotificationLog — observe the record uses the wrong receiver_id
-
- Confirm the mentioned user does not receive the email
Environment
Production
Browser
Google Chrome
Variant
Cloud
Version
v0.17.0-dev
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.