I assume you would still want to rename the file successfully even if the email Id is not found? If so, I would recommend adding an If statement that checks if %EmailID.RowsCount% = 0. If it is, it means the Recognize entities in text action did not find anything, and as such, you should skip the email Id in the file name, and simply rename the file to use only the other values. Then add an Else statement to rename it as it is, when the rows count is not 0, indicating Recognize entities in text actually found the email.
-------------------------------------------------------------------------
If I have answered your question, please mark it as the preferred solution. If you like my response, please give it a Thumbs Up.
I also provide paid consultancy and development services using Power Automate. If you're interested, DM me and we can discuss it.