Method GetUserByEmailAsync(string, CancellationToken)

Assembly: redb.Core.dll

Get the first user whose _email matches the supplied address
(case-insensitive). Email is NOT enforced unique at the schema level —
one address may legitimately be reused after a prior account is soft-deleted
or whoever owned it changed their address. Callers that need a uniqueness
invariant (e.g. federation-conflict probes) should still verify the result
against their own policy.

public virtual Task<IRedbUser?> GetUserByEmailAsync(string email, CancellationToken cancellationToken = default)