Search before asking
Description
When the sql result is empty, it still keeps sending the email, and the content of the email is empty.
The expectation is that if the query result is not empty, it is normal to send an alert email, but if the query result is empty, there is no need to send the email.
Are you willing to submit a PR?
Code of Conduct