I'd like to unify the error reporting, and initialization as much as possible.
One thing I just thought of was to write a wrapper that creates a different email based on exit code.
The thing is, I'd rather work with a project than roll my own. Does anyone know of an OSS project that does something like this?