Adds ability to switch between StreamHandler and NativeMailHandler; a lot of work still to do