How to send files as attachments via email with Uniform?

Hm, maybe something wrong with the syntax here, but I’m not sure what we have to provide here, @mzur?