/pillar/testpillart/init.sls:
testpillar:
customers:
customer1:
support: support@test.com
management:
- email1
- email2
- email3
/state/test/init.sls
{% for mail, data in salt['pillar.get']('testpillar:customers').items() if data.management == 'e-mail1' %} {{ data.support }} {% endfor %}