Hi Martin,
Yes I'm happy to move the discussion on implementation to the Github issue. As for the inquiry message, there is a little-documented feature of Winlink that allows for calling API endpoints as part of a specially-crafted email. Winlink Express does this when you go to update the MPS list and you opt to do it via an email rather than the web service. This is useful for when you don't have internet access. The email looks like the below:
Message ID: <id here>
Date: 2024/04/16 23:31 (UTC)
From: AB3E
To: INQUIRY
Source: AB3E
Subject: CMSWEBSVC
/mps/delete?format=json&requester=AB3E&callsign=AB3E&password=<password here>&key=<pat key here>
/mps/add?format=json&requester=AB3E&callsign=AB3E&password=<password here>&MpsCallsign=K2FAM&key=<pat key here>
/mps/add?format=json&requester=AB3E&callsign=AB3E&password=<password here>&MpsCallsign=N2LEE&key=<pat key here>
/mps/add?format=json&requester=AB3E&callsign=AB3E&password=<password here>&MpsCallsign=W6IDS&key=<pat key here>
I'd like to have a similar thing in Pat that allows for either using the web service directly or crafting an email and posting it to the outbox.
-Justin AB3E