- Shipped
- November 13, 2026 at 7:17 AM UTC
- Author
- Kamo
- Commit
- c7e1433
Uses shared-lib AccountEmailIdentity (kamo-shared-library 59a6f761). - Accounts (POST/PUT **************** an address another account in the org already holds is refused with 409 and a plain sentence naming that account (code EMAIL_IN_USE, existingAccountUid). A new account, or a changed address, collects the org's leads with that address and no account yet (after commit, background). - External MLOS loan sync (LosLoanAdoptionService — Harmony's Arive, MeridianLink, the import): borrower 1's account is found by e-mail through the indexed lookup (ignoring case and spaces; the address is trimmed when a new account is made), and whether reused or new, the leads with that address join it. A linking failure can never fail the sync. - Billing setup: the member's KamoCRM billing account reuses the account holding their address when it is theirs, or unowned and their address verified; another person's never (logged). Deliberately unchanged: the borrower portal and borrower self-create make member-owned accounts with no e-mail and never adopt one by address — the portal marks a typed address verified without a click, and owning an account shows its loans.
