KamoCRM

Veteran, Email History and Has An Open Lead filters; existing accounts entering an audience

FeatureEmailService
Shipped
November 11, 2026 at 7:17 PM UTC
Author
Kamo
Commit
b522113

- Lead filter "veteran": mortgage leads whose borrower is (or isn't) marked a veteran. - Email History works: the first open and click are stamped on the recipient row (opened_at / clicked_at), the audience reads them as per-org address sets through **************** and a one-time backfill dates the opens of the last 180 days from their Redis marks' remaining expiry. - Account filter "Has An Open Lead": accounts with an active Fresh/Reckoning lead, read first through the partial ix_leads_account_uid (~2 ms) and named in the WHERE. - Enters A Saved Audience now sees an EXISTING account enter: the drip keeps who was in its account audience (email_drip_audience_accounts) and looks again every 15 min. - Loan change sweeps are index ranges on loan_files (status_updated_at / the greatest(...) expression): ~10 ms on the largest org, was ~280 ms; every minute.

All changes

Like what you see shipping?

All of it arrives in your workspace on its own. Start on the free plan and read this page again in a month.

Start Free ForeverView Pricing