How to do that: The mail sent during the day will not be sent again. But will be sent in the following days

Hello everyone,

I think i have a good question.

My workflow select a query in SQL database and then assign it as a datatable. Then send all data in this datatable with e-mail.

I want my code: if it sent mail once in the day, don’t send mail again on this day.

However, if a record sent to the mail is still in the data table in the following days(for ex:yesterday), it should be sent a second time. And this also applies in the following days.

I need help for do that:(