Commit Graph
708 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 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 5befab414b feat: show a vendor account's mailbox counts only for clients whose mailbox list the caller reads, keep the card state in a saved top-up setting's answer, keep the agency mailbox list's client filter clearable, and document retry safety for connecting a vendor account 2026-11-11 18:54:13 +01:00
Matthew Meszaros f250dddb11 feat: clear the keyless mark an older release leaves on a connection made from an agency account so it keeps reconnecting on its own, report a confirmed missing card apart from a failed lookup and only then keep an automatic top-up from being turned on, and show a failed client list as failed on the agency mailboxes page 2026-11-11 18:13:05 +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 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 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 229d6bc8c3 feat: let an agency switch between Agency and Agency Pro and between monthly and annual billing from Agency billing, priced before it is confirmed and prorated on its Stripe subscription, refused while the period has already used more sends than the target pool 2026-11-11 08:28:56 +01:00
Matthew Meszaros 0466e74a0a feat: notify the mailbox owner about positive replies by default through a new inbound_positive_reply notification category, delivered as Reply received when that is on, and keep saved categories a client omits from the preferences PUT 2026-11-10 19:18:19 +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 2385a1f3dd feat: hand reader services only public web-port pages and stop them redirecting off their own host, read MCP search tools' structuredContent and isError whatever the content shape, refuse a search when the server's credentials cannot be opened, honour a tool's minimum result count, keep nested results, multiline text and duplicate links' snippets, offer only search-capable tools in the web search picker and say it runs without approval, forward the per-provider search URLs in docker-compose.yml, and scope the robots.txt note to the lead finder 2026-11-10 05:01:14 +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 01c7eb83dd feat: answer an empty external warmup tag list as [] instead of null and place the warmup filter tag before </body> by a case-insensitive match on the original HTML 2026-11-09 21:07:00 +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 a2e1bf58f0 feat: merge main into the Partnership branch, keeping both the OAuth app import checks and the integration reconnect marking in the org transfer repository 2026-11-09 18:11:57 +01:00
Matthew Meszaros 78f09e10d1 Merge pull request #1210 from warmbly/fix/tester-sample-data-grant-eligibility
feat: decide tester sample-data eligibility from the active Test grant, not the initial password
2026-11-09 16:46:45 +00:00
Matthew Meszaros 878a962357 feat: page form submissions by an opaque (created_at, id) cursor that keeps microseconds while still accepting the legacy before timestamp, and keep every loaded submissions page in the dashboard live by re-reading the loaded window on realtime refreshes, appending older pages into it and removing deleted rows optimistically 2026-11-09 17:08:11 +01:00
Matthew Meszaros 3b96134813 feat: decide tester sample-data eligibility from the active tester and the dedicated Test workspace's unexpired managed grant instead of the outstanding initial password, expose it as sample_data_eligible on GET /admin/testers for the admin Testers button, cover replace-then-seed and reissue in a live repository test run in CI, and update the sample data docs 2026-11-09 16:57:04 +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 28e279ad32 feat: send campaign copy warmup to every out-of-inbox pool recipient again while the step warmup placement strip keeps reporting only Google Workspace and Microsoft 365 business inboxes 2026-11-08 04:58:09 +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 19eebd39c9 feat: compute GET /unibox/overview in one materialized scan with hash aggregates (21s to 5.6s on a 400-mailbox, 400k-message org, identical output), list every mailbox and tag in the overview, add a tag_ids filter to GET /unibox resolved in SQL, add POST /emails/bulk/delete, /bulk/warmup and /bulk/status, and make the dashboard share one mailbox directory cache, refresh the overview on its own slower coalescer, refetch only the head page of long thread lists, virtualize the mailboxes table and conversation list, and page the scope rail and filter popover 2026-11-07 11:02:20 +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 b8806a5ed5 feat: suppress a bounced address only on clear invalid-recipient evidence by letting the enhanced status beat weak recipient wording in dsn.Blame, adding block markers, quoting the sanitized SMTP server reply in send failures, reading the quoted reply from status-less failure notices, ignoring caller-supplied bounce causes, keeping unclassified bounces off the suppression list, and counting only address bounces as hard bounces in warmup and worker health 2026-11-07 11:01:54 +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 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 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 21d9b8fa19 feat: lead finder looks for a missing website from the business name and confirms it by phone or name and town on the page, shows website runs as a progress strip above the list with each business being read marked in its row, quiets empty cells, and lets add to contacts pick segments, labels and several campaigns, skip contacts active elsewhere and leave existing contacts as they are 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 18b5e0c7b6 Merge remote-tracking branch 'origin/main' into feat/google-trusted-app-signin 2026-11-07 08:52:27 +01:00
Matthew Meszaros 5327115209 feat: read Cloudflare's own refusals (errors 1000, 1001 and 1014) in the redirect visit check as edge_record and edge_inactive hints, and show the records to replace or the activation record in the redirect's fix panel instead of proxy steps 2026-11-07 08:17:45 +01:00
Matthew Meszaros 0989440f0d Merge remote-tracking branch 'origin/main' into feat/google-trusted-app-signin 2026-11-07 08:15:19 +01:00
Matthew Meszaros 568df446b6 Merge remote-tracking branch 'origin/main' into feat/google-trusted-app-signin 2026-11-07 07:30:50 +01:00
Matthew Meszaros 7325715c80 feat: remove the referral program from settings, the iOS billing page, the marketing site and the docs, stop attributing new signups to referral links, keep rewarding and clawing back referrals already attributed, and let a referral-backed discount code apply only to the workspace that signed up through it 2026-11-07 06:55:33 +01:00
Matthew Meszaros dea6692dde feat: record the scopes Google granted each mailbox token (email_accounts_oauth.granted_scopes, migration 000357) at connect, reauth and vendor convert, list only Google sign-ins without full mail access as retiring with the vendor that can reconnect them, tell workers through ADD_EMAIL full_mail_access to skip Gmail IMAP for a token known to lack it, let an app password take over a delegated Google mailbox after the worker check, add GET /emails/:id/signin with only the switches that can succeed, record vendor reconnect progress per mailbox on the audit spine, and reconnect vendor-linked Google mailboxes automatically behind mailbox_signin.auto_vendor_reconnect with one attempt in flight and a week between attempts 2026-11-07 05:20:33 +01:00
Matthew Meszaros c10ef21908 feat: connect vendor Google mailboxes by having InboxKit or Zapmail trust the BOX_GOOGLE client on the domain and complete each mailbox's consent at a single-use server-side vc. state finished in the Google callback, retire new domain-wide delegation requests, and add POST/GET /emails/vendors/:id/reconnect to renew or convert linked Google mailboxes in place 2026-11-07 05:20:33 +01:00
Matthew Meszaros 1db1ea0835 feat: request https://mail.google.com/ for new Google sign-in mailboxes (reauth still accepts gmail.modify) and run Gmail warmup engagement (spam rescue, mark read, star, mark important) over imap.gmail.com with the mailbox's own token, including delegated mailboxes through an optional mail.google.com delegation scope minted via ?purpose=imap on the internal token route, falling back per mailbox to the Gmail API when the scope or IMAP access is missing, with docs for scopes, warmup and existing delegation entries 2026-11-07 05:20:23 +01:00