Added sending email on demand
Added gzip compression of output, on demand; #30
Changed type of logged message to debug