Evolution: Template variable $ORIG[body] does not work consistently

Dear Evolution community,

I am trying to use templates, but need to quote the original mail when I reply. When I use the variable $ORIG[body], this works in about 10% of mails I receive, but returns an empty text for the other 90%. I did not manage to get any systematics into it. Any help is appreciated!
Version: 3.52.3 on Ubuntu 24.04 (but observed on previous versions)

Thanks Karl

P.S. Also, how do I use the $ORIG[body] variable with quotes as in normal replies?

When I use the variable $ORIG[body], this works in about 10% of mails
I receive, but returns an empty text for the other 90%.

Hi,

it can be tricky to extract the body text, it depends what the message
structure is. It’s problematic to extract the text for example when the
original message is only in HTML or some other obstacles, because the
code extracting the text does not use WebKitGTK (nor any other full
featured HTML processor).

P.S. Also, how do I use the $ORIG[body] variable with quotes as
in normal replies?

There is $ORIG[quoted-body], but it suffers of the same issue as the
plain body.

Bye,
Milan

Thanks for the clarification!
Best regards
Karl