No heuristics needed.
In gerrit user settings > identities, you can link your account to other email addresses.
I expect that after linking my account to both gmail/redhat email addresses, that logging in via any of these addresses would use the same gerrit account.
This is probably bug in gerrit, or configuration issue on our side.