Mail merge with PDF attachments
One spreadsheet, one template: every recipient gets their own PDF, sent from your own mailbox.
From spreadsheet to sent, row by row
CSV or Excel in
Upload a CSV or .xlsx file with a header row. Numbers such as 1,204.50 and $12.00 and Excel dates are read for you.
A personal PDF per row
Every row fills your template: an invoice, statement, certificate, payslip or letter, with its own file name.
Sent from your own mailbox
Gmail, Google Workspace, Microsoft 365, Zoho, Brevo, SendGrid or any SMTP server, so replies come back to you.
Every row checked first
Bad addresses, missing values and duplicates are listed with their row numbers before anything is sent. Preview any row and send yourself a test.
Pay only for what is sent
Each email your mail server accepts uses one PDF credit. Rejected, failed and skipped rows are not charged.
Fix and resend unsent rows
Download the rows that were not sent with the reason for each, or send them again in one step.
How it works
Design the PDF
Make a template once. Each {{field}} becomes a column you fill.
Upload the spreadsheet
Match columns to fields, write the email, and review every row.
Send
Each recipient gets their own PDF. A report shows what happened to every row.
Mail merge API
Create a campaign from CSV, rows or an uploaded file. Every row is validated and you get a report before anything is sent.
curl -X POST https://api.podpdf.com/mailmerge/campaigns \
-H "X-API-Key: $PODPDF_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "October statements",
"template_id": "YOUR_TEMPLATE_ID",
"connection_id": "YOUR_CONNECTION_ID",
"input": {
"csv": "Email,Name,Amount\nann@example.com,Ann Lee,1204.50\nbo@example.com,Bo Chan,88.00"
},
"mapping": { "customer.name": "Name", "amount": "Amount" },
"email": {
"subject": "Your statement, {{customer.name}}",
"body_text": "Hello {{customer.name}},\nYour statement for {{amount}} is attached.",
"attachment_filename": "Statement {{customer.name}}"
}
}' - Preview one row and send a test to yourself first
- Progress by API, or a mailmerge.campaign.* webhook
- A CSV report of what happened to every row
- Unsent rows can be downloaded or sent again
Mail merge questions
How many recipients can one campaign have?
Which email accounts can send?
How big can the attached PDF be?
Is this for marketing email?
Can I run it from my own code?
Start with a ready-made template
Invoices, receipts, statements and certificates you can customise in minutes.