{"version":"2.1.327","anchor":"git-email-detection-regex-also-matches-claude-codes-own-ema","canonical_anchor":"git-email-detection-regex-also-matches-claude-codes-own-ema","heading":"Commands reading Claude Code's email variables now count as email lookups","tier":"internal","area":"Telemetry","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.327\/e\/git-email-detection-regex-also-matches-claude-codes-own-ema","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.327","markdown":"### Commands reading Claude Code's email variables now count as email lookups\n\nCommands that read `CLAUDE_CODE_USER_EMAIL` or `CCR_SESSION_ACCOUNT_EMAIL` are now treated like commands that read your git email\n\n**Unclear.** What Claude Code does when it spots such a command is not known.\n\n**What**\n\nClaude Code watches for commands that read your email address. Before, it spotted only commands that read your git email, such as `git config user.email`, `GIT_AUTHOR_EMAIL` or `GIT_COMMITTER_EMAIL`. It now also spots commands that read `CLAUDE_CODE_USER_EMAIL` or `CCR_SESSION_ACCOUNT_EMAIL`.\n\n**Why**\n\nCommands that pull your email address from these variables now get the same treatment as commands that look it up from git.\n\n- Area: Telemetry\n- Names: `CLAUDE_CODE_USER_EMAIL`\n- Tier: Under the hood\n- Useful: 1\/5\n- Signal: 2\/5\n- Scope: individual\n- Heads-up: no"}