now takes a list of emails to send notifications