Switch to shell scripts instead of functions, better scripting that way
Use an actual script, instead of an alias
Make mail stuff not start by default (it's an interactive function)