Skip to content

Fix speaker email alias deduplication#3361

Merged
louis030195 merged 1 commit into
screenpipe:mainfrom
divanshu-go:fix/speaker-email-alias-dedup
May 13, 2026
Merged

Fix speaker email alias deduplication#3361
louis030195 merged 1 commit into
screenpipe:mainfrom
divanshu-go:fix/speaker-email-alias-dedup

Conversation

@divanshu-go
Copy link
Copy Markdown
Contributor

@divanshu-go divanshu-go commented May 13, 2026

description

Fixes the transcript bug where the same speaker could appear as separate labels like louis@screenpi.pe and louis+teams1234@screenpi.pe.

The fix normalizes plus-addressed email aliases and only merges existing duplicates when the voice embedding also matches.

before

One speaker could be split into multiple transcript identities after account/calendar changes.
2026-05-13_22-08-20

The transcript panel could show the same human speaker as multiple identities:

  • louis@screenpi.pe
  • louis+teams1234@screenpi.pe
  • Louis

That happened because the speaker matching logic compared the email local part literally. louis+teams1234@screenpi.pe normalized differently from louis@screenpi.pe, so the same voice could remain split into separate speaker rows.

after

Plus-addressed aliases normalize to the same identity for speaker matching. For example:

  • louis+teams1234@screenpi.pe matches louis@screenpi.pe
  • louis+teams1234@screenpi.pe matches Louis
  • louis.pereira+teams1234@screenpi.pe matches Louis Pereira

Existing duplicate speaker rows are merged only when the normalized identity matches and voice similarity confirms they are the same speaker. This avoids merging unrelated people based on name/email text alone.

@louis030195 louis030195 merged commit a3a6c74 into screenpipe:main May 13, 2026
8 of 10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants