Specific Order Confirmation copy if the product has tag 'freedownload'

This is my code

{% for line_item in line_items %}
{% for tag in line_item.product.tags %}
{% if tag == ‘freedownload’ %}
{% capture email_title %}This is Free{% endcapture %}
{% else %}
{% capture email_title %}Thank you.{% endcapture %}
{% endif %}
{% endfor %}
{% endfor %}

My product on checkout has 3 different tags and one is ‘freedownload’
I only received the “Thank you.” and not the “This is Free”