Hi Daniel,
On Monday Nov 24 2025, Daniel Fleischer wrote:
> I have a specific use case: an email was sent from an automated system,
> with an automated "from" and an automated "subject" and automated "body".
> The only hint as to the origin of it is in the "reply-to" email which is
> the person's email, containing their name.
>
> If implemented, I would say it can be part of the "contact" combi-field.
>
> On Tuesday, November 25, 2025 at 9:21:25 AM UTC+2 Daniel Fleischer wrote:
>
>> Thanks. Say I would like to implement this specific field, which files
>> would I need to touch?
Appreciate the enthusiasm :-), but this would quite a bit of work (query
parsing, indexing, message handling, testing, documentation); moreover,
I'm generally hesitant to adding more fields.
Perhaps there's some other way that helps for your use-case?
Now, ':reply-to' field is available in the message plist, making it a
bit easier; you can use the json2 output and use jq; let's assume you
want to find
f...@example.com for all messages matching "capybara",
something like:
--8<---------------cut here---------------start------------->8---
$ mu find $(mu find "capybara" --format=json2 | jq '.[] | select(."reply-to"[0].email == "
f...@example.com") | ."message-id" ' | sed 's/^/OR msgid:/' | tr '\n' ' ')
--8<---------------cut here---------------end--------------->8---
Just a quick hack, but maybe a start.