docs/content/docs/reference/errors/email_doesn't_match.mdx
This error appears only during OAuth account linking. It happens when a signed-in user tries to link an OAuth provider account, but the email returned by the provider does not match the email on the currently authenticated user (or the email you expect for that user). To prevent accidental cross-account linking or account takeover, Better Auth blocks the link when emails do not align.
This does not occur during normal OAuth sign-in; it is specific to the linking flow.