Find people who are related via teams

This will allow us to notify everyone involved when a team member
submits a new exercises. See #824.