Mail Attachment Downloader - How To

This guide takes you from installing Mail Attachment Downloader 4.0 to your first download, and shows how to set up each kind of email account so it works the first time.

New in version 4.0 (builds 1080 and 1081)

  • A new main window: tabs for Downloads, Account rule, Schedule, Settings and Help, dark mode, and banners instead of message boxes. One Settings tab holds every option, with a search box.
  • One main button: Connect and Download starts a download, Stop stops it, and Resume goes on where it stopped.
  • Easier new accounts: a tile for each big provider, setup guides for 151 email services, sign-in in your browser for Gmail and Microsoft, and a walkthrough through each setting. See how.
  • History: each account remembers the emails it has already seen, so nothing is downloaded twice. Failed downloads are tried again by themselves, and Redo downloads again the dates and folders you choose.
  • A new Downloads tab: switch between Emails and Files, and between Runs and History, with filters and search. Accounts that need you show an Action required note with a fix button. More.
  • Installs beside version 3: 3.x stays installed, and 4.0 takes over its accounts and settings. New builds install from the program, after it checks the installer's signature. Since build 1081 it also takes over settings saved by the first 3.3 builds. More.
  • PRO downloads new email as soon as it arrives, keeps an encrypted backup of each account's emails, reads fields and invoices with the Parser, and automates what happens next with PRO Rules.
  • Security and privacy: passwords, sign-in tokens, keys and other secrets are better protected (more so in build 1081).

All release notes, build by build.

Get the latest build

Before contacting support, or if anything doesn't work as expected, make sure you have the latest build. The release notes list what changed in each build, and How to get the latest build has the details.

  • Updates install from the program. It looks for a newer build when it starts and once a day, and a banner at the top of the window says when one is ready. To check yourself, open Settings › Updates and click Check now, then Install.... The program downloads the installer and checks that it is the published file and that Gearmage signed it. Then it closes and the installer opens. You can also choose Remind me later or Skip this version.
  • Turn the check off with Check for updates when the program starts, and once a day on the same page. You can always download the installer from the download page instead.
  • Your version and build show at the top of the window, next to the program's name, for example "build 1080". Settings › Updates shows the full version.

Your settings: version 4.0 keeps them in %APPDATA%\MAD4. The first time 4.0 starts, it copies your version 3 settings and accounts there once. Version 3's own settings are never changed, so 3.x keeps working as before. Settings are kept when you install a newer 4.0 build. For a backup, open Settings › Export / Import settings and click Export settings (passwords aren't exported), or open Settings › Logs and support and choose Settings folder › Save settings as a zip....

Quick start: your first download in five steps

The top of the main window: the header with the edition and build, the Account box with Settings..., Add account and Remove, the Password and Save location boxes, the Connect and Download button, and the tabs
The top of the main window, with one account open.
  1. Click Add account. The Mail account and server configuration window opens, and a short walkthrough shows each step.
  2. Type your email address in Email address. The program picks your provider's tile and fills in the server for you. If the provider needs something first, such as an app password, a note under Sign in says so. Follow Set up your mail account below.
  3. Click Test Connection, then Save. Gmail, Outlook.com and Microsoft 365 open your web browser so you can sign in with your provider (see Signing in with your browser).
  4. Choose the folders and where the files go. After Save, the walkthrough goes on in the main window. A new account searches only the Inbox: click Choose folders now to tick other folders. Then pick the folder for the files with Pick a folder.... Later, change it with Browse... next to Save location, and open it with the folder icon beside it.
  5. Click Connect and Download. Under the button, a line shows how far it is, for example "Downloading 823 of 6,288 · 290 processed". The Downloads tab lists the emails and the files as they're saved. While it runs, the button says Stop; after a stop, Resume goes on with what was left.

To change an account later, choose it in the Account box and click Settings.... To remove it, click Remove. The walkthrough shows for each new account; turn it off in Settings › Startup and tray.

To download from folders other than the Inbox, open the Downloads tab and click Choose other folders... in Folders to search, then tick the folders you want. Search the Inbox only goes back to the Inbox. This needs IMAP, Exchange or Microsoft 365: POP3 accounts download from the Inbox only.

Choose exactly what to download

The Account rule tab decides what the account in the Account box downloads. It has three pages, and a change is saved at once:

  • Search: under Search in, History decides what is new, so each run takes only the emails it hasn't seen yet. Backfill emails... brings in older mail. You can also set a Start date and End date, a minimum email size (Size >, the size of the whole email, attachments included), Inline content (slower) for pictures placed inside an email's text, and Exclusions for file names to leave out.
  • Filters: Download only files of type (documents, pictures, music, movies or your own, like .zip), and Download only if the following match: the sender, recipients, subject or text.
  • Folders and file names: What to save (the attachments, each email with its attachments, or each email only), the Saved file name, and Folder options to make a folder for each sender or each mailbox folder.

To download by itself, open the Schedule tab › App schedule, turn it on and tick On a timer. The free version downloads daily while the program is open. PRO adds every 15 minutes, hourly or your own time, As soon as new email arrives, and a Windows service that downloads even when no one is signed in.

Looking for an option? Type in Search settings at the top of the Settings tab.

Set up your mail account

The Mail account and server configuration window opens when you click Add account, or Settings... next to the account. Its three steps show at the top: Enter your mail details, Test the connection, Save. In most cases the program fills in everything from your email address, and you only need to sign in or enter a password.

The Mail account and server configuration window for a Microsoft 365 account: the three steps, the Email address, the provider tiles, Sign in, the Server tab, and the Test Connection and Save buttons
The account's settings, here for a Microsoft 365 account. Other providers show their own sign-in choices and server.
  • Email address: your full address. The provider is picked from it, and for your own domain the program looks up its mail records. Typing the address of another saved account switches to that account's settings; if you have unsaved changes, it asks whether to save or discard them first.
  • Provider: a tile for Gmail, Outlook.com, Microsoft 365, Yahoo, AOL and Exchange, and Other for the rest. Under Other, the Provider list has the other services, with Search providers to find yours, and Custom host and port (IMAP or POP3) for any other mail server.
  • Server: the Server tab shows the server the provider uses. Leave it as it is unless your provider tells you otherwise; Change lets you edit the host, Port and SSL/TLS. If you changed things and want the program's settings back, click Reset to recommended settings.
  • Sign in: how the account signs in: in your browser for Gmail and Microsoft, or with a password or app password. When the provider needs something before it lets the program in, such as an app password or IMAP turned on, a note here says so: click Set up <provider>… and follow the setup guide. Keep Remember ticked so scheduled downloads can sign in by themselves.
  • Test Connection, then Save: the program signs in and opens your Inbox, and the bar above the buttons turns green when it works. Save turns on once the test works.

Which settings should I pick?

Your emailTileHow you sign in
Gmail, Google WorkspaceGmailWith Google in your browser. Turn on IMAP first if Gmail asks.
Outlook.com, Hotmail, LiveOutlook.comWith Microsoft in your browser
Microsoft 365 (work or school)Microsoft 365With Microsoft in your browser. See Microsoft 365.
Exchange on your own serverExchangeYour Windows or Exchange password. See Exchange (EWS).
Yahoo, AOL (including Verizon.net)Yahoo or AOLApp password: click Set up…
iCloud, Zoho, Proton, Fastmail, GMX, GoDaddy, IONOS and othersOther: pick your provider in the Provider listDepends on the provider: click Set up…
Your own domain (you@yourcompany.com)Just type the address. The program looks up your domain's mail records to find the provider: Google Workspace picks the Gmail tile, Microsoft 365 picks the Microsoft 365 tile, and hosting providers in the list are picked too.
Any other mail serverOther: Custom host and port (IMAP or POP3)Enter the host and port from your provider's help pages, usually port 993 with SSL/TLS ticked. Prefer IMAP to POP3.

Yahoo, iCloud and other providers: app passwords and setup guides

Many providers don't accept your regular password in other programs. Instead they need an app password (a separate password for one program), or they need access for other programs turned on first. The program knows what each provider needs and walks you through it:

  1. Enter your email address in the account's settings. Your provider's tile is picked, or Other with your provider in the Provider list. If it isn't, pick it yourself.
  2. Click Set up <provider>… in the note under Sign in. The setup guide opens.
  3. Follow the guide's steps (below), then click Save in the account's settings.
The Set up AT&T Mail guide: what the provider needs, 1. create a secure mail key with an Open button, 2. paste it here with Show, 3. Test the connection, and the Use this password button
A setup guide, here for AT&T Mail. Every provider's guide has the same parts, from top to bottom: A to D below.
  1. AOpen the provider's page: the Open buttons take you straight to the right page, for example to create the app password. Name it "Mail Attachment Downloader" so you can recognize it later. Full guide with screenshots opens more help.
  2. BPaste the password: the guide checks that it looks right. For example, Yahoo and AOL app passwords are 16 letters, and Apple's look like abcd-efgh-ijkl-mnop. If it says the password doesn't look right, you probably pasted your regular password.
  3. CTest connection: signs in and opens your Inbox, and says what went wrong if it can't.
  4. DUse this password: puts the password and server into the account's settings. Click Save there to keep them.

Changed your provider password? Some providers cancel all app passwords when you change your main password (Apple does). Create a new app password and enter it with the setup guide again.

What each provider needs

All of these connect with IMAP on port 993 with SSL unless noted. The setup guide in the program has the same steps, with buttons that open each page.

ProviderWhat you needIMAP server
Yahoo Mail (also ymail.com, rocketmail.com)An app password: in Yahoo Account Security, click Generate app password. Use a browser you normally use for Yahoo, not a private window, or Yahoo may not offer it.imap.mail.yahoo.com
AOL Mail (also aim.com, verizon.net)An app password: in AOL Account Security, click Generate app password. Verizon.net addresses sign in at AOL.imap.aol.com
Apple iCloud MailAn app-specific password (needs two-factor authentication): at account.apple.com, open Sign-In and Security > App-Specific Passwords. With your own domain on iCloud+, enter your @icloud.com address as the Account.imap.mail.me.com
Zoho MailIMAP access turned on (Zoho Mail: Settings > Mail Accounts > IMAP Access), and an app-specific password if your account uses two-factor authentication. Pick where your account was created in the guide.imappro.zoho.com (own domain) or imap.zoho.com; .eu, .in, .com.au for other regions
Proton MailProton Mail Bridge (paid Proton plans) running on your own system, set to SSL, with its certificate trusted. Use the password Bridge shows under Mailbox details, not your Proton password.127.0.0.1 port 1143
FastmailAn app password: Settings > Privacy & Security > Manage app passwords and access, with access to Mail.imap.fastmail.com
GMX MailPOP3 & IMAP access turned on in GMX's settings, and an app-specific password if two-factor authentication is on.imap.gmx.com or imap.gmx.net (Germany, Austria, Switzerland)
Mail.comPOP3 & IMAP access turned on in mail.com's settings (not all plans include it).imap.mail.com
Yandex MailIMAP turned on (Settings > All settings > Email clients) and an app password from Yandex ID.imap.yandex.com
Mail.ruA password for external applications: Security > Passwords for external applications.imap.mail.ru
GoDaddy Workspace EmailYour email password (the one for GoDaddy Webmail), not your GoDaddy account password. If your GoDaddy email is Microsoft 365, use Microsoft 365 instead.imap.secureserver.net
IONOS (1&1)This mailbox's own password, not your IONOS customer login. Pick your IONOS country in the guide.imap.ionos.com, imap.ionos.de or imap.ionos.co.uk
Titan Email"Enable Titan on other apps" turned on in Titan webmail (Settings > Security), then your Titan password.imap.titan.email
Hostinger EmailThis mailbox's password (set it in hPanel under Emails). If it's Titan, pick Titan Email.imap.hostinger.com
Bluehost and other cPanel hostingThis mailbox's password. Check the server name under Email > Email Accounts > Connect Devices.Usually mail.yourdomain.com
Namecheap Private EmailYour webmail password, or an application password if two-factor authentication is on.mail.privateemail.com
Rackspace EmailYour webmail password, or an app password if the mailbox uses multi-factor authentication.secure.emailsrvr.com
Neo Mail, SpacemailThe password you sign in to their webmail with (for Spacemail, not your Spaceship account password).imap.neo.space, mail.spacemail.com
Mailbox.org, Posteo, HushmailYour regular password (Hushmail: your passphrase, on plans that include IMAP). Mailbox.org needs an application password if two-factor authentication is on.imap.mailbox.org, posteo.de, imap.hushmail.com
IceWarpYour IceWarp password. The server is your organization's IceWarp webmail address.Usually mail.yourdomain.com

When the provider turns down the password

If a test or a download fails because the provider refused the password, for example a regular Yahoo password instead of an app password, the program explains what the provider needs. It works out the reason from what the server did, so this works even when the server answers in German, French or another language.

The window Yahoo Mail didn't accept the sign-in: Yahoo Mail turned down the sign-in for contoso.finance@yahoo.com, what Yahoo needs, How to fix it in two steps, and the Show details, Copy details, Open setup guide and OK buttons
What the program shows when Yahoo turns down a regular password.

Click Open setup guide to get the right password, paste it in place of the current one, and test again.

Gmail, Outlook.com and Microsoft 365: signing in with your browser

These accounts sign in with OAuth: you sign in on Google's or Microsoft's own page, and the program never sees your password. When you click Test Connection (or the first time you download):

  1. A sign-in window opens and shows the account being set up, then your web browser opens. Pick Private window if your browser is signed in to another account, so that one isn't used by mistake.
  2. Choose the same account on the sign-in page, not another account your browser is signed in to.
  3. Allow every permission. On Google, tick every checkbox before clicking Continue: unticked boxes aren't granted. What the app asks for lists each permission and why.
  4. Go back to the program. It continues by itself once you've signed in. If the browser didn't open, click Browser didn't open?.

If the program says "Some permissions weren't granted", follow this help article. For work or school accounts, the sign-in window's Copy for IT button copies the details your administrator needs. Read how we handle your data in our security and privacy policies.

PRO Organizations that don't allow our app, or that run the program unattended, can sign in through their own app registration instead: choose App registration under Sign in and fill in the App registration tab of the account's settings. It works for Microsoft 365 work or school accounts, where app-only access with a client secret doesn't depend on a user's sign-in, and for Gmail / Google Workspace. Setup guides: Microsoft 365 (Entra) and Google Workspace. More in Security.

Microsoft 365 (Exchange Online) with Microsoft Graph

For Microsoft 365, Exchange Online and work or school Outlook accounts, pick the Microsoft 365 tile. The Server tab then says it Connects with Microsoft Graph, the way Microsoft recommends.

Email address: usually your email address (someone@contoso.onmicrosoft.com), or your username or domain\username. Tick This is a shared mailbox if this is a shared mailbox.

If you type an address on your own domain and its mail is hosted by Microsoft 365, the program finds it from the domain's mail records and picks the Microsoft 365 tile for you.

Exchange Web Services is an older connection type that Microsoft is retiring for Exchange Online. Use Microsoft Graph above for Microsoft 365. EWS still works best with older Exchange servers on your own network.

  • TilePick Exchange. On the Server tab, tick On-premises only for an Exchange server on your own network, and pick its Version.
  • Email addressUsually your email (someone@contoso.onmicrosoft.com) OR username OR domain\username
  • Domain (optional)Leave blank if the domain is already part of the Email address (i.e. user@domain.com OR domain\username).
  • ServerFind the server automatically (Autodiscover) works when the Email address is a full email address. Otherwise choose Use this: and enter the full EWS URL, e.g. https://mail.server/EWS/Exchange.asmx. This URL usually ends with EWS/Exchange.asmx.
  • Sign inMicrosoft sign-in in your browser, your password, or Windows sign-in for a server on your own network.

If you can't get Exchange working, contact support and tell us what you see. You can also try the Outlook.com tile, or Other with Microsoft's IMAP settings for Outlook.com and Microsoft 365.

Check that your account is set up correctly

Before you rely on scheduled downloads, run through this list:

The main window after a first download: the Downloads tab with Folders to search, Runs and History, the list of emails each saved with Saved 1 file, Emails and Files, and the status line
The Downloads tab after a first download: each email and what was saved from it.
  • Test Connection worked (the step says Connection works), then you clicked Save.
  • Remember is ticked in the account's settings (or Save password in the main window), so scheduled downloads don't stop to ask for the password.
  • The Save location exists and you can write to it. For a network folder, type a \\server\share\folder path rather than a mapped drive letter.
  • Your first Connect and Download finished. On the Downloads tab, Files lists what was saved and Emails lists the emails History worked on, each with its state.
  • Choose Failures only under State to see anything that went wrong, and Runs to see what a single run did. Sign-in and connection errors are listed too.
  • No Action required note at the top of the window. If there is one, click it: it lists the accounts that can't run until you fix something, with a button for each fix.

Connection or sign-in problems?

  1. Read the message. The bar above the account's Test Connection button gives the mail server's own words, and Details shows all of it. Sign-in problems say what the provider needs and what to do. For app-password providers, click Open setup guide. For Gmail and Microsoft accounts, see Signing in with your browser.
  2. Open Connection diagnostics. Click Connection diagnostics in the bar after a failed test, or Troubleshoot › Connection diagnostics in the account's settings (it's also on the Help tab). It shows each stage of the latest connections and sign-ins with timings, errors and TLS certificate details, and warns when a firewall, proxy or antivirus inspects the connection. Passwords, tokens and secrets are never shown or included.
  3. Check with your provider or IT. Make sure IMAP (or POP3 or Exchange) is turned on for your mailbox, and that a firewall or antivirus isn't blocking the connection.
  4. Search the help desk for your error.
  5. Send us a bug report. Turn on Verbose logging in Settings › Logs and support, try again so the problem happens, then click Report a bug at the top of the window (or Submit a bug report... on the same page). Describe what happened and add screenshots. The report includes the connection diagnostics and the logs, and opens as an email to support@gearmage.com in your email program, so you can look it over before sending it.

Tip: for a Gmail or Microsoft account that keeps failing to sign in, choose Troubleshoot › Clear saved sign-in in the account's settings, then click Test Connection to sign in again. If you changed several settings and it still doesn't connect, click Reset to recommended settings, or remove the account with Remove next to the Account box and add it again with Add account.

Frequently Asked Questions

Will it download my old mail the first time I run it?

A new account searches the Inbox (or the folders you ticked) and downloads the mail it finds there. When a folder holds many older emails, the run waits and shows how many: you choose whether to download them or skip them.

History remembers each email the account has seen, so later runs take only new mail, and nothing is downloaded twice, even after a restart. If a run is interrupted (you stop it, the network drops or the computer goes to sleep), Resume or the next run goes on where it stopped, and failed downloads are tried again by themselves.

To bring in older mail later, use Backfill emails... on the Account rule tab's Search page.

How do I download from a given date?

Open the Account rule tab › Search, tick Start date and pick the date. Leave End date unticked for no end date. Only the emails in that range are downloaded.

How do I re-download the same attachments?

Click the arrow next to Connect and Download and choose Redo.... Pick the dates and folders, and what to do: download the emails again, or erase them and download them again. To download the pictures placed inside an email's text too, tick Inline content (slower) on the Account rule tab's Search page first.

How secure is the application?

The application tries to default to the most secure means of connection and authentication available - see more info about security. Gmail, Outlook.com and Microsoft 365 sign in with OAuth in your browser, so the program never sees your password. Providers such as Yahoo, AOL and iCloud don't offer OAuth to other programs, so they need an app password instead: a separate password you can cancel at any time without changing your main one. See app passwords and setup guides.

Google blocked the sign-in or sent me a security alert

Google doesn't accept regular passwords from other programs. Gmail and Google Workspace accounts sign in with Google in your web browser instead: make sure the Gmail tile is picked in the account's settings, click Test Connection, and sign in when your browser opens. See Signing in with your browser.

Google may send a "new sign-in" or "access granted" security alert the first time you allow the program. That's expected. More info about security

Having trouble connecting or authenticating?

Start with the message the program shows: it says what the provider needs. Then:

  • Yahoo, AOL, iCloud, Zoho and the other providers: click Set up <provider>… under Sign in and follow the setup guide.
  • Gmail, Outlook.com and Microsoft 365: see Signing in with your browser.
  • Make sure IMAP (or POP3 or Exchange) is turned on for your mailbox. Your provider's help pages or your IT administrator can tell you.
  • You may be behind a firewall, or antivirus software may be blocking the connection. Ask your IT administrator to check the host, port and TLS settings and that you can reach the mail server.

Still stuck? Follow Connection or sign-in problems, then send us a bug report from the program.

I'm using Gmail and some attachments aren't being downloaded.

Some attachments are placed inside the email's text (inline). Tick Inline content (slower) on the Account rule tab's Search page. If the attachment still doesn't download, contact issues@gearmage.com.

Why can't I choose other folders?

The account uses POP3. POP3 has no folders, so POP3 accounts download from the Inbox only.

If your mail server supports IMAP, open the account's Settings... and choose IMAP under Protocol on the Server tab. Then click Choose other folders... on the Downloads tab.

Setting the date doesn't seem to work

If the account uses POP3 (check Protocol in the account's settings), the program still needs to read the mail from the start, even when a date is set. Use IMAP if your mail server supports it.

Outlook's winmail.dat attachments

Outlook sometimes sends attachments packed in a winmail.dat file (TNEF). Version 4.0 saves the files inside it as the email's own attachments.

The download says "throttled". What is that?

Some email providers like Gmail slow down (throttle) the connection when a program asks for a lot of mail from one account. The download goes on, more slowly.

When a provider's limit is reached, the program shows the limit with advice. For Gmail's daily download (bandwidth) limit, the run stops and keeps its place, and the next run after the limit resets continues from there.

Where are the settings stored?

Version 4.0 keeps its settings in the %APPDATA%\MAD4 folder of the Windows user. Version 3 used %APPDATA%\MAD, which 4.0 copies once at its first start and never changes. To open the folder, go to Settings › Logs and support and choose Settings folder › Open settings folder. From there you can also choose Save settings as a zip..., for a backup or to send to support. Passwords aren't stored in plain text.

My password works in webmail, but the program says it's wrong

Many providers only accept an app password in other programs, or need IMAP access turned on first. Yahoo, AOL, iCloud, Fastmail, Yandex and Mail.ru always need an app password, and others need one when two-factor authentication is on. Pick your provider in the account's settings and click Set up <provider>…: the guide shows exactly what to do. See app passwords and setup guides.

Where can I see what was downloaded, or what failed?

Open the Downloads tab. Files lists the saved files and Emails the emails, each with its state. Choose the days under When (This run, Today, Last 7 days and more), choose Failures only under State to see what went wrong, pick a single run with Runs, or type in the search box to find a file. Sign-in, connection and folder errors are listed too.

In Folders to search on the left, each folder says how far it is and why emails wait, for example "3 will retry 10:58".

Can I keep version 3?

Yes. Version 4.0 installs beside version 3 and doesn't remove it. At its first start, 4.0 copies version 3's accounts and settings once; after that, changes in one version don't reach the other. Only one copy of the program runs at a time: starting one while the other is open asks what to do. The version 3.x guide is still here.

Related

Helpful Resources

Find Solutions to Common Problems

Before reaching out, explore these quick-access links to guides, updates, and troubleshooting resources. Most common questions are answered here—saving you time and getting you back on track faster.

Upgrade to Pro

Get the PRO version

We try to ensure our programs are bug free and adapt to changes that email providers continually make. The free versions are fully functional software for non-commercial use only.