I'm guilty of the Lua feature, and even though it's only covering the existing muttrc API, it can already do quite a lot. The Lua feature is (not yet) turned on by default at compile time (and thus in systems distributions).
I'd be very happy to have more feedback and help to extend further that API and have some great scripts happening!