updated getEmails