OCR on Outlook to get string

How do I use OCR on an Outlook email to get the contents of a field, “Hierarchy Type” and save it to a variable?

I have my RPA set up like this with the Window action pointing to the open email, but when I try to run the script, it gets stuck on the Window step and doesn’t progress further.