[PR #631] [MERGED] feat: send emails on Comment Card notifications #1053

Closed
opened 2026-02-04 21:46:44 +03:00 by OVERLORD · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/plankanban/planka/pull/631
Author: @vied12
Created: 3/17/2024
Status: Merged
Merged: 3/22/2024
Merged by: @meltyshev

Base: masterHead: feat/email-notifications


📝 Commits (4)

  • 007c45e feat: send emails on COMMENT_CARD notifications
  • 5704bce feat(notifications): add hyperlinks to email notifications for direct navigation to cards and boards for better user experience
  • 80499e6 feat(create-one.js): add case for MOVE_CARD action type in sendEmailNotification function to support email notifications when a card is moved
  • 44eb6f9 fix: Cleanup and refactoring

📊 Changes

14 files changed (+188 additions, -4 deletions)

View changed files

📝 docker-compose-dev.yml (+8 -0)
📝 docker-compose.yml (+8 -0)
📝 server/.env.sample (+8 -0)
📝 server/api/controllers/cards/create.js (+3 -2)
📝 server/api/controllers/comment-actions/create.js (+3 -2)
📝 server/api/helpers/actions/create-one.js (+7 -0)
📝 server/api/helpers/cards/create-one.js (+5 -0)
📝 server/api/helpers/cards/update-one.js (+1 -0)
📝 server/api/helpers/notifications/create-one.js (+57 -0)
server/api/helpers/utils/send-email.js (+31 -0)
server/api/hooks/smtp/index.js (+35 -0)
📝 server/config/custom.js (+7 -0)
📝 server/package-lock.json (+14 -0)
📝 server/package.json (+1 -0)

📄 Description

Sends emails to notification receivers on Comment Card actions.

New env vars

SMTP_HOST=
SMTP_USER=
SMTP_PASSWORD=
SMTP_PORT=587
SMTP_SECURE=
SMTP_FROM="Demo Demo" <demo@demo.demo>

More action types could be supported in a similar way.

This adds nodemailer as a dependency


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/plankanban/planka/pull/631 **Author:** [@vied12](https://github.com/vied12) **Created:** 3/17/2024 **Status:** ✅ Merged **Merged:** 3/22/2024 **Merged by:** [@meltyshev](https://github.com/meltyshev) **Base:** `master` ← **Head:** `feat/email-notifications` --- ### 📝 Commits (4) - [`007c45e`](https://github.com/plankanban/planka/commit/007c45e3c7b888cceac5bbc8bb17ff4ae08efa33) feat: send emails on COMMENT_CARD notifications - [`5704bce`](https://github.com/plankanban/planka/commit/5704bce542bae66dc48855a0de3e5cb6a3602f17) feat(notifications): add hyperlinks to email notifications for direct navigation to cards and boards for better user experience - [`80499e6`](https://github.com/plankanban/planka/commit/80499e68d59cb2e72ed1e93c97033c1bae7b72cc) feat(create-one.js): add case for MOVE_CARD action type in sendEmailNotification function to support email notifications when a card is moved - [`44eb6f9`](https://github.com/plankanban/planka/commit/44eb6f9c1f40b54b6ca602f5ccc1901a4381f9fe) fix: Cleanup and refactoring ### 📊 Changes **14 files changed** (+188 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `docker-compose-dev.yml` (+8 -0) 📝 `docker-compose.yml` (+8 -0) 📝 `server/.env.sample` (+8 -0) 📝 `server/api/controllers/cards/create.js` (+3 -2) 📝 `server/api/controllers/comment-actions/create.js` (+3 -2) 📝 `server/api/helpers/actions/create-one.js` (+7 -0) 📝 `server/api/helpers/cards/create-one.js` (+5 -0) 📝 `server/api/helpers/cards/update-one.js` (+1 -0) 📝 `server/api/helpers/notifications/create-one.js` (+57 -0) ➕ `server/api/helpers/utils/send-email.js` (+31 -0) ➕ `server/api/hooks/smtp/index.js` (+35 -0) 📝 `server/config/custom.js` (+7 -0) 📝 `server/package-lock.json` (+14 -0) 📝 `server/package.json` (+1 -0) </details> ### 📄 Description Sends emails to notification receivers on Comment Card actions. **New env vars** ``` SMTP_HOST= SMTP_USER= SMTP_PASSWORD= SMTP_PORT=587 SMTP_SECURE= SMTP_FROM="Demo Demo" <demo@demo.demo> ``` More action types could be supported in a similar way. **This adds [nodemailer](https://nodemailer.com) as a dependency** --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
OVERLORD added the pull-request label 2026-02-04 21:46:44 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/planka#1053