Mail Attachment Downloader signs in to Microsoft 365, Outlook.com, Exchange Online and Gmail with modern authentication (OAuth 2.0). You sign in on Microsoft’s or Google’s own page in your browser, and the program never sees your password. It keeps only the sign-in (a token), encrypted for your Windows account.
This post covers version 4.0. Everything here is in the Free edition too, except where it says PRO.
In this post
The tool in this guide: Mail Attachment Downloader, freeDownload free
New in 4.0
- A tile for each big provider: Gmail, Outlook.com, Microsoft 365, Yahoo, AOL, Exchange and Other. Type your address and the right one is picked, also on your own domain: the program looks up its mail records.
- The Microsoft 365 tile connects with Microsoft Graph, the way Microsoft recommends.
- Sign in in a Private window, so an account your browser is already signed in to isn’t used by mistake. The Permissions tab shows what was Requested and Granted.
- Setup guides for 150+ providers that need an app password, and a plain explanation when a provider turns a password down.
Which settings should I pick?
| Your email | Tile | Connects with | How you sign in |
|---|---|---|---|
| Microsoft 365 (work or school) | Microsoft 365 | Microsoft Graph | Microsoft, in your browser, or App registration (PRO) |
| Outlook.com, Hotmail, Live | Outlook.com | IMAP | Microsoft, in your browser |
| Gmail, Google Workspace | Gmail | IMAP | Google, in your browser, an app password, or App registration (PRO) |
| Exchange on your own server | Exchange, with On-premises only ticked | Exchange Web Services (EWS) | Your password, or Windows sign-in |
| Yahoo, AOL, iCloud and others | Yahoo, AOL, or Other | IMAP | An app password, with the setup guide |
A Microsoft 365 account can also use Use IMAP instead or Use Exchange Web Services instead on the Server tab, still signing in with Microsoft. Prefer Microsoft Graph: Microsoft is switching EWS off in Exchange Online (from October 2026, and removing it in April 2027, by Microsoft’s schedule). If an older Microsoft 365 account still uses EWS, pick the Microsoft 365 tile and sign in again.

Signing in with your browser
- Click Add account and type your address in Email address. Check the tile against the table. With a browser sign-in, there is no password box.
- Click Test Connection. A sign-in window opens, then your browser. Pick Private window if your browser is signed in to another account.
- Sign in as the same account and allow every permission. On Google, tick every checkbox: unticked boxes aren’t granted.
- Go back to the program. It continues by itself and shows Connection works. Click Save.
If the browser didn’t open, click Browser didn’t open?. Keep Remember ticked so scheduled downloads can sign in by themselves. For a Microsoft 365 shared mailbox, tick This is a shared mailbox on the Server tab (PRO).

Yahoo, iCloud and others: app passwords
Yahoo, AOL, iCloud and many other providers don’t offer OAuth to other programs. They need an app password: a separate password for one program, which you can cancel without changing your main one. Gmail accepts one too if 2-Step Verification is on, but the browser sign-in is easier.
Type your address, then click Set up <provider>… in the note under Sign in. The guide opens the provider’s page to create the password, checks what you paste, and tests it. Click Use this password, then Save the account. See what each provider needs.

Typed your regular password instead? The program explains what the provider wants: click Open setup guide.

For IT administrators
By default the program signs in to Gmail, Outlook.com and Microsoft 365 through our own app, and each user grants it access. Most organizations only need to grant admin consent once. The sign-in window’s Copy for IT button copies the account, the client ID and the permissions requested, never passwords, tokens or secrets.
Built-in Microsoft app: Mail Attachment Downloader, client ID 327a7151-62e7-4ab6-af0a-55120ca90505, a multi-tenant desktop app with delegated permissions only and no client secret.
| Permission | Used for |
|---|---|
| Mail.ReadWrite, Mail.Send | Microsoft Graph: reading, moving and marking email, and rules that send email |
| Mail.ReadWrite.Shared, Mail.Send.Shared | Shared mailboxes only (PRO) |
| IMAP.AccessAsUser.All, SMTP.Send | Microsoft 365 and Outlook.com over IMAP |
| EWS.AccessAsUser.All | Exchange (EWS) only |
| https://mail.google.com/ | Gmail over IMAP. Google has no narrower IMAP permission. |
| offline_access | Staying signed in for scheduled downloads |
Your own app registration (PRO): pick App registration under Sign in and fill in the App registration tab. For Microsoft 365 (Graph, EWS or IMAP), a Client ID, Client secret and Tenant ID give app-only access, which password resets and sign-in policies don’t stop. For Gmail and Google Workspace, enter your own Google Cloud OAuth client; users still sign in once, through your app. It isn’t available for POP3, Exchange on your own server or personal Microsoft accounts. Guides: Microsoft Entra and Google Workspace. Read the security notes on app-only access first.

The Windows service (PRO Rules Server): browser sign-ins go with the service when it is installed. If one is revoked later, sign in again in the program, then click Reinstall… on Schedule › Service schedule. For Microsoft 365, app-only access avoids this.
Connection or sign-in problems?
Read the message above Test Connection: it gives the mail server’s own words. Then open Troubleshoot › Connection diagnostics, which shows each stage of the latest sign-ins with timings and the error.
| What you see | What to do |
|---|---|
| “Some permissions weren’t granted” | Sign in again and allow every permission. See granting the permissions. |
| Microsoft asks for admin approval, or 403 Forbidden | Send your IT team the Copy for IT text and this post. |
| Signed in as the wrong account | Sign in again in a Private window. |
| A Gmail or Microsoft account keeps failing | Troubleshoot › Clear saved sign-in, then Test Connection. |
| A Microsoft 365 account on EWS stopped connecting | Pick the Microsoft 365 tile and sign in again. |
Still stuck? Tick Verbose logging in Settings › Logs and support, try again, and click Submit a bug report…. Reports leave out passwords and tokens.
Free and PRO
Browser sign-in, the setup guides and Connection diagnostics are in the Free edition. The PRO editions add shared mailboxes, your own app registration, sending mail from your accounts (for rules and email notifications), and, from PRO Rules Client, uploads to OneDrive and SharePoint, which sign in on their own in Cloud connections.
Related
- Signing in with your browser
- App passwords and setup guides
- Custom app registration (PRO)
- Security and privacy
- Save Outlook attachments to a network folder automatically
- Download the Free edition
Feedback on sign-in? Contact us.