GNOME Bugzilla – Bug 311454
Mail pre-processing before displaying message, without modifying message on server
Last modified: 2017-07-25 07:53:21 UTC
Distribution/Version: Debian sid I'd like to be able to be able to run scripts to pre-process emails before they are sent to the UI for display. This would allow me to do such things as convert pgp-inline to pgp-mime, run t-prot to remove tofu, strip spam from messages from people with hotmail or yahoo and other webmail accounts. An awesome enhancement would be a display that operated in per-thread mode like gmail, but split up all the emails into chunks so that there is no quoting going on, just arrows and stuff with conversation flow and the like.
you can preprocess your mails, you can e.g. use fetchmail before evolution spools your local /var/mail. within evolution, you can also use filters and pipe message to a command on the shell. the per-thread mode is a duplicate of bug 258233, dave was working on this and you can get it from http://cvs.gnome.org/viewcvs/evo-conversation/. therefore closing. *** This bug has been marked as a duplicate of 258233 ***
Well, I don't want to modify the messages in the imap folder, just modify them before they are displayed. The evo-conversation screenshots don't look like what I had envisioned either.
If you want to develop a plugin (to preprocess before ui) there is a hook-loader. Look at prefer-plain or itip-formatter plugins to know how they are done.
Proposing WONTFIX as this is a very uncommon request.
There are possibilities to achieve it, the EMailParser/EMailFormatter can be extended with a module for certain Content-Type-s, including the message itself, then generate HTML code for it as needed, but thinking of a request to get all related messages to certain thread just makes me worry about performance. We are not talking about single server instance where everything is stored locally, we talk about generic mail accounts where the messages are stored remotely and require loading first. That can make UI slow, at least for the first time. You can consider that as expected, then it's all fine.