Or `if (!_.isString(str)) { return ''; }`. If `str` is for example an object and an array, something is exceptionally wrong, so lets avoid serializing it and possibly dumping internal data in an email.