Uipath chcek email sender in email group

check if the sender is in the email group of Outlook. I read that it requires invoke code? how do i do it