I have added the Send-Email step to the project process. I have also created a variables called.
email-dev(contains email list of developers)
email-qa(contaisn email list of QA).
Now i have used the email-dev in the To(please refer the attachment)
I think the way you want to go to get this to work will be to create one variable, maybe called emailList, and have multiple values scoped to it based on environment. Kind of like the example below:
You will then just put the variable emailList in that field, then when the environment is being deployed to, the scoped variable will be chosen and the correct people will be emailed. I’m not sure that the syntax for multiple email addresses is comma separated, but that would be my best guess.