Create email rules with AI: describe what you want, test it, save it

Create email rules with AI: say in plain words which emails to save and what to do, and Mail Attachment Downloader writes the rule for you to test.

To create email rules with AI, open the AI Assistant tab in Mail Attachment Downloader and say in plain words which emails to pick and what to do with them. The AI writes the PRO rule, with its conditions, save folder and steps, and shows it as a tree you can read. You test it on your own emails and save it.

The examples use Contoso’s mailbox finance@contoso.com and invoices from Acme and Fabrikam.

What can the AI Assistant write?

Everything a rule in the Rule Editor has:

  • Which emails: the sender, words in the subject or body, attachment names, dates, the account or mailbox folder.
  • Save: the attachments, the email, or both, and the folder, such as D:\Finance\Invoices.
  • Then: the steps after saving, in order: convert to PDF, upload to SharePoint, send a notification to Slack or Teams, move the email to a folder, and more.
  • If something fails: what to do when a step goes wrong.

Some things people ask for:

  • “Save the PDF invoices from acme.example into D:\Finance\Invoices and tell the finance team on Slack.”
  • “Put statements from Fabrikam in a folder for each year and month, and move the email to Processed.”
  • “Upload signed contracts to the Finance SharePoint, only from the last 3 months.”

What you need

  • The edition: anyone can try the AI Assistant, with the free edition too. There, Apply to my filters… puts what Free can do into the account’s own settings. To save the result as a PRO rule you need PRO Rules Client or PRO Rules Server. The preview marks a step that needs more, such as “Needs PRO Server”.
  • An AI: the built-in AI model (a one-time download of about 2 GB), your own AI server, or a cloud AI with your own account. More on that below.
  • An email account: Gmail, Microsoft 365, Exchange or any IMAP mailbox, so the rule can be tested on real emails.

How to create an email rule with AI

1. Set up the AI once

Click the AI Assistant (beta) tab, the first tab under the Account box. Click Download to get the built-in model, or Use my own AI… for your own server or a cloud AI. The line at the top says which AI answers, such as “AI: Built-in AI model, on this computer”.

2. Describe the rule

Type what you want under Your message and click Send. Write it the way you would tell a colleague. If the AI needs something only you know, such as who to notify or which mailbox folder, it asks, with the channels and folders you have set up as buttons to pick from.

3. Check the rule it wrote

The rule appears on the right as a tree: Which emails, Fields to find, Save, Then and If something fails, the same outline the Rule Editor shows. The AI also says in one sentence what the rule does. Prefer words? Show as text.

Create email rules with AI in the AI Assistant tab of Mail Attachment Downloader: the request to save the PDF invoices from acme.example into D:\Finance\Invoices and tell the finance team on Slack, and the rule Supplier invoices with From acme.example, Attachment name pdf, Save the attachments, Then Convert documents and Send notification
One sentence in, one rule out: conditions, save folder and steps, ready to test.

Not quite right? Say what to change: “only the last 3 months”, “also save the email”. Each change is a new version, and the arrows next to the version go back to an earlier one.

4. Test it on your emails

Click Test it…. The rule runs on emails you pick, without saving or changing anything. Under Test results you see which emails it matched. Where a result is wrong, change the tick in Should match and click Fix from my ticks: the AI changes the rule so it picks the right ones.

Mail Attachment Downloader's AI Assistant with the built-in AI on this computer: the request to save supplier PDF invoices to \\fileserver\Finance\Invoices and mark them read, the rule it wrote, and Test results: 4 of 5 emails match, with Should match ticks and Fix from my ticks
Test it shows which emails the rule picks; tick the ones it should, and Fix from my ticks asks the AI to correct the rule.

5. Save the rule

Click Open in Rule Editor (advanced), check the rule’s name and click Save. It is now on the PRO Rules tab and runs with each download. Later changes in the AI Assistant go over it with Save changes (you see what changes first), or into a copy with Save as a new rule….

If the rule changes emails on the mail server, such as moving or deleting them, the AI Assistant asks you to review it in the Rule Editor before it is saved.

Change a saved rule with AI

A saved rule can be changed in words too. In the Rule Editor, click Edit using AI. The AI pane opens beside the rule: describe the change, such as “Also save the invoices from Fabrikam”, and the AI makes it. What it changed is highlighted in the rule and listed under the conversation, and Undo puts the rule back as it was.

Edit using AI in the Rule Editor of Mail Attachment Downloader: the AI pane beside the rule Supplier invoices, the request Also save the invoices from Fabrikam, the new condition From fabrikam.example highlighted, and the Undo button
Edit using AI: the AI adds the condition, highlights it, and Undo takes it back.

Other ways in: on the PRO Rules tab, pick a rule and choose Edit using AI (or tick Always edit using AI); the arrow next to New rule… has Create using AI…; and the AI Assistant tab’s Open a rule carries on the conversation about a rule where it was.

AI email automation inside your rules

The AI can also do work in the rule itself, as a step. Find fields with AI reads values such as the invoice number, due date and total out of each saved file, for the steps after it (PRO Rules Client). Run an AI prompt runs your own prompt on each email and saves the answer (PRO Rules Server). See extract data from emails and attachments.

AI email automation in a PRO rule: the Rule Editor with the rule Scanned invoices, Make PDFs searchable (OCR), then Find fields with AI reading INVOICE_NUMBER, DUE_DATE and TOTAL_INCLUDING_TAX with the built-in AI model, then Save to a database, Web hook, Upload to cloud and Send notification
A rule with an AI step: the fields it finds go to a database, a web hook and SharePoint.

Built-in AI or your own provider?

You choose which AI writes your rules, in the AI Assistant tab’s AI settings…:

  • The built-in AI model: runs on your own system with limited rights, after a one-time download. Nothing you type or test is sent anywhere, and it costs nothing.
  • Your own AI server: Ollama, LM Studio or another OpenAI-style server, on your network or elsewhere.
  • A cloud AI service with your own account: OpenAI, Anthropic Claude, Google Gemini or Microsoft Azure OpenAI, with your own key. You pay the service for what you use.

Keys are kept encrypted on your system, one for each provider. They are also in Settings › Sources › AI Providers, where Test provider checks a key and Make this the default AI picks the AI the rules’ AI steps use.

Use your own AI provider for email automation: the AI provider OpenAI window in Mail Attachment Downloader with a Key box, An API key from the OpenAI platform, not a ChatGPT subscription, the Default model, Make this the default AI and Test provider
Your own OpenAI key: the window says where the text goes and whose terms apply.

Cloud AI is never used without asking

Nothing goes to a cloud service until you pick it and say yes to a question that names the service and says what is sent. It asks again if you change the service or its address, and the built-in model is always the way back. What goes:

  • Always: what you type, and the names the AI needs to write the rule: your accounts’ addresses, mailbox folder names, cloud connection and notification channel names.
  • Only if you allow it: the senders, subjects and attachment names of recent emails (Also send the senders, subjects and attachment names of recent emails, off for cloud services), and of the emails you test the rule on.
  • Never: the text of your emails or the files.

Questions people ask

Can I automate email with ChatGPT?

Yes, through OpenAI, the company behind ChatGPT. Pick OpenAI and enter an API key from the OpenAI platform (platform.openai.com). A ChatGPT subscription doesn’t include one. The same goes for Claude: an API key from the Anthropic Console.

Does the AI read my emails?

Not their text. The built-in model runs on your own system, so nothing leaves it. With a cloud AI, only what’s listed above goes, and only after you say yes.

What if the AI gets the rule wrong?

Nothing runs until you save it. Test it first, fix it with your ticks or a sentence, or go back a version. You can also open it in the Rule Editor and change it by hand.

Do I have to use the AI to make rules?

No. Every rule can be made and changed in the Rule Editor without AI. The AI Assistant is a faster way to start.

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

Questions about this post? Contact us.

MCP server for email attachments: let AI agents read your downloads

MCP server for email attachments: let GitHub Copilot, Claude Code or any AI agent ask what was saved, what failed and what needs you. Read-only, local.

Mail Attachment Downloader has a built-in MCP server for your email attachments. Switch on AI agents, and GitHub Copilot in Visual Studio Code, Claude Code, Gemini CLI or any other MCP agent on the same system can ask which files were saved, which downloads failed and which accounts need you. It only reads, it is off until you turn it on, it listens on your own system only, and an agent needs a token.

The examples use Contoso’s mailboxes finance@contoso.com and ap@contoso.com, invoices from Acme and Northwind, and the parser Supplier invoices.

What can you ask an AI agent about your email downloads?

MCP (Model Context Protocol) is the way AI agents call tools. With the server on, you ask in your own words and the agent picks the tool. For example:

  • “Which invoices from Acme were saved this week, and in which folder?”
  • “Did any downloads fail since Monday? Why?”
  • “Which accounts need me to sign in again?”
  • “How many files did each rule save in the last 7 days?”
  • “How is the Supplier invoices parser doing, and what is waiting for review?”

It saves you opening the program to look, and it lets an agent use the answer in the work it is doing, such as a report or a script that reads the saved files.

What you need

  • The edition: any PRO edition, from PRO Backup up. The Parser tools come with PRO Parser and up.
  • The program open: the server runs in Mail Attachment Downloader’s window, not in the Windows service. While the window is open it also reads what the service downloaded.
  • An agent: on the same system, one that speaks MCP over HTTP: GitHub Copilot in VS Code, Claude Code, Gemini CLI or another.

How to turn on the MCP server

  1. Open Settings › Sources › AI Agents (MCP server), pick AI agents (MCP) and click Edit….
  2. Tick Let AI agents on this computer ask what I’ve downloaded (MCP server).
  3. Keep the Port (17820) unless another program uses it. A Token is made for you; Show and Copy it, or New token… to replace it.
  4. Under What agents may see, choose what to share (below).
  5. Click OK. The server starts at once.
MCP server for email attachments: the AI agents window of Mail Attachment Downloader with Let AI agents on this computer ask what I've downloaded ticked, port 17820, a hidden token, What agents may see, and Copy VS Code setup, Copy Claude Code command, Copy Gemini CLI command and Copy address and token
The AI agents window: on, local, with a token, and you choose what agents see.

Connect GitHub Copilot, Claude Code or Gemini CLI

Under Connect an agent, one click copies what each agent needs:

  • GitHub Copilot in VS Code: Copy VS Code setup copies the server’s entry for VS Code’s mcp.json, with the address and the token. Paste it in, start the server in VS Code, and ask Copilot in agent mode.
  • Claude Code: Copy Claude Code command copies a claude mcp add command to run once in a terminal.
  • Gemini CLI: Copy Gemini CLI command copies the matching gemini mcp add command.
  • Any other MCP agent: Copy address and token. The address is http://127.0.0.1:17820/mcp, and the token goes in an Authorization: Bearer header.

What you copy holds the token: keep it to yourself, as you would a password.

What can an AI agent read?

Seven tools tell an agent about your downloads, from the same History the Downloads tab shows:

  • Status: the version and edition, whether a download is running, the accounts and the latest runs.
  • Accounts and runs: the accounts set up, and for each run who started it, how it ended, files saved and failed.
  • Search saved files: by words, account, rule, run or time, or only the problems.
  • Summary: counts for the last days, by account and by rule.
  • Needs action: accounts that can’t download until you fix something, such as an expired sign-in or a save folder that can’t be reached, with what to do.
  • Rules: what your rules do, in plain words: which emails, what they save, where, and the kinds of their steps.
AI agent read email downloads: the History of saved files in Mail Attachment Downloader, with invoices such as INV-2026-0412.pdf saved to D:\Finance\Invoices, their size, date processed, status Saved or Replaced, the rule and the run
What an agent searches: the saved files, where they went, and how each one ended.

With PRO Parser and up, six more tools cover the Parser: the parsers and their fields, one parser in detail, its health (how often each field was found), what waits for review, the latest results, and a test of a parser’s patterns on a text the agent gives.

The Results of the Supplier invoices parser in Mail Attachment Downloader: invoice number, supplier, due date and total read from emails from Acme, Northwind, Fabrikam and Contoso, each Done
The values a parser read: hidden from agents unless you allow them.

What agents may see, and what they never see

You decide under What agents may see, and a change counts at once:

  • Who sent each email, who it went to and its subject: off, they are neither shown nor searched.
  • The full path of each saved file (off: only its name).
  • What my rules do (their conditions, folders and kinds of actions): also needed for the Parser tools.
  • Let agents read the values the parsers read out of emails: off by default, as names, amounts and addresses can be personal data. Then at most 50 records at a time.

Never shared: the text of your emails, the files themselves, passwords, connection details, and where a rule or parser sends data. File names, times and the status of each download always are.

Keep in mind that what an agent reads goes to the AI model the agent uses, as any tool result does. Share only what you are happy for that model to see.

What it can’t do

The server only reads. No tool starts a download, changes a setting, touches a file, or approves or rejects an email waiting for review. An agent can’t make the program do anything; it can only ask. To run downloads on a timetable, use the Schedule tab.

The Mail Attachment Downloader main window with Connect and Download and the Downloads tab listing invoices and purchase orders from ap@contoso.example, each Saved 1 file
Downloads still start here or on the schedule: agents only look.

How the MCP server is protected

  • Local only: it listens on 127.0.0.1, so nothing on the network can reach it, and web pages in a browser can’t call it.
  • A token: a long random token, kept encrypted for your Windows user, never in the settings or the logs. New token… replaces it at once.
  • Careful with what agents send: an agent’s questions are treated as untrusted, and answers are limited in size.
  • Off means off: when it is off, nothing listens.

Microsoft Copilot Studio and Microsoft 365 Copilot

Copilot Studio agents and Microsoft 365 Copilot run in Microsoft’s cloud, so they can’t reach an address on your own system. To use one, you have to make the address reachable from the internet yourself, such as with a Microsoft dev tunnel or a reverse proxy you control, then add it in Copilot Studio as an MCP server with the token as its key. Think it over first: whoever has the token and can reach the address can read what you allowed. Using it with Microsoft 365 Copilot and Copilot Studio… in the window explains it.

Questions people ask

Can the agent start a download or change a rule?

No. It can only read. To change a rule with AI, use the AI Assistant in the program.

Can GitHub Copilot read my email?

Not the text of your emails or the files. It sees file names, times and statuses, and senders and subjects if you allow it.

Does it work in the free edition?

No. AI agents need a PRO edition, from PRO Backup up.

Does it work when the Windows service downloads?

Yes, while the program’s window is open: it reads the service’s History too. The service itself doesn’t run the MCP server.

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

Questions about this post? Contact us.

Extract data from email with AI: ChatGPT, Claude, Gemini or a local model

Extract data from email with AI: name invoice fields in plain words, read them with a local model, ChatGPT, Claude or Gemini, and review doubtful values.

To extract data from email with AI, you say in plain words what to look for, such as “the invoice number” or “the date payment is due”, and an AI reads it out of each email and its attachments. Mail Attachment Downloader does this in its Parser, with a built-in AI that runs on your own system or with your own OpenAI (ChatGPT), Anthropic Claude, Google Gemini or Azure OpenAI account. It shows where each value was read and how sure the AI is, and holds doubtful emails for you to check.

The examples use Contoso’s mailbox finance@contoso.com and invoices from Acme, Northwind and Fabrikam, such as INV-2026-0412.

How does AI data extraction from email work?

  • You name the fields in words: “The invoice number”, “The supplier’s name”, “The total to pay”. No patterns, no templates per supplier.
  • One AI call per email: the AI reads the subject, the sender, the body and the text of the attachments (PDF, Word, Excel and text files) and fills all the fields at once.
  • Each value is checked against the text: you see where it was read and how sure the AI is. A value that isn’t in the text is flagged.
  • The values become fields: {INVOICE_NUMBER}, {TOTAL} and the others name files and folders, and go to CSV, Excel, Google Sheets or a database.

What you need

Local AI or ChatGPT, Claude and Gemini: choose the AI

The AIs are set up once in Settings › Sources › AI Providers; each parser and step then picks one. Edit… opens a provider: its Key, its Default model (Refresh list asks the service which ones it has), Make this the default AI, and Test provider, which asks one tiny question with no email or file.

The built-in AI: local document extraction

The built-in model runs on this computer, with limited rights. Nothing leaves the computer, and it costs nothing. Get it once in the AI Assistant (beta) tab with Download (about 2.2 GB). It is slower than the cloud services and reads text only: the program takes the text out of PDF, Word and Excel attachments for it, but it can’t look at pictures.

Local AI for document extraction: the AI provider window for the Built-in AI model (on this computer), Make this the default AI ticked, nothing leaves this computer and it costs nothing, Test provider
The built-in AI: nothing leaves this computer.

Your own AI server

Ollama, LM Studio, or any server that speaks the OpenAI-style chat API, such as OpenRouter, Mistral or Groq. Enter its address, such as http://localhost:11434, and the model’s name, such as qwen3:8b. A server on this computer keeps everything here.

OpenAI (ChatGPT), Anthropic Claude, Google Gemini, Azure OpenAI

Use your own account and API key. For OpenAI that is a key from the OpenAI platform, not a ChatGPT subscription. The key is kept encrypted on this computer and sent only to that provider. Azure OpenAI uses your own Azure resource and its deployment.

ChatGPT email parser setup: the AI provider window for OpenAI with the Key box, an API key from the OpenAI platform not a ChatGPT subscription, Default model, Refresh list, Make this the default AI and Test provider
A cloud AI uses your own key, kept encrypted on this computer.

Step by step: describe the fields in the Parser

  1. On the Parser tab, click New parser and add a few sample emails, such as three invoices from Acme, Northwind and Fabrikam.
  2. In the Fields step, add a field Using AI. Under Look for, write what it is in your own words, pick its Type (text, number or date), and choose what happens If not found or wrong.
  3. Under What the AI reads, tick the parts: Subject, Sender and date, Body, Attachments’ text and, for scanned invoices, Scans (OCR).
  4. In Notes for the AI, add what helps, such as “Dates are day/month/year. Amounts are in EUR.”
  5. Pick the AI and click Run on all (here, all 3 samples).

On the right, each sample shows its values, how Sure the AI is, and whether the value is in the text. Answers are kept, so changing one field does not ask the AI again. Not sure what to ask for? Suggest fields lets the AI propose the values your samples have.

Extract data from email with AI in the Parser of Mail Attachment Downloader: four plain-words fields, the invoice number, the supplier's name, the date payment is due and the total to pay, read by the built-in model at 98% sure and found in the text, with What the AI reads, Notes for the AI, Hybrid mode and Compare models
Fields in plain words: the built-in model read three invoices on this computer.

Hybrid mode: patterns first, the AI only for the gaps

Tick Hybrid mode to Use patterns first, ask the AI only for fields they leave empty. A field found by a highlight or a pattern can also have If the pattern finds nothing, ask the AI. Most emails are then read by the pattern, which is instant and free, and the AI is asked only where the pattern finds nothing, such as a new supplier’s layout.

Compare models: which AI reads your emails best?

Click Compare models… and add the models to try. Run on the samples asks each one, and marks it against the values you ticked as right:

  • how many of each field it got right, such as 3 / 3 for the invoice number,
  • Time per email, and
  • Cost per 1,000 emails, an estimate from the size of your samples and the prices you type in. The real bill comes from the provider.

A setup to try proposes a mix, such as the built-in model first and OpenAI only for the emails where a field is empty or less than 80% sure. Use this setup keeps it: the cloud sees only the gaps.

Compare models in the Parser: the built-in model on this computer and OpenAI gpt-4o-mini marked against checked values for invoice number, supplier, due date and total, with time per email, cost per 1,000 emails and A setup to try with Use this setup
Compare models: the built-in model and a cloud model on the same three samples.

Confidence and review: doubtful values wait for you

In the Checks step, tick The AI is less sure than under Send an email to the review queue when, and set a percentage, such as 70. You can also review when a required field is blank or a check fails, such as a total outside the range you set.

A held email waits in Needs you. Nothing the parser writes, sends or moves is done for it until you approve. Open it to see the email beside its values, each with the AI’s percentage, correct a value and click Approve and run the actions (Alt+A), Skip for now (Alt+S), or Reject: do not process (Alt+R).

AI confidence review in Needs you: an invoice from Litware whose supplier was read with 58% confidence, the email's text beside the values for invoice number, supplier, due date and total, and Approve and run the actions, Skip for now and Reject
Needs you: the supplier was read with 58% confidence, so the email waits for a person.

AI in a PRO Rule: Find fields with AI and Run an AI prompt

For a quick field inside a rule, add a step with Add a step… › Data and fields:

  • Find fields with AI (PRO Rules Client and up): the same plain words, in the Fields found with AI window, with What the AI reads and Which AI reads it. The fields name files and folders, and feed the steps after it.
  • Run an AI prompt (PRO Rules Server): your own prompt about the email or its files, such as “Summarize this contract in three lines” or “Is this an invoice, a reminder or a credit note?”. The answer is kept as a field. Test the prompt tries it on a sample email.

The built-in model reads text files only in Run an AI prompt (TXT, CSV, JSON, HTML), not pictures or PDFs. The cloud services read pictures and PDFs too.

Find fields with AI step: the Fields found with AI window with the fields Invoice number, Due date and Total including tax described in plain words, What the AI reads ticked for subject, sender, body and attachments' text, and Notes for the AI
Find fields with AI: plain-words fields inside a PRO rule.
The Run an AI prompt step in the Rule Editor: AI model Use the default (Built-in model), nothing leaves this computer, the built-in model reads text files only, a Prompt box with Ideas and Fields, Send files, Save the answer in and Test the prompt
Run an AI prompt: the answer becomes a field for the next steps.

What leaves your computer?

  • Built-in model, or your own server on this computer: nothing.
  • A cloud AI: the parts you ticked under What the AI reads, or the prompt and the files you chose, sent to that provider only. Its terms for your account apply.
  • Never without asking: before a cloud AI is used, the program names the provider and what would be sent, and asks. It asks again when you change the service. You can go back to the built-in model at any time.

Questions people ask

Can I use ChatGPT as an email parser?

Yes, with an API key from the OpenAI platform. A ChatGPT subscription doesn’t include one. Pick OpenAI in AI Providers, then in the parser.

Does the local AI need the internet?

Only for the one-time download. After that the built-in model reads your emails on this computer.

Can it read scanned invoices?

In the Parser, tick Scans (OCR) so scans are read before the AI is asked. Find fields with AI reads the text of PDF, Word, Excel and text files, not images or scans.

How do I know the AI got it right?

Every value shows its percentage and whether it is in the text. Compare models tells you which AI is right most often on your own emails, and review holds the doubtful ones. See Extract data from emails and attachments for highlights, patterns and tables.

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

Questions about this post? Contact us.

What’s new in Mail Attachment Downloader 4.0

Mail Attachment Downloader 4.0 adds email backup with PST export, an AI parser for invoices and e-invoices, PRO Rules, watches and cloud upload.

Mail Attachment Downloader 4.0 is out (build 1080, 24 November 2026). Mail Attachment Downloader is a Windows program that downloads email attachments and saves emails from Gmail, Microsoft 365 and any IMAP mailbox to your own folders, then automates what happens next. 4.0 is its biggest release yet: a new 64-bit program with a new window, five editions, email backup, an AI parser for invoices, and rules that reach cloud storage, document systems and databases.

Here is what is new, feature by feature, with the edition that has it. For how it compares with other email automation tools, read Mail Attachment Downloader PRO as your email automation tool.

A new main window with tabs and dark mode

One button, Connect and Download, starts a run and stops or resumes it. Tabs hold the rest: AI Assistant, Downloads, Account rule, Parser, PRO Rules, Backup, Schedule and Settings. All options are on the one Settings tab, with a search box, and Settings › Appearance switches to Dark.

Mail Attachment Downloader 4.0 main window: the Connect and Download button, the tabs AI Assistant, Downloads, Parser, Account rule, PRO Rules, Backup and Settings, and the Downloads tab listing 24 invoice and purchase order emails, each with Saved 1 file
The new main window: one button for Connect and Download, and the Downloads tab with this run’s emails.

The Downloads tab, in every edition, shows Emails or Files, by Runs or History, with filter chips and search. Action required lists any account that can’t download, with a button that fixes it, and an email that saved nothing says why. See the Downloads tab.

History: never download the same email twice

Each account and watch now remembers each email it has seen, so nothing is downloaded or processed twice, even after a restart. A step that fails, such as an upload while the network is down, is tried again by itself. Changed a rule? Redo processes again the dates and folders you choose. Free keeps 1 day of History; the PRO editions keep it as long as you choose. See History and Why did my rule not download the attachment?

Five editions, from Free to PRO Rules Server

Each edition includes everything in the one before it. Each PRO edition comes with a 30-day money-back guarantee.

EditionAccounts per runWhat it adds
Free1Save attachments, emails or both, on demand or daily; 1 day of History; previews of Backup, Parser and PRO Rules
PRO BackupUp to 3Backup, export, restore and import; every schedule and new email as it arrives; run summaries and notifications; AI agents (MCP)
PRO ParserUp to 5The Parser: fields, line items and e-invoices to CSV, Excel or Google Sheets; file and folder names from any value
PRO Rules ClientAny numberPRO Rules and the Rule Editor, AI-written rules, watches, cloud upload, document management, DocuSign, spreadsheet rows, convert to PDF
PRO Rules ServerAny numberWindows service (24×7), databases, webhooks and Zapier, scripts, send and forward email, OCR, merge and split PDFs, AI prompts

Not sure which fits? Try the edition finder, the editions compared or Upgrade your edition.

Gmail, Microsoft 365 and 150+ email providers

Type the email address and the provider is picked for you; then click Test Connection and Save. Gmail, Google Workspace, Outlook.com and Microsoft 365 sign in through your browser, so no password is stored. Microsoft 365 connects through Microsoft Graph, shared mailboxes included (This is a shared mailbox), and Exchange on your own server through EWS. 150+ other providers, from Yahoo and iCloud to GoDaddy and IONOS, are set up for you, and any other mailbox works through IMAP or POP3.

Adding a Microsoft 365 account in Mail Attachment Downloader: provider tiles for Gmail, Outlook.com, Microsoft 365, Yahoo, AOL, Exchange and Other, sign-in in the browser, Microsoft Graph, and This is a shared mailbox ticked
A new account: the provider is picked from the address, and Test Connection signs in through your browser.

See Modern authentication for Microsoft 365 and Google, Download from multiple email accounts and 150+ email providers.

Download new email as soon as it arrives

Free runs on demand or once a day. The PRO editions add every schedule (every 15 minutes, hourly or at a set time) under Schedule › App schedule, and Also download new email as soon as it arrives: IMAP accounts within seconds, Microsoft 365 about every minute. See new email as it arrives.

Back up Gmail and Microsoft 365 email, export to PST (PRO Backup)

The Backup tab keeps an encrypted, searchable copy of each account’s emails on your own system, for as long as you choose. Search it without connecting to the mail server, restore emails or whole folders into the same mailbox or another kind of account (Gmail into Microsoft 365, say), and import old PST, MBOX and .eml files. Daily restore points can go to a network folder, S3 or Azure Blob Storage. The Export page saves emails as EML, MBOX, MSG, PST, PDF or ZIP.

The Export page of the Mail Attachment Downloader Backup tab for finance@contoso.com: the INBOX/Invoices folder ticked and the format list open with EML, MBOX, MSG, PST, PDF and ZIP
Export from the backup: a folder as a PST file, or as EML, MBOX, MSG, PDF or ZIP.

Step by step: Back up Gmail and Microsoft 365 email and Export emails to PST, MBOX, EML or PDF. More on PRO Backup.

Extract invoice data with AI: the Parser (PRO Parser)

The Parser reads values such as the invoice number, supplier and total out of emails and attachments. Highlight a value in a few samples, describe it in plain words for the AI, or use a pattern. It reads line items and checks they add up to the total, and values it isn’t sure about wait under Needs you. Results go to CSV, Excel or Google Sheets, or name your files, such as Invoices\Acme\INV-2026-0423.pdf. With PRO Rules Server, also to a database or a webhook.

The Fields step of the Mail Attachment Downloader Parser: an Acme Office Supplies invoice INV-2026-0412 with the supplier, invoice number, invoice date, PO number, total and due date highlighted, each found in 3 of 3 samples
The Parser: highlight a value once, and it is found in the other samples.

Read ZUGFeRD, Factur-X and XRechnung e-invoices

The Parser reads Factur-X, ZUGFeRD, XRechnung, Peppol and UBL e-invoices from the data inside the file, so fields and line items come out exactly, with no AI. See Process e-invoices from email, Extract data from emails and attachments, Invoice emails to your invoice software and PRO Parser.

Email automation rules: PRO Rules and the Rule Editor (PRO Rules Client)

A rule says which emails it takes (sender, subject, text, dates, folder, attachment name, size, with AND and OR groups), where to save them, how to name the files, and the steps that follow. You build it in the Rule Editor: Which emails, Save, Then and If something fails. Steps can sit inside steps, rules can be chained under a shared filter, and drag and drop sets the order.

The Rule Editor in Mail Attachment Downloader on a rule named Scanned invoices: PDF attachments from a mailbox folder saved to D:\Finance\Scans, then Make PDFs searchable (OCR), Find fields with AI, Save to a database, Web hook, Upload to cloud and Send notification
The Rule Editor: which emails, where to save them, the steps that follow, and what to do if something fails.

Test rules before they go live

Test this rule and Test all rules… run your rules on real emails and show which rule saves which file. Nothing is changed: files go to a test folder, and moving, deleting or sending is only described. Check rule order… finds rules that can never save anything because a rule above takes their files first.

The Test all rules window: five emails from Acme, Northwind, Fabrikam and Contoso in two accounts, four saved by the rules Invoice PDFs and All PDFs and one that matched no rule, with the trace of why
Test all rules: which rule saves which file, without changing anything.

Email security: spot spoofed and look-alike senders

The Email security condition checks the sender’s SPF, DKIM and DMARC results and spots look-alike domains. More: PRO Rules, Save emails and attachments to folders, Filters in PRO Rules and Nesting rules and actions.

Missed email alerts: know when an expected email doesn’t arrive

Some emails you count on: a supplier’s monthly invoice, a bank statement, a daily sales report. With Expected emails, a rule learns when its emails normally arrive (for example “Monthly, days 1 to 3, about 9:00 AM. Learned from 11 emails.”) and tells you when one is late. Tick Check for missing emails, choose whether to split by sender, and set how many minutes late counts as missing.

A missing email is always shown at the top of the Downloads tab, with the rules it belongs to. Under If an email is missing, a rule can also act on it: send a notification to Slack, Teams or email, call a web address, or email the sender. Expected emails is part of PRO Rules (PRO Rules Client and up). See Expected emails.

The Rule Editor of Mail Attachment Downloader on Expected emails for the rule Supplier invoices: Check for missing emails ticked, monthly on days 1 to 3 at about 9:00 AM learned from 11 emails, split by sender, late after 30 minutes, and If an email is missing with 3 steps
Expected emails learns when a rule’s emails arrive and says when one is late.
The Downloads tab of Mail Attachment Downloader with the notice: 3 expected emails are missing, from the rules Supplier invoices (2) and Weekly sales report (1), and a See them link
The Downloads tab shows missing emails, rule by rule.

AI that writes rules and reads documents

Describe a rule in plain words, such as “save the PDF invoices from acme.example into D:\Finance\Invoices and tell the finance team on Slack”, and the AI Assistant (beta) draws it for you to check, test and save. Writing PRO Rules this way needs PRO Rules Client. In rules, Find fields with AI (PRO Rules Client) reads values out of each saved file, and Run an AI prompt (PRO Rules Server) runs your own prompt on what arrives.

The AI Assistant tab of Mail Attachment Downloader with the built-in AI model loaded: a request to save the PDF invoices from acme.example into D:\Finance\Invoices and tell the finance team on Slack, and the rule it drew
The AI Assistant turns a sentence into a rule you can check, test and save.

The built-in AI model runs on your own system, and nothing you type or test is sent anywhere. Or use your own AI server (Ollama, LM Studio, any OpenAI-compatible service), OpenAI, Anthropic Claude, Google Gemini or Azure OpenAI with your own key. A cloud AI is never used without asking you first. See your choice of AI.

Watch folders, SharePoint, OneDrive and S3 (PRO Rules Client)

A watch works like an email account, but its source is new files: a folder or network share, SharePoint, OneDrive, Amazon S3 or S3-compatible storage, or completed DocuSign envelopes. Each new file goes through your PRO Rules like an attachment, with History and Redo. A new watch takes only what arrives after it is saved, unless you tick Also take the files already there. PRO Rules Server adds database tables, Slack and Microsoft Teams channels. See Watches.

The Watch window for a folder or network share in Mail Attachment Downloader: folder \\nas\scans, run as soon as something changes, 60 seconds between checks, include the folders inside it
A folder watch on a scanner share: each new scan runs through your rules.

Save attachments to SharePoint, OneDrive, S3 and business systems

  • Cloud storage (PRO Rules Client): Upload to cloud sends each saved file to OneDrive, SharePoint, S3 and S3-compatible storage, Azure Blob, WebDAV, SFTP, FTPS, a network share, Google Drive or Dropbox, with subfolders and names from fields.
  • Documents and signatures (PRO Rules Client): Send to document management files documents in Laserfiche, M-Files or DocuWare; Send for signature makes a DocuSign envelope.
  • Spreadsheets and databases: Add a row to a spreadsheet (PRO Rules Client) writes to Excel or Google Sheets; Save to a database and Look up from a database (PRO Rules Server) work with SQL Server, MySQL, PostgreSQL, Oracle or any 64-bit ODBC driver.
  • Webhooks, scripts and email (PRO Rules Server): Web hook, Send to Zapier, Run a script, Send an email and Forward the email.
The Upload to cloud step in the Mail Attachment Downloader Rule Editor: an S3 connection named Invoices archive, destination acme-invoices › Suppliers, subfolders by year and month, and Keep both if the name is taken
Upload to cloud: one step sends each saved file to a bucket, library or folder.

See Upload to cloud, document management, Save emails to a database, Save CSV and Excel attachments to a database, Integrate your business systems and Automate sending emails.

Convert, merge, split and OCR PDFs

Convert documents turns attachments into PDF in PRO Rules Client; other formats need PRO Rules Server, which also adds Merge PDFs, Split PDF (a scanned batch into one PDF per document), Make PDFs searchable (OCR) and Unzip. See Convert emails and attachments to PDF, Merge attachments into one PDF and emails to PDF.

Run summaries: a report to Slack, Teams or email after every download

Know what each download did without opening the program. When a run ends, Mail Attachment Downloader can send a Run summary: how many emails and files were saved, and what went wrong. Choose when to send it (always, only when files were saved or something went wrong, or only when something went wrong), which channels get it, and how much detail each one gets: Short for a chat channel, Detailed for a mailbox. Untick the accounts that don’t need one. A download of several accounts at once sends one summary for all of them, and the Windows service sends summaries too. Run summaries come with PRO Backup and up. See Run summaries.

Mail Attachment Downloader's run summary settings: send a summary when a run ends Always, to Finance team (Slack) and Operations (Teams) as Short and Finance mailbox (email) as Detailed, Dev chat (Discord) off, for 2 of 3 accounts
Run summaries: when to send them, to which channels, and how much detail.

Notifications to Slack, Teams and email (PRO Backup and up)

Set up channels once in the Notifications window: Slack, Microsoft Teams, Discord, Google Chat, Telegram, ntfy, Pushover, a custom webhook or email. The same channels carry run summaries, error alerts, missed email alerts and the Send notification step of PRO Rules Server. See Notifications.

The Notifications window of Mail Attachment Downloader with nine channels: Slack, Microsoft Teams, Telegram, Discord, Google Chat, ntfy, Pushover, a custom webhook and email, the Slack channel selected
Notification channels, set up once for run summaries, alerts and rules.

Ask your AI agent what was downloaded (MCP, PRO Backup and up)

Switch on AI agents and an agent on the same system, such as GitHub Copilot in Visual Studio Code, can ask which files were saved, which downloads failed and which accounts need action. It is read-only, off until you turn it on, local only and protected by a token. Email text and files are never shared. See AI agents.

The AI agents window of Mail Attachment Downloader: the MCP server switched on, port 17820, a hidden token, what agents may see, and buttons to copy the VS Code setup and the Claude Code and Gemini CLI commands
AI agents (MCP): read-only, local only, and you choose what they may see.

Run 24×7 as a Windows service (PRO Rules Server)

On Schedule › Service schedule, Install service runs the program as a Windows service, on Windows 10 or later or Windows Server. It keeps working when nobody is signed in and starts again after a reboot, as the Windows account you choose (a gMSA too). See the service guide.

Mail Attachment Downloader PRO Rules Server, Schedule tab, Service schedule page: install the service for ap@acme.example, check every 15 minutes, auto start on bootup
Service schedule: install the service and set how often it checks.

Coming from 3.x

  • New names: Global filters are now PRO Rules, with their actions as steps in the Rule Editor. Search and Filters are on the Account rule tab, Download History is the Downloads tab, and the Service tab is Schedule › Service schedule.
  • New editions: the old PRO Client and PRO Server become PRO Rules Client and PRO Rules Server; PRO Backup and PRO Parser are new.
  • Side by side: 4.0 installs beside 3.x and copies its accounts, settings and licence once, leaving 3.x as it was. Only one runs at a time, and emails already downloaded aren’t downloaded again.
  • 64-bit only: Windows 10 or later, .NET Framework 4.8, and 64-bit ODBC drivers for databases.
  • Your licence: a 3.x subscription covers 4.0; for a one-time licence, see Upgrade your license.

The 3.x guides are still online: how-to, PRO how-to and service. Every change is in the release notes.

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