How to customize URLs to be dynamic in E-Mail Templates?

How to customize URLs to be dynamic in E-Mail Templates?

We want to setup E-Mails with specific URLs for every contact, but it is not allowed to use record variables in URLs in templates. Is there a workaround?