Attachment to E-Mails?

Would it be possible to attach a file to the simple mails generated by kirby?

In my case iā€™d like to send an invoice to the customer with the given attributes i get from his order. Would that be possible?

Thanks Tobi

One option is to use phpmailer and to add that as a new service like described in this post: Send emails using PHPMailer