If your OCR scanner, archive or ERP software picks up its files from a network folder, someone has to save each invoice, order and report from Outlook into it. Mail Attachment Downloader 4.0 does that for you: it reads the mailbox directly, picks the emails you want, and saves the attachments (or the whole email) to a network folder or NAS, on a schedule or as new email arrives. It runs on your own system and doesn’t need Outlook installed.
The examples use Contoso’s mailbox finance@contoso.com and the share \\fileserver\Finance.
Step 1: Add the Outlook or Microsoft 365 account
- Click Add account and type the address in Email address. The program picks the tile: Microsoft 365 for work or school accounts (it connects with Microsoft Graph), Outlook.com for Outlook.com, Hotmail and Live, or Exchange for an Exchange server on your own network.
- For a shared mailbox, such as invoices@contoso.com, tick This is a shared mailbox (PRO editions).
- Click Test Connection, sign in on Microsoft’s page in your browser and allow access, then click Save.
More on each sign-in choice: modern authentication for Microsoft 365, Outlook and Exchange.

Several mailboxes? Add and test each one, then pick <multiple@multiple> in the Account box, click Choose accounts…, tick them and click Validate and use selected. PRO Backup runs up to 3 accounts together, PRO Parser up to 5, and the PRO Rules editions any number. See multiple accounts and rules.
Step 2: Point it at the network folder
Next to Save location, type a UNC path such as \\fileserver\Finance\Invoices, or click Browse…. Use the UNC path, not a mapped drive letter like Z:\: the Windows service can’t see mapped drives, and a UNC path works everywhere.
The Account rule tab decides the rest. On Filters, keep only documents, or only emails whose subject has “invoice”. On Folders and file names, choose What to save (the attachments, the email and its attachments, or the email only), and tick ID, to make each name unique: many emails send a file called invoice.pdf, and the ID keeps them apart.
Step 3: Send each kind of email to its own folder
To send invoices to one folder and purchase orders to another, use PRO Rules (PRO Rules Client and PRO Rules Server). In version 3.x this tab was called Global filters.
- On the PRO Rules tab, tick Use PRO Rules for every account and click New rule….
- Under Which emails, click Add a condition: for example Subject with
'invoice' OR 'payment', or From with'acme.example'. Add an Account condition to limit the rule to one mailbox. - Click Save in the rule’s outline. Set the Save folder, for example
\\fileserver\Finance\Invoices\{EMAIL_FROM}for a folder per sender, and the File name, for example{DATE_LOCAL[yyyy-MM-dd]}_{FILENAME}_{ID}{EXT}. Missing folders are made for you. - Click Test this rule… (files go to a temporary folder, nothing is changed), then Save.
Under Then, Add a step… adds work after the file is saved: Convert documents to PDF, Copy file to an archive share, Move or copy the email to a “Processed” mailbox folder, or Upload to cloud. PRO Rules Server adds steps such as Unzip and Run a script, for example to tell your ERP a file has arrived. The PRO Rules walkthrough has every detail.

Step 4: Make it automatic
While the program is open: on Schedule › App schedule, tick On a timer, As soon as new email arrives, or both. Free runs daily; the PRO editions add every 15 minutes, hourly and new email as it arrives (Microsoft 365 accounts are checked every minute).
24×7, with nobody signed in (PRO Rules Server):
- Check that Connect and Download works first.
- Open Schedule › Service schedule. Set Check every and tick Auto start on bootup.
- Pick the account in Install the service for (or <multiple@multiple> and Select accounts…), and click Install service.
The install signs in to each account as the service and writes a small test file to each save folder. If something fails, it lists each account or folder with the reason, and undoes itself.

The service runs as LocalSystem by default and reaches the share as the computer’s own account (for example CONTOSO\APPSERVER$). Give that account write access to the share, or choose another account under Service type. After you change a rule or a folder, click Reinstall… on the same page: the service keeps the copy of your settings it got at install. See the PRO Rules Server how-to.
Check that it works
The Downloads tab lists each email and file, the folder it went to and which rule saved it. Failures only shows what went wrong. Accounts that need you, for example after a sign-in expired, are listed under Action required. Each account’s History means the same email is never saved twice, and a failed step, such as a copy to a share that was offline, is retried on its own.
Does a scanner drop files into a share too? With PRO Rules Client and up, a folder watch sends new files in a folder or network share through the same rules.
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 Outlook attachments to a network folder automatically
- Microsoft 365 with Microsoft Graph
- Install the Windows service
- Save emails and attachments to folders with PRO Rules
- Why did my rule not download the attachment or email?
- Which edition?
Using version 3.x? See the 3.x version of this guide.
Questions about this post? Contact us.