Skip to content

How do I add a method and use it in a letter template?

I need to add a custom method and use it in the template of the email that goes to the user after registration to confirm his account. How can I do this?