Mail merge driven by the report itself.

Got a legacy billing or accounting system that prints big batch reports and nothing else? You can’t rewrite the app. You probably can’t even get a spreadsheet out of it. pdfMachine meets it where it lives — the print queue.

Mail merge without the spreadsheet. Same end result as a spreadsheet-driven merge — one personalised email per customer. The data lives in the printed report instead of a CSV.
Embed directives in the report. Sprinkle pdfMachine’s parameter-parsing commands into the report template — where to split, what to call each PDF, where to email it. They’re stripped from the final PDF.
Splits as it prints. Run the report once. pdfMachine receives the print stream and turns it into individual PDFs — one per customer, one per invoice, one per whatever.
Emails straight from the report. The recipient address is read from the report itself. Apply stationery, save to folders, auto-attach — all driven by what the report tells pdfMachine to do.

The print job is the integration.

The report calls the shots.