Skip to content

Notes: Send email notifications to post author #73030

@jeffpaul

Description

@jeffpaul

Description

Currently, WordPress sends email notifications to post authors when a comment is added to their post, but no equivalent notification is sent when a Note (block-level comment) is created.

As a result, post authors may miss important feedback added via the Notes feature. This issue aims to close that gap by sending a simple email notification to the post author whenever a new Note is added to their post, mirroring the existing comment notification flow.

Step-by-step reproduction instructions

Current Behavior

  • New Notes are created and stored via REST API endpoints.
  • No notification is triggered or sent to the post author.

Expected Behavior

When a new Note is created on a post:

  • The post author should receive an email similar in structure to comment notifications.
  • The email should include:
    • The post title and permalink
    • The user who added the Note
    • A short snippet or summary of the Note content
    • A link to open the post in the editor where the Note can be viewed

Proposed Solution

  • Hook into the Note creation endpoint (e.g., via REST API callback or equivalent action).
  • Trigger an email notification to the post author, using the same email template and structure as the existing comment notification (with modified subject line such as New note added on your post).
  • Keep this limited to email only for now, deferring broader notification architecture to a later phase.

Screenshots, screen recording, code snippet

No response

Environment info

No response

Please confirm that you have searched existing issues in the repo.

  • Yes

Please confirm that you have tested with all plugins deactivated except Gutenberg.

  • Yes

Please confirm which theme type you used for testing.

  • Block
  • Classic
  • Hybrid (e.g. classic with theme.json)
  • Not sure

Metadata

Metadata

Labels

[Feature] NotesPhase 3 of the Gutenberg roadmap around block commenting[Type] BugAn existing feature does not function as intended

Type

Projects

Status

✅ Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions