I have a plugin for a client that uses Edit Flow and Formidable to accept documents for review and organizes/assigns them using Edit Flow. The plugin intercepts a "submit" command by a particular Formidable form and sets that particular post in the form as "expedited". That part works, no problem at all. The problem is that the client wants one of their usergroups to be notified when this happens. I've been hitting my head with this for a while and cannot come to a solution at all.
Is there a way to get the users in a user group for me to run a foreach loop to send a batch of emails?