Here is a guide to setting up a chroot jail, which it seems you need.
https://help.ubuntu.com/community/BasicChroot
This allows you to control what commands can be executed, you can limit users access to things like mutt with no problem. You grant access, you do not have to figure out what to deny. Because all commands are be default blocked. This makes setting things up far simpler.