How can I set up a shell script as a wrapper to the main executable of an app?
Use /Applications/Emacs.app/Contents/MacOS/Emacs (or other executable in that directory). 

Generally, application bundles are structured as above. Use Terminal to 'ls' your way to the file.