Update hard-coded references to an email template to use an attribute value instead.