Hello!
I'm sharing a little script I wrote to improve my workflow.
The problem: I receive a lot of notification emails from GitHub about issues and pull
requests. After I have worked an issue or a pull request, I unsubscribe from that. however,
unsubscribing requires to scroll the email, find the unsubscribe link and click it, that's a lot of
keystrokes.
To make this workflow faster, I created a mu4e "action" that parses the email, finds the unsubscribe
link and opens the browser (opening the browser is necessary because unsubscribe links needs a
logged session).
I coded this script because I didn't find anything out of the box in mu4e for that.
Here's the code, feel free to use and modify. It's tailored for GitHub emails but with some changes
can be used in other situations as well
https://git.sr.ht/~jman/dotfiles/commit/d548ce3bb2de6f701b414e821dec010c762e9cc6
Of course, happy to receive suggestions and improvements.