Adding merge fields of custom modules into email templates

Adding merge fields of custom modules into email templates

I want to add merge fields from a custom module into E-mail templates that I can send to job applicants. If I insert it, it shows that these two modules are not related. How to change that?