revert url_for magic for generating links in email template