Referencing in email

How exactly does one reference in email. I tried what the pro tip says below but it just prints out the reference instead of actually referencing “Issue” doctype with the field name.

Wow so basically you just add {{ reference_fieldNameInDoctype }}.
fieldNameInDoctype is any field in the doctype you appending to.