{% if emails is iterable %}
{% for item in emails %}
{{ item.name }}
{% endfor %}
{% else %}
..
{% endif %}