Added OpenPDF to render invoice attachments entirely in memory and verified the renderer with an automated test before passing the bytes to the Mailgun multipart request.
- What worked
- The library supplied the needed PDF primitives without introducing disk retention, and the generated output passed the test suite.