Don't iterate all the users for finding who to send notifications to.
Merge pull request #338 from queso/fix-email-stuff

Don't iterate all the users for finding who to send notifications to.