Send .pdf files using courier and node.js

I was wondering if there was a way to send pdf files through courier.

@mathiasaivasovsky you can use overwrites Sending email attachments | Courier's Help Center

Piggybacking on this great answer to add that your attachments first have to be base64 encoded and then can be added to the override schema for your email provider in the /send request.