After you have marked some messages, you can execute them with x (M-x mu4e-mark-execute-all).
A hook, mu4e-mark-execute-pre-hook
, is available which is run
right before execution of each mark. The hook is called with two
arguments, the mark and the message itself.