You are correct, of course. Since the turnaround time on this request is unknown, here is my suggestion for how you can build it yourself, and hopefully do so pretty quickly. This assumes Declude or something else that uses the Spool\Proc folder.
Notes:
SmarterMail invokes Declude by creating two files in the Proc folder: The .EML file has the message itself, the .HDR file has summary information, including the SMTP information that is not available in the message. I am suggesting that parsing the HDR file is your path forward.
Declude is invoked before the other "Spool Filtering" or "Outbound SMTP" checks, so you will capture more than just the quarantine, but it should include everything quarantined by those two phases.
"Inbound SMTP Blocking" tests run before Declude, but they never produce quarantine, so they are already out of scope.
Both files have the same prefix, differing only in the file extension The format of the HDR files is officially undocumented, but it is pretty easy to reverse engineer.
After Declude processing completes, SmarterMail adds an "x-" prefix to the filename.
Here is a sanitized HDR file to explain its contents:
----------------------------------
Written
SmtpFromUser@SmtpFromDomain
SmtpToUser@SmtpToDomain (multiple lines for multiple users)
retry: (count);(timestamp)
from: FromUser@FromDomain
spamcheck: (tests and results)
creationdate: (timestamp)
smarthost: SmtpFromUser@SmtpFromDomain=(Guid of outbound path)
notify: SmtpFromUser@SmtpFromDomain=
containsLocalDeliveries: (False for an incoming gateway, True for a mail store server)
connectedip: ipaddress
helo: HeloHostName
connectedhostname: (ReverseDnsHostName)
smtpSessionId: (integer)
dmarcResult: Skipped (DMARC Disabled)
authentication-results: (test results)
----------------------------------
Your task:
(1) Write a Declude custom filter and a little code to parse this file and load the results into a SQL Database. Include the filename as well, as it will be needed for linking to your quarantine folder. If you feel ambitious, parse the .EML file to extract the subject text as well. If you want to have access to more than just the current quarantine, Declude can be configured to copy the files to a folder of your choosing.
(2) Perform SQL queries against your database information, or write a web page to provide an interface for people who don't know SQL syntax. The other advantage of a web page is that you configure the web page to find and open the file on request.
(3) Use the SQL results or the fantasized web page to open the EML files from the Quarantine folder.
This is a simplified version of what I have built over the last few years, so I can provide assistance if you run into obstacles.