updated core for an update to how we log email errors