@Georgi Palazov Thanks for reaching out. The output is base64 so you need to convert the base64 to string in your condition. You can either verify the string with contains "The query yielded no dataTable" or match the exact string as <body>The query yielded no dataTable.</body>
as below
base64ToString(body('Run_query_and_visualize_results')?['body'])
In the false condition you can specify your send email action. If the condition is True then that means it yields no result, so we don't need to send email.