How to Bulk Extract File Attachments from .EML Email Files

Software screen image showing how to select email file attachment extraction.

Email messages are often stored or archived as individual EML files. They contain the email message, sender and receiver information, the internet header data, and any file attachments that were appended to the message.

What if you have a directory filled with hundreds or thousands of  EML files and you want to save a copy of all email file attachments to a folder on your hard drive?

One way to approach this project would be to open each .eml file individually, and extract the attachments manually. This labor intensive method doesn’t appeal to me, and probably not to you either (or you wouldn’t be reading this article).

A faster and much more efficient method to bulk extract file attachments from EML files would be to use the “Only Attachments” export operation found in EML Viewer Pro email viewer (download a free 15 day trial).

Download Eml Viewer for email.
15 Day Free Trial. No credit card required. Install/Uninstall support included.

EML Viewer Pro is a viewer for email content including EML, MSG, PST, OST and MHT files. In addition to accurately rendering your emails, it allows you to perform useful tasks, such as searching, print, exporting to PDF and other formats, and even Reply and Forward our .eml email messages.

To extract file attachments from EML files with EML Viewer Pro, start the software and select the folder containing your .eml files.

In the email list, type CTRL-A to select all of the files.

Select “Only Attachments” from the Export Profile setting, and click the Export Button to start the process (the export button is the green down arrow).

Toolbar for bulk extracting .eml file attachments to a folder.
Select “Only Attachments” and click the Export button

When the operation completes, EML Viewer Pro will have saved a copy of all email file attachments to the folder you selected. You can see your email file attachments, and open them up for viewing, printing or editing in the appropriate software.  Note that the original .eml file remains intact and are unchanged; only a copy of the file attachments have been saved to your folder.

We’ve also created this step by step video to show you exactly how to use EML Viewer Pro to bulk extract file attachments from your .eml files.

To try it yourself, you can download a free trial of EML Viewer Pro from this website. The trial lasts 15 days, and will let you export up to 50 emails in a single batch operation.

Any further questions, please just leave a comment below. You can also contact our support team.

Exporting EML Files: Customizing Export Profiles In EML Viewer Pro Software

Image of PstViewer Pro customization screen.

When it comes to convert .eml files, the EML Viewer Pro email reader provides a tremendous amount of flexibility to it’s users through Export Profiles. It is best to think of export profiles as editable instruction sets that tell EML Viewer Pro how it should perform the conversion and exportation of selected email messages.

EML Viewer Pro ships with more than 25 pre-configured export profiles. Any of these profiles can be edited to your specific needs, or you can build completely new export profiles.

If you don’t yet have EML Viewer Pro installed on your Windows computer, you can download a free trial from the EML Viewer Pro home page  and follow along with this lesson.  Export profiles are easy accessible from the EML Viewer Pro (also known as Pst Viewer Pro) software main toolbar. Individual profiles are selected from the drop down list.

Choose your export profile to convert .eml files.
Export Profile Select List

To use an export profile, first find the messages you want to export in the Mail List, click “Ctrl-A” to select all emails, choose your export profile and then click the start button.

Start .eml file export operation by clicking start button.
The Export Start Button Location Is Shown As Highlighted

 Create a Custom Export Profile

To create a custom export profile, start by clicking the ‘Create New Profile’ button from the EML Viewer Pro toolbar.

How to create a new export profile for converting .eml files in EmlViewer Pro.
New Profile Button

This will run the Export Wizard, which will walk you through the simple steps of creating a basic export profile.

New export profile creation screen is shown.
EML Viewer Pro Export Profile Wizard

In the first step, enter a name for your profile. You may want to give it a name that is meaningful so that you’ll recognize it from the profile drop down list.  In our example today, I’m going to give it the name “My New Profile,” and choose a PDF target format. Click next to advance the wizard.

New email export profile setup screen in EmlViewer Pro email viewer.
Select The Desired Conversion Format

In step 2, you can select a specific folder to export messages to, or you can tell EML Viewer Pro to always put the files it creates into a zip archive. Click the finish button to complete the wizard.

Final step of creating an export profile in EmlViewer Pro software.
Select The Target Destination

When the wizard has completed, look at the export profile drop down list. You should see your new profile listed.

Just for fun, let’s edit this profile and make some deeper changes to it.  First, select your new profile from the drop down list, and then click the “Edit” button. The Edit Button is the icon that looks like a piece of paper with a pencil.

New export profile selection. Eml viewer software export selection window.
Click Edit Button to Edit the New Profile

The Export Profile Editor will launch. Here is where you can change all of the settings for the selected profile, from its name to it’s format.

Export profile editor in EmlViewer Pro software.
EML Viewer Pro Export Profile Editor

Let’s examine some of the options that we can select from.

Page Size
There are about 30 different pre-configured page sizes that you can export to. Page size will impact the page size of printing or PDF exports.  Page sizes can be specific to an export profile. You can also specify a custom page  width and height, as well as the orientation (landscape or portrait).
A setting for ISO 190005-1 PDF/A is also included in this area; use PDF/A when you want to archive .eml files for long term preservation.

Select the page size for your email export operation.
30 different page sizes are available.

 Grouping Exported Files

Eml Viewer Pro provides options for grouping and naming the exported files. While exporting to PDF, you can tell EML Viewer Pro to export emails into one large single pdf file, or into separate pdf files.

Grouping email exported to .pdf files.
Grouping category.

Each exported file that EML Viewer Pro creates may be given a name that is based on your custom scheme.  For example, you can place parts of the email content into the file name, such as the sender, the date received,  or even an incremented number.  To customize file naming, click on the expansion button on the “File naming schema” field to open the editor, and arrange the naming plan in the manner that is best suited to your project.

Naming your .eml files that have been exported to .pdf files.
Exported File Naming Schema Editor

There are many other settings you can use in the Export Profile Editor. We encourage you to experiment with all of the different ways that EML Viewer Pro’s settings can be combined to create flexible and efficient approaches to your project.

EmlViewer Pro costs $69.99 for a perpetual license.