[MlMt] mail body in bundles?

Benny Kjær Nielsen mailinglist at freron.com
Tue Jul 9 12:12:01 EDT 2024


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freron.com/pipermail/mailmate/attachments/20240709/ebad4e33/attachment.htm>


More information about the mailmate mailing list