The core application is a little C++ shell for reading messages, Maildirs, etc, and drawing the screen. Everything else is built upon that.
So Lua is used for pretty much everything:
* Drawing the UI.
* Responding to key-presses.
* Responding to events.
You can write scripts to do many things, such as training messages as spam, deleting all messages from "Bob" which are unread.
I have a bunch of servers that get backed up every day, I have a script which deletes all but the most recent 100 messages in the folder "Automated.Backups" whenever I open it, for example.
So Lua is used for pretty much everything:
* Drawing the UI.
* Responding to key-presses.
* Responding to events.
You can write scripts to do many things, such as training messages as spam, deleting all messages from "Bob" which are unread.
I have a bunch of servers that get backed up every day, I have a script which deletes all but the most recent 100 messages in the folder "Automated.Backups" whenever I open it, for example.