The patches that follow are some proposed cleanups for
contrib/notmuch-web (aka nmweb, aka btsmail), which was originally
proposed by Brian Sniffen.
These are pretty mechanical changes -- nothing fancy added or removed,
just trying to make the code a little more maintainable and moving it
You can also find this on the "nmweb" branch at
notmuch mailing list