sending emails with file attachment

hey, thanks for the replay @Jnix284

I am not sure this workaround fits my use case. I’ll try to elaborate -

the file I want to send is dynamic, and on-demand, for example, when a user wants to get an email with an invoice for a purchased product - this request creates the invoice behind the scenes and then sends it to the user.

everything is done with code in the backend