makeplane / makeplane/plane

Mention Notification Email Logged Against Wrong User

Open
#9,173 1 comment 0 reactions 3 assignees View on GitHub

@sangeethailango is already working on this.

Since Jun 18, 2026.

🐛bug plane
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
  1. Create or update an issue description and @mention a user
    1. Check EmailNotificationLog — observe the record uses the wrong receiver_id
    1. Confirm the mentioned user does not receive the email
Environment

Production

Browser

Google Chrome

Variant

Cloud

Version

v0.17.0-dev

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.