Is there any filter which would allow me to have the plain or html text body synopsis (preview) in the mail header as well? Like SpamAssassin does for spam emails (it inserts X-Spam-Report header with Content preview section) but more flexible/configurable and for all kinds of mails, not only spam ones.
I want to display message list in Gmail manner so that Subject is followed by the first line of the text body (in case if the body is HTML, this text line should be stripped of HTML tags and so on). Although it's possible to implement this via a number of pretty complex IMAP queries, I would prefer to keep this simple, like getting a header value.
Or, maybe, spamassassin itself can be configured for that?