Thanks for pointing me in the right direction. I used the following in the SQL task:SQL text query tab and then created a task to set a user defined variable to the results of the sql task.
SELECT DISTINCT
emaillist = substring((SELECT ( '; ' + sqlEmailfield )
FROM sqlTableName t2
WHERE t1.sqlField = t2.sqlField
FOR XML PATH( '' )
), 3, 1000 )FROM sqlTableName t1 where sqlField = 'some criteria'