Skip to content

SMTP Email Notification for Shared Notes #157

@bigtcze

Description

@bigtcze

Description

Implement an email notification system to alert users when a note is shared with them.

Requirements

  • Trigger: The notification is sent immediately when a note is shared with a recipient.
  • Content: The email must include the Note Title. It MUST NOT include the note content (body).
  • Format: The email should use a modern, visually appealing HTML template.
  • Configuration: SMTP details must be fully configurable via Environment Variables (e.g., SMTP_HOST, SMTP_PORT, SMTP_USER, SMTP_PASS, SMTP_SECURE, SMTP_FROM).

Technical Implementation

  • Add an email service module to the backend.
  • Integrate the email trigger into the note sharing workflow (likely in NoteService or a dedicated event handler).
  • Create a reusable HTML template for the notification.

Complexity

Complexity: 5/10

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions