fix bug in who to send emails to