displaying messages in a web browser

Sometimes I get really nasty HTML emails that neither w3m, lynx, or elinks will convert into something useful. This little action helps in these cases. Comments on how to turn this a pure elisp solution are welcome :)

Note that the latest version of mu has an action build in that does this without the need of an external bash script. The action is called mu4e-action-view-in-browser, so just add it to your header and view action list.