Commit Graph
542 Commits
Author SHA1 Message Date
Matthew Meszaros 5678ca915a feat: never change a mailbox the workspace already has from a client's connect link, keep a vendor import's slots and key when it may have started, refuse the connect link down migration while a link takes a vendor account, and tighten the agency mailboxes page's empty states, filters and add flow 2026-11-11 19:52:25 +01:00
Matthew Meszaros f01f791d6e feat: number the connect link vendor migration after the agency vendor accounts' 2026-11-11 19:52:25 +01:00
Matthew Meszaros d11b35a583 feat: number the connect link vendor migration after main's newest and keep the workspace sealing helper beside the hold that uses it 2026-11-11 19:52:25 +01:00
Matthew Meszaros b862ef2804 feat: let a client connect an inbox vendor account from a connect link and pick many mailboxes at once, with the key sent once, held sealed for minutes and never returned to the page, the picked mailboxes imported in the creator's name within the link's limit, and the option offered in the dashboard's link dialog 2026-11-11 19:52:24 +01:00
Matthew Meszaros 18d5cb55e4 feat: number the agency vendor accounts migration after the agency top-up's, and have the agency mailboxes proof wait for the account or the identity prompt with the harness's own password 2026-11-11 18:06:03 +01:00
Matthew Meszaros b45a088bba feat: refuse the agency vendor accounts down migration while accounts exist, offer adding mailboxes only where the caller manages them, keep the add dialog's step across a refetch, and restart the QA stack when its vendor mock has exited 2026-11-11 18:06:03 +01:00
Matthew Meszaros f32b667be8 feat: keep an agency's vendor key in one place, read through a client's connection only while the workspace is its client, say which clients a staff member can add mailboxes to, show a failed list as failed with a retry, and restart the QA stack when the vendor mock is switched 2026-11-11 18:06:03 +01:00
Matthew Meszaros 40517023b9 feat: add an agency Mailboxes page listing every client's mailboxes with their state, let an agency hold an inbox vendor account once and use it in any client's import with only its staff browsing it, and offer adding mailboxes for a client from a vendor, a file, one at a time or a link the client uses 2026-11-11 18:06:03 +01:00
Matthew Meszaros 136e5554bf feat: number the agency top-up migration after main's newest, keep the notice about an unsettled top-up owed when nobody could be looked up to tell, and have the billing proof wait for the save or the identity prompt with the harness's own password 2026-11-11 17:31:00 +01:00
Matthew Meszaros 27e79ac8f4 feat: end an automatic agency top-up whose draft invoice no longer exists, tell the owners once when one stays unsettled for hours, send the saved numbers when a top-up is switched off, and say in the agencies guide which card is charged and how an arranged plan adds one 2026-11-11 17:31:00 +01:00
Matthew Meszaros bb987d5b92 feat: record each automatic agency top-up before its card is charged so it is charged once and found again, decide it on the stored settings and the period's limit, add a payment that completes late from its invoice event, call off an unpaid one when the setting is turned off, and save the top-up numbers on agency billing together with one Save 2026-11-11 17:31:00 +01:00
Matthew Meszaros 57d4f38f7e feat: add an automatic top-up for an agency's shared AI balance that adds a chosen amount on the saved card when the balance runs low, checked right after a client's AI use, up to a monthly limit, and state on agency billing what each automatic top-up charges and the most it can charge in a month 2026-11-11 17:31:00 +01:00
Matthew Meszaros 5ed301a3ce feat: add an automatic top-up for an agency's send pool that buys a pack on the saved card when the pool runs low, up to a set number of packs a period, turns itself off and tells the owners when the card is refused, and show on agency billing what a pack costs and what happens when sends run out 2026-11-11 17:30:59 +01:00
Matthew Meszaros 181c30e849 feat: switch off a custom-server mailbox whose IMAP connection has failed before the server answered for 72 hours with no successful sync or send, measured from a new trigger-stamped email_accounts.activated_at, and say why in the drawer, the Off pill, the disconnected webhook and the mailbox docs 2026-11-11 15:55:59 +01:00
Matthew Meszaros 66cc6d94a1 feat: take a warmup partner whose address hard-bounces as unknown out of the sending workspace's draw and reply path at once and out of the whole pool after bounces from two workspaces, stamped on warmup_tokens.bounced_at from the consumer's inbound bounce handler and lifted when warmup mail arrives again, with the advisor, partner counts and warmup docs reading the same rule 2026-11-11 15:29:52 +01:00
Matthew Meszaros c09059f068 feat: hold the agency plan, send pack and agency AI balance checkouts to the same business terms as every other checkout, asking for the company's legal name, billing address and tax ID with the business-only notice and tax-exclusive prices, from one shared definition 2026-11-11 08:22:02 +01:00
Matthew Meszaros 23394a29c6 feat: keep saved notification preference keys that a save omits with a users trigger in migration 000387, so a release that predates a category cannot reset a member's choice for it, and state reply preference precedence in the notifications guide and the iOS caption 2026-11-10 19:33:24 +01:00
Matthew Meszaros 181e13a1b9 feat: let an operator handle agencies in the admin panel like workspaces, with an agency plan given without Stripe that its client workspaces receive, a send pool and AI allowance set for one agency for Agency Scale deals, sends added to the current period and AI balance added to the shared balance, attaching and releasing client workspaces, opening an agency for an account, agency plans kept off single workspaces, and the agency's billing page showing a plan arranged directly 2026-11-10 12:38:33 +01:00
Matthew Meszaros f8e909e96e feat: add an agency portal theme with a whole-dashboard accent palette, font, corner and default appearance choices, a designed sign-in page with three layouts, four backgrounds, an uploaded image and its own heading and message, a tab icon, and the agency's support and legal links, honoured by the dashboard, the connect and report pages and a live preview in Agency branding, and show monthly volume on regular plans with a two-client minimum on the agency cost calculator 2026-11-10 09:49:16 +01:00
Matthew Meszaros a79a196912 feat: add Warmbly for Agencies with a separate agency view, agency accounts, a shared monthly send pool, a shared agency AI balance with per-client caps and transfers, agency billing and top-ups, agency API keys across clients, client mailbox connect links and shareable and scheduled client reports served by a separate portal service on portal domains, white-label branding with a branded client dashboard on agency portal domains and website embeds, copy campaigns and templates across workspaces, and a cross-client inbox 2026-11-10 08:31:31 +01:00
Matthew Meszaros 5435ad288d feat: default lead_enrichment_runs.web_search to false so runs from before migration 000376 or the previous release never search, cap a site at four reader requests counting failed ones, and say in data control that a readable site without addresses is searched too 2026-11-10 05:15:14 +01:00
Matthew Meszaros 26cab71db9 feat: renumber the lead finder web fallbacks migration to 000376 after main took 000373 through 000375 2026-11-10 05:03:41 +01:00
Matthew Meszaros f4c7e73176 feat: read lead finder sites that answer 401/403/406/429/503 through configurable reader services (WEB_READER: Crawl4AI, Jina Reader, DDGS, custom) and a workspace Jina AI integration, search the web for missing websites and blocked sites' addresses through a picked MCP search tool, the workspace Jina key or SEARCH_PROVIDER (now also ddgs, jina, brave and tavily, comma-separated to fall back), add web_search to enrichment runs and search_tool to MCP servers in migration 000373, show unread sites as no info available with their reason, and document it all 2026-11-10 05:01:14 +01:00
Matthew Meszaros 34f58f051e feat: renumber the warmup filter tag migration to 000375 after main took 000373 and 000374 2026-11-09 20:49:58 +01:00
Matthew Meszaros ebf918aa74 Merge remote-tracking branch 'origin/main' into fix/hide-warmup-inbox 2026-11-09 20:46:53 +01:00
Matthew Meszaros a6e09c46ec Merge remote-tracking branch 'origin/main' into fix/hide-warmup-inbox 2026-11-09 20:19:20 +01:00
Matthew Meszaros e3b5253cbe feat: hide other services' warmup from the inbox with a Settings > Sending switch for unverified Warmbly warmup markers plus warmup tags (applied on arrival and swept from stored mail), add an opt-in per-mailbox warmup filter tag appended to warmup a mailbox receives (migration 000373, GET/PUT/DELETE /emails/:id/warmup-filter-tag, drawer row), and show provider send throttles as a calm Warmup tab note instead of a red failure 2026-11-09 20:19:19 +01:00
Matthew Meszaros a8f119e02f feat: build the email_accounts_oauth app index concurrently in its own migration 000374, write workspace archives carrying workspace OAuth apps as format version 2 so older importers refuse them, flag imported mailboxes whose issuing app arrived without a secret as needing reconnect, and document callback forwarding after a workspace move 2026-11-09 19:55:32 +01:00
Matthew Meszaros 67c7b88f52 feat: merge main into the Partnership branch, renumbering the Partnership migration to 000373 after main's 000371 and 000372 and keeping the OAuth app import checks beside the new integration reconnect signature 2026-11-09 19:17:30 +01:00
Matthew Meszaros 3076e65ef7 feat: keep the import's empty inbound_secret_encrypted sentinel through the integration_inbound_secret_retire_sealed trigger so an overwrite import onto a clear-only connection still flags it for reconnection, build the inbound digest index CONCURRENTLY alone in migration 000372, cover the overwrite case in a live test in the inbound secret CI step, and document that a pre-sealing destination imports inbound URLs unnamed and unworking 2026-11-09 18:55:21 +01:00
Matthew Meszaros 59e9988750 feat: seal integration inbound URL secrets with the organization DEK in integration_connections.inbound_secret_encrypted, resolve Calendly, Cal.com and Clay deliveries by a SHA-256 digest with a dual-written clear column for the rollback window, seal remaining rows with a paced leader sweep, and carry the secret in workspace archives only as a passphrase-sealed value, and fold the import's reconnect step into one pass that names each integration once for its missing credentials or inbound URL and clears the inbound secret's clear, sealed and digest columns together 2026-11-09 18:13:10 +01:00
Matthew Meszaros 8575bce7ca feat: make the Partnership plan Cloud-only by removing instance self-execution, and add the Partnership mailbox connect API (SMTP/IMAP with warmup, one-sign-in OAuth grant handoff, sign-in links), workspace-owned Google and Microsoft OAuth apps refreshed on the backend, Partnership access to placement tests and API keys, and the Partnership guide 2026-11-09 15:58:47 +01:00
Matthew Meszaros 18af55d9c6 feat: add a per-campaign ramp-up choice (as replies come in, on a schedule, full volume) to the campaign wizard, campaign settings, iOS and the API via warmup_graduation, model both ramps in the launch estimate, start the schedule ramp at its start value on day one, and document it 2026-11-08 13:55:52 +01:00
Matthew Meszaros 90e4d48228 feat: work out each contact's timezone and country from its imported location fields, phone and email domain, add world region, country and timezone segment fields with Split by region, let a campaign read its sending windows in each lead's local time with a lead timezone breakdown on the Schedule tab, and auto-map location columns on import 2026-11-08 12:06:03 +01:00
Matthew Meszaros a4e4f9398a feat: renumber the follow-up sender, client role and send pause migrations to 000365, 000366 and 000367 after main took 000364 for the dollar balance 2026-11-07 11:03:27 +01:00
Matthew Meszaros 747b788e10 feat: classify provider sending refusals into typed mailbox pauses (rate_limited, daily_limit, sender_blocked, domain_auth) with escalating cooldowns that charge the lead no attempt, re-probe and owner Resume sending for SMTP holds, short pauses keeping bound leads waiting, auto-resume of paused_no_accounts campaigns, and a mailbox drawer pause notice with list badge (migration 000366) 2026-11-07 11:01:55 +01:00
Matthew Meszaros 1076722d97 feat: add client roles for restricted members: organization_roles.acts_in_scope (migration 000365 widens the access trigger to manage_campaigns and send_campaigns from such roles), a ResourceScopeGate action allowlist for unibox replies, labels, read state, filing, snoozes and scheduled cancels and for granted campaign edits, steps and start/stop, handler checks holding replies to conversations in granted mailboxes and campaign edits off senders, folders, tracking domain, status and workspace step actions, three client role presets in the member access dialog, invite flow and Roles page, scope-aware dashboard controls, tests and docs 2026-11-07 11:01:55 +01:00
Matthew Meszaros daeb12fac2 feat: add campaigns.follow_up_sender (same, same_domain, rotate) so follow-ups can be placed by rotation with ESP matching, caps and min-gap instead of waiting on the lead's first mailbox, send the full References chain on every threaded follow-up, credit CC replies through any mailbox that sent to the lead, show per-step senders in the contact drawer, and document the tradeoffs in Preferences, the campaigns and sequences guides and the API reference 2026-11-07 11:01:55 +01:00
Matthew Meszaros 94940f8cb3 feat: balance charges an automatic reload only while reload is on and the balance under its threshold and cancels a pending one when reload is turned off, answers a top-up still going through with 202 and honors Idempotency-Key on it, keeps user_id off checkout session metadata, gives the new reload its own auto_reload_enabled switch, sets plan monthly_credits to match the dollar allowances, closes stale legacy pack charges and fails a charge after eight unanswered attempts, and refreshes annual allowances oldest reset first 2026-11-07 10:36:20 +01:00
Matthew Meszaros fe908522e8 feat: renumber the balance migration to 000364 so it follows the lead finder's 000363 on main 2026-11-07 09:47:51 +01:00
Matthew Meszaros 3cde209400 feat: renumber the balance migration to 000363 so it follows the lead finder's 000362 on main 2026-11-07 09:47:51 +01:00
Matthew Meszaros 4f80257769 feat: charge lead finder website reads, person emails and paid-source search pages to the dollar balance as priced units (lead_website_read, lead_person_email, lead_search_page) with the same refunds, record what an enrichment run cost in charged_micro, show the prices and charges in dollars in the lead finder, and add the units to the admin price list and the docs 2026-11-07 09:47:50 +01:00
Matthew Meszaros d2683f09d4 feat: renumber the balance migration to 000362, let the qa stack bill through a Stripe test key given as QA_STRIPE_SECRET_KEY, and add a balance proof flow with its fixture 2026-11-07 09:47:50 +01:00
Matthew Meszaros 4716ab963f feat: replace AI credits with a dollar balance charged on actual usage (provider price per model and unit plus an admin-set markup), with dollar plan allowances, one-click top-ups on the saved card billed as Stripe invoices, Checkout that saves the card, automatic reload with soft-decline retries and a monthly limit, low and empty balance notices, dollar spend limits, an invoices list, the Balance tab, header meter, banner and out-of-balance dialog, an admin pricing editor, the iOS billing screen and the balance guide, keeping the credit columns in step by trigger for mixed versions and rollback 2026-11-07 09:47:50 +01:00
Matthew Meszaros fa73150ea7 feat: renumber the lead finder migration to 000363 after 000362 landed on main, and require schema 363 in its live test 2026-11-07 09:23:46 +01:00
Matthew Meszaros 70f5dc6218 feat: renumber the lead finder migration to 000362 after 000361 landed on main, and require schema 362 in its live test 2026-11-07 09:21:41 +01:00
Matthew Meszaros 19a0e4a5e0 feat: renumber the lead finder migration to 000361 so it follows the migrations already on main 2026-11-07 09:21:41 +01:00
Matthew Meszaros d448cdb20d feat: add map-based lead finder under /app/leads with pluggable OpenStreetMap, Google Places, Foursquare and Outscraper sources, website reads that find emails, socials and the people who run each business with pattern-built verified addresses, filters, saved searches, per-business or per-person CSV/XLSX/JSON export and add-to-contacts 2026-11-07 09:21:41 +01:00
Matthew Meszaros f174f8250b feat: renumber the mailbox sign-in scopes and switch migration to 000362 after main took 000361 2026-11-07 08:53:32 +01:00
Matthew Meszaros 18b5e0c7b6 Merge remote-tracking branch 'origin/main' into feat/google-trusted-app-signin 2026-11-07 08:52:27 +01:00