adding commit
added environment to logging email subject
defaulting to boolean rather than string!