#1339: Take variable into account when rendering (email) link.