How many times have you opened an email, saved three attachments (a Word document, an Excel sheet and a JPEG picture), converted each one and then pieced them together into one file for a report or an archive?
With many emails a day, that is a lot of clicking. Mail Attachment Downloader can do it for you. With PRO Rules Server it turns an email and its attachments, whatever their format, into one merged PDF.
Here is how to set it up in version 4.0, and how to keep logos and signature pictures out of the result.
Why merge emails and attachments?
- Simpler archives: the email’s text and its files are kept together in one document.
- Audit and compliance: legal, finance and other teams get a complete record of each email in one file.
- Easy sharing: send clients or colleagues one document instead of a pile of attachments.
Step 1: Save the email’s text too
For the merged PDF to start with the email itself, the rule must save the email as well as its attachments.
- Open the PRO Rules tab. Click New rule…, or select a rule and click Edit. The Rule Editor opens.
- Under Which emails, set the conditions, for example From ‘northwind.example’.
- Under Save, set What to save to The email and its attachments, and choose the Save folder, for example
\\fileserver\Finance\Northwind.
Step 2: Leave out the junk
You don’t want social media icons or a company logo from an email signature in your clean PDF. Two settings under Save take care of that:
- Leave out the pictures inside the text: the pictures shown inside the email’s text, such as logos and signature images, are not saved. Files attached to the email are still saved.
- Only files of these types: tick Documents (.doc, .pdf…), and add more types in Other:, such as
.xlsx, .csv. Leave Pictures (.jpg, .png, .gif…) unticked if you only want documents. If the types would hold back the email’s own .eml file, the Rule Editor says so and offers Let the email through.
Step 3: Convert everything and merge it
Version 4.0 does the converting and the merging with one choice:
- Click Add a step…, choose Files, then Convert all files to a single PDF, and click Add.
- Under What happens to the original files?, choose Delete them to keep only the merged PDF, or Keep them to keep the originals and the separate PDFs as well.
- Set the File name of the merged PDF, for example
{SAVE_PATH}\{DATE[yyyy-MM-dd]}_{SUBJECT}_{ID}.pdf.{SAVE_PATH}\puts it in the folder the files were saved in, and{ID}keeps each email’s PDF apart. - Click Add steps, then Save.
This adds two steps under Then: Convert documents, which makes a PDF of each saved file and of the email, then Merge PDFs, which joins them. Delete them ticks Delete the originals after converting them and Delete the PDF files merged for you.

![The Convert all files to a single PDF window: the two steps it adds, What happens to the original files? with Keep them and Delete them, the merged PDF's name {SAVE_PATH}\{DATE[yyyy-MM-dd]}_{SUBJECT}_{ID}.pdf and Put the email's text last](https://i0.wp.com/gearmage.com/assets/images/4.0-convert-single-pdf.jpg?w=840&ssl=1)
Step 4: Fine-tune the merge (optional)
Select the Merge PDFs step to change it:
- Merge: choose All the email’s PDF files (across rules), The PDF files this rule saved so far, or Each PDF file with the email converted to PDF (one PDF per attachment, each with the email in front).
- Put the email’s text last moves the email to the end.
- File name: click Fields… to build the name from the sender, the date, the subject or any field.
In the Convert documents step, tick Ignore failures (when several types are converted) so that one file that can’t be converted doesn’t stop the rest.

The result
Once the rule runs, the program does the rest. When an email matches, it leaves out the junk, converts the files, and builds the document. Run it on a schedule, as new email arrives, or as a Windows service with nobody signed in.
Your folder gets one PDF for each email. The first pages show the email, and the attachments follow, rendered as PDF pages.
Before you turn it on, click Test this rule… on the PRO Rules tab to try it on a few emails. Nothing is changed.
Merge several emails into one PDF
Leave {ID} out and give the merged PDF a name that several emails share, and their pages go into the same file, one email after the other. For example, {SAVE_PATH}\{PROCESSED_DATE_LOCAL[yyyy-MM-dd]}_Northwind.pdf gives one PDF for the day’s Northwind emails.
This works within one download. A merged PDF left by an earlier download is replaced, not added to, so the same emails always give the same PDF. If the rule runs more than once a day, put the hour in the name too, such as [yyyy-MM-dd_HH], and choose Keep them so the separate files stay as well.
Going beyond PDF
- Password: tick Encrypt the PDF in a conversion to protect sensitive files.
- Other formats: PRO Rules Server converts to more than 50 formats, including multi-page TIFF, HTML and JPEG. See Convert emails to PDF or TIFF.
- Scans: Make PDFs searchable (OCR) and Split PDF handle scanned batches.
- Old mail: with PRO Backup, the Backup tab exports kept emails to PDF without a rule. See Export.
Try it: download Mail Attachment Downloader and start with the free edition, or compare the PRO editions, each with a 30-day money-back guarantee.
Related
- Save emails and attachments as PDF, merged in bulk
- PDF tools: merge, split, encrypt
- Save emails and attachments to folders with PRO Rules
- Name files with fields
- Unzip, convert to PDF and run scripts
- Send emails automatically after processing
- Save emails and attachments to a database
Using version 3.x? See the 3.x version of this guide.
Contact us with any questions or suggestions about this post.