Quick Start
Learn how to install PDF Mail Engine, design a template, and send your first batch of invoices.
PDF Mail Engine is a secure, local-first tool for generating and emailing PDFs in bulk. This guide will take you from installation to sending your first invoice in minutes.
Step 1: Installation
The safest way to install the application is via the Microsoft Store.
- Click the button above.
- Click Get (or Install).
- Once installed, click Open.
For Administrators
Standalone installers (EXE/MSI) for enterprise deployment are available on our Releases Page.
Step 2: Creating Your First Profile
When you launch the app, a dialog will appear asking for a Profile Name. A "Profile" is a saved configuration for a specific job (e.g., "Monthly Billing").
- Enter a descriptive name like
Monthly Invoices. - Click Create.
- You will be taken to the Profile Settings screen.
Configure Mail Settings (SMTP)
On the Profile Settings screen, configure the email server used to send emails. You will need the connection details from your email provider:
- Host: The server address (e.g.,
smtp.example.com) - Port: Usually
587(TLS) or465(SSL) - Username: Your login ID (often your email address, but check your provider)
- Password: Your login password
- SSL/TLS: Enable if required by your provider (usually Yes)
Using Gmail?
You must generate an App Password to use Gmail with 3rd party apps. Your regular Google password will not work.
Step 3: Designing a Template
Now, let's create the layout for your PDF. You will use our visual Template Designer.
1. Download Sample Data
First, download this sample invoice list to use for your design: 📥 sample_invoices.csv
2. Open the Designer
On the Profile Settings screen, click the Template Designer button (located at the bottom right).
3. Initialize the Template
Before you start designing, a configuration modal will appear to set up the data structure:
- Load Data: Click Load Transaction Data and select the
sample_invoices.csvfile you just downloaded. - Group Key: Select a column that identifies a unique document (e.g.,
id). - Email Address: Select the column containing email addresses (e.g.,
email). - PDF Filename: Define how files should be named. You can use variables like
{{ id }}_{{ name }}.pdf. - Click Finish.
4. Create the Layout
You are now in the visual designer canvas.
- Add Text: Drag a Text element onto the canvas.
- Map Variable: In the text content area, type:
Hello, {{ name }}.- You will see it update in real-time using your sample data.
- Save: Click Save and name it
invoice_template.yaml.
Step 4: Generate & Send
Now that your Profile is ready (Mail configured, Template selected), let's run the job.
1. Import Data
Click Import Data on the main dashboard and select the same sample_invoices.csv.
(In a real scenario, this would be your monthly data export).
2. Generate
Click Generate. The engine will process each row in the CSV, swapping {{ name }} with the actual names (e.g., "Alice", "Bob"), and create PDFs in the Output folder.
3. Preview & Send
- Switch to the Preview tab.
- Click on a row to verify the email subject and body.
Summary
You have successfully:
- Configured a Profile.
- Initialized and designed a dynamic template.
- Generated and Sent personalized PDFs.
Next Steps:
- Advanced Template Features: Tables, Images, and Barcodes.
- Calculations: Tax, Sums, and conditional logic.