Customize "Go to message" link in notification emails

Description

In the notification emails about new messages, there is this blue “Go to message” button, linking to https://go.rocket.chat/… - is there a way to change this link to not use the go.rocket.chat service?

We are providing support via RC to a client who has a strict network policy with no access to this URL, so the links don’t work.

Ideally, the link would point to our own RC instance.

Any help appreciated,
Cheers, Daniel

Server Setup Information

  • Version of Rocket.Chat Server: 3.17.0
  • Operating System: Linux
  • Deployment Method: tar
  • Number of Running Instances: 1
  • DB Replicaset Oplog:
  • NodeJS Version: 12.22.1
  • MongoDB Version: 4.0.24
  • Proxy: nginx
  • Firewalls involved: no

Any additional Information

For me it worked with these two settings:

  1. in General, DeepLink_Url should be empty
  2. in Email, for Offline Message check “Use Deep Link URL Format”

Thanks a lot for this hint, @mmader . I played around with these settings, and I got it to work quite the other way round when I disabled Use Deep Link URL Format and left DeepLink_Url unchanged.

Cheers, D.