Schedule email with a table containing data of sql tag

Hello to everybody
I need an help.
I need to send the result of a query tag that I already show on a dedicated page and that I can export in excel format by pressing a button.
I am already able to send an email with this file attached on it (client side) but,
how can I schedule the delivery of this email every evening with this very simple table (gateway side) without manual operations?

Thank you in advance.