{% if 'mail' in backup_targets %} {% for mail in backup_targets.mail %} {{ mail }} {% endfor %} {% endif %}