On 25 Apr 2024, at 20:30, Max Andersen wrote:

I'm working on a AI bundle for mailmate and looking for
what is the allowed expressions in formatString as documented on
https://github.com/mailmate/mailmate_manual/wiki/Bundles

Well, not very well documented (no examples), but it's here: https://manual.mailmate-app.com/format_string_syntax

But I guess you are asking for the specifiers available. There's no list, but you can create a smart mailbox using various headers and then check the saved Mailboxes.plist file for the exact value. Yes, it's not ideal.

I tried `${#quoted}` as used elsewhere but nothing shows up.

I haven't tested if this works (it's a bit of a weird hackish header which really needs a replacement -- at least for efficiency), but you might want to try `${unquoted}` if that was what you actually needed.

If I use raw or canonical I do get the message body but I was hoping to get a more tuned input - and for that I need the expression to get mail body.

I would have expected `canonical` to work. This is at least its intended usage, but maybe something is broken.

--
Benny
_______________________________________________
mailmate mailing list
Unsubscribe: https://lists.freron.com/listinfo/mailmate

Reply via email to