I am trying to send a mail where the template of the mail will have a button which is similar to the `View issue` button of Gmail (as shown in the image below)

[![enter image description here](https://i.stack.imgur.com/LKm4L.png)](https://i.stack.imgur.com/LKm4L.png)

How can I send a custom template in my mail?