You can use get text activity to get the first mail id from the application
Thanks & Regards,
You can use the Get Text activity to extract the email id. Also you can set the proper anchor to check the first email id.
Check in the selector to keep only stabel attributes