I'm using contexts within mu4e, and I also know how to add custom headers via the `mu4e-header-info-custom' list.
What I'd like to do, however, is to alter existing headers when replying or composing within certain contexts. Here's one example: if I reply to a message that matches one of these special contexts, I'd like the "To:" header to be automatically changed to a different address, or to add additional addresses to the "To:" line.
Suppose the sender is sen...@example.com. For this example, if I reply to the message, I'd like the "To:" line to automatically be changed to ...
... or even perhaps to ...
To: sen...@example.com, newu...@example.com, newu...@example.com
I might want to automatically change other existing headers, as well, such as "Subject:".
Is there any way to do this that is built into mu4e?
Thank you very much.
Thank you.
During the execution of `mu4e-compose-mode-hook', is the current context known? I'd like the header changes that I make via this hook to be dependent upon the context.
...