Mail Attachment Downloader 4.0 turns each email, and the documents attached to it, into a call to your API: the address, headers and a JSON, XML or form body built from the email's fields and the values read out of its PDFs, with the files themselves if you like, retried when the other end is busy. The answer can be read back for the steps after it. It runs on your own Windows server, as a service.
The Web hook step calls any address, with the request built from the rule's fields.
๐ See the feature/orders/{ORDER_NUMBER}.Authorization: Bearer โฆ or an API-key header.
The Web hook step: an invoice's values as JSON, with an Authorization header and retries.
The request is only as good as what goes in it. The rule reads the values first.
Invoice numbers, totals, order lines and customer IDs read from the email and its PDFs with patterns or AI, as fields in the body.
Save the answer in a field, then pick values out of the JSON with a Handlebars template, such as {{order.id}}, for a file name or the next call.
An answer the API rejects fails the step: the rule's If something fails steps run, the email can be moved to Needs attention, and History records it.
The Send to Zapier preset is the same step, ready for a Zap's webhook address, for teams that already automate there.

Send to Zapier: the Zap's address and the fields to send.
Each order PDF's values posted as JSON to your ERP or WMS order endpoint, the PDF attached as multipart.
Alert emails from monitoring tools posted to your ticketing API, retried while it is busy.
Each attachment sent to an internal classification or OCR API, and its answer used to name and file the document.
Rules pick the emails, read the values and call the API, as mail arrives.
Any mailbox, any provider
Sender, subject, attachment name
Patterns or AI, as you choose
Retried until it answers
An AI agent can call an API, but it reads every email through its service, spends tokens on each one, and may shape the request differently tomorrow, which an API won't accept. A rule sends the same request every time, escaped for its format, retries when the API is busy and records the answer. AI, if you want it, only reads the values that go into the body, and its answers can become patterns. How rules and AI work together
A custom script works until the mailbox, the format or the person who wrote it changes.
| Capability | Mail Attachment Downloader PRO | A custom script you maintain | Cloud automation (Zapier-style) | Email parsing services |
|---|---|---|---|---|
| Gmail, Microsoft 365, Exchange and any IMAP mailbox, with sign-in handled | โ | You write it | Varies by connector | Forwarding only |
| Values read out of PDFs and attachments | โ | You write it | With some work | โ |
| Files sent with the data, as multipart | โ | You write it | Varies | Varies |
| Retries on timeouts, 429 and 5xx, and a record of each call | โ | You write it | Varies | Varies |
| Any number of emails and calls, with no per-task fees | โ | โ | Usually billed per task or run | Usually billed per email or page |
| Mail stays on your own systems | โ | โ | Passes through the platform | Passes through the service |
With headers: an Authorization header with Bearer or Basic, or your API's own key header. OAuth sign-ins that need a browser aren't built in; use a long-lived token or key.
Yes. Send the file it runs for, or every file the rule saved, as multipart/form-data beside the body (part payload for the body, part file for each file), or one file alone as the raw request body.
It retries on connection errors, timeouts, 408, 429 and 5xx answers, waiting 2, 4, 8 seconds and longer, up to the number of retries you set (3 by default). Other errors fail the step at once, so the rule's If something fails steps run.
Yes. Save the answer in a field, and a Handlebars template picks values out of the JSON for later steps, such as a file name or another call.
Yes: have it drop a file in a watched folder, SFTP server or cloud folder, or send an email. A watch sends each new file through your rules, and on to your API.
PRO Rules Server, which has the Web hook step and the Send to Zapier preset, and the Windows service that runs it around the clock.
Each edition includes everything in the ones before it: Free, PRO Backup, PRO Parser, PRO Rules Client, PRO Rules Server.
Any method, headers, body, files, retries and the answer kept. PRO Rules Server.
The same step, ready for a Zap. PRO Rules Server.
Pick values out of a JSON answer, or build text and HTML. PRO Rules Server.
Values from the email and its PDFs, for the request. PRO Rules Client and up.
PowerShell, a batch file or a program, for what an API call can't do. PRO Rules Server.
The Windows service runs it with no one signed in. PRO Rules Server.
Start the 30-day trial, add a Web hook step, and test it on a sample email.