リッチテキストのような中にリンクを埋め込場合には同ブラウザ内に遷移しない
テキストテンプレートのプレーンテキストだとHTMLのタグが使えるみたいです。
新しいテキスト テンプレート リソースを作成し、この HTML コードをプレーン テキスト モードで追加します。
<a href="{!RecordLink_Formula}" target="_self">Click here</a>
URLを動的につくる
LEFT({!$Api.Enterprise_Server_URL_570} , FIND('/services', {!$Api.Enterprise_Server_URL_570})) & "/lightning/r/Account/"& {!$Record.Id} &"/view"
解答例
When using an email template, you need to obtain the ID ( Onboarding__c.Account__c ) of the related object that specifies the link destination as a formula field .
I want to make a URL from record in a custom object in lightning email template
https://salesforce.stackexchange.com/questions/400831/i-want-to-make-a-url-from-record-in-a-custom-object-in-lightning-email-template
The base URL can be referenced using the following formula.
LEFT({!$Api.Enterprise_Server_URL_600} , FIND('/services', {!$Api.Enterprise_Server_URL_600})) & "/lightning/r/Account/"& {!$Record.Id} &"/view"