api.getEmail() not working always retuning undefined

api.getEmail(participantId); and api.getParticipantsInfo(); both not giving email something wrong with these APIs. Anyone has solution for this? @damencho @emrah