RocketChat / RocketChat/Rocket.Chat
Allow Customization of Message Links in Emails
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 46.1k
- Forks
- 13.9k
- Avg merge
- 3d 3h
- Merged PRs (30d)
- 130
Description
While the majority of the email message can be customized, it seems the message links (aka "GO TO MESSAGE") are hard coded with the function referenced below.
Function getMessageLink
It would be great if this HTML could be customized like the header, footer, etc. Could use a token to implement the link within the HTML editor like we do for Site Name, Room Name, etc.
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.
Research direction
Start in packages/rocketchat-lib/server/functions/notifications/email.js and read getMessageLink alongside the existing email customization tokens for Site Name and Room Name. Determine how the message-link HTML could be exposed for customization, then verify that the email editor can use the new token and that the resulting link is rendered correctly.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100