How can you refile the mails without opening any mu4e buffers?
I read the manual and I know that it is possible to define a
function to
refile based on something.
But every time I have to mark-and-execute manually, and it
sometimes
annoys me.
I would like it to be automatically done: every time the index
is
updated, the incoming unread mails are refiled automatically.
My idea is to add something to the mu4e-update-pre-hook.
But I did not found any clue how I can refile mails in the
background, without opening any buffer.
Looking into the code did not really help.
Can anyone help? Thanks in advance.