Add to theosp.js: string.isEmail and a new helper: getLogger