When using plain text format for email template this format works:
Please submit rates for supplying the following materials (delivery rate).
RFQ ID: {{ name }}
Please go to this link for submitting your rates: {{ portal_link }}
But changing it to html for little jinja scripting failed.
FYI, the same jinja script works fine for notifications but not here in email template.