Sending a file via endpoint

While running a device mounted on a production line I’m creating a bucket that contains a specific data, I would like to email this bucket content as a CVS file automatically to a list of recipients, e.g., as a specific data generated arrives to the device the bucket file will be send via endpoint e.g. email, please advise on how to implement.
P.S. if the above can be implemented using another method and not an endpoint is ok as well.
Thanks.

Hi,

It can be done by a nodered flow, using the bucket read node and endpoint call node or even you may use a 3rd party sending mail node.

Hope this helps.