756 Commits
Author SHA1 Message Date
Matthew Meszaros 092a923abf Merge pull request #1265 from warmbly/feat/dub-partner-program
feat: attribute Warmbly Cloud signups and subscriptions to Dub partner ?via= links without cookies
2026-11-13 17:36:09 +00:00
Matthew Meszaros 50532d2790 feat: log a campaign send held back before it left Warmbly (mailbox paused or held, at its sending limit, or the campaign at today's limit) as an informational postponement with the recipient instead of a Needs attention error, including stored entries, and keep deferred entries' fields in the scoped campaign log 2026-11-13 18:14:00 +01:00
Matthew Meszaros 828ec39abd feat: attribute Warmbly Cloud signups and subscription checkouts to Dub partner links behind an optional DUB_API_KEY, recording ?via= clicks on the marketing site without a cookie or Dub script, carrying the click as wb_click into signup (password, Google, Apple and OIDC), reporting the lead and tagging checkout metadata, and documenting it 2026-11-13 17:44:14 +01:00
Matthew Meszaros 5c56833ff9 feat: let the admin panel's Fleet capacity tab show the worker Auto Scaling Group's size against its cap and change the cap between the running fleet and a Terraform-set warmbly:max-ceiling tag, warning near and at the cap, through FLEET_AUTOSCALING_GROUP and GET/PATCH /admin/fleet/scale 2026-11-13 15:56:06 +01:00
Matthew Meszaros e4001c782e feat: enforce the contact limit per workspace from its plan or approved increase, counting every member's contacts, and update a teammate's existing contact instead of adding a duplicate 2026-11-13 13:42:32 +01:00
Matthew Meszaros a5f1b56820 feat: add Migrate from another tool to bring blocklists, mailboxes, draft campaigns and leads over from Smartlead, Instantly, lemlist, Reply.io, Woodpecker, Mailshake, Saleshandy, Snov.io, Apollo and QuickMail for workspaces and agencies, with agency API keys on MCP, migration MCP tools and warmbly CLI commands 2026-11-13 12:44:37 +01:00
Matthew Meszaros b8d7980c13 Merge pull request #1250 from warmbly/feat/remie-mcp-full-access
feat: let Remie and the MCP server reach every documented API endpoint and the docs, with search-based tool discovery
2026-11-12 18:01:08 +00:00
Matthew Meszaros 1332c3d116 feat: let Remie and the MCP server reach every documented API endpoint and the docs through find_api, describe_api, api_read, api_write, search_docs and read_doc, keep only core tools on the wire with search-based discovery on OpenAI and Anthropic, and default MCP tools/list to the core set plus find_tools and call_tool with ?tools=all for the full list 2026-11-12 18:45:58 +01:00
Matthew Meszaros 8609735732 feat: let an admin mailbox removal dry run list up to 1,000 exact targets so the preview needs no substring mailbox search, and update the warmblyctl docs 2026-11-12 18:13:59 +01:00
Matthew Meszaros b47da7014e feat: let an admin mailbox removal pass skip mailboxes an earlier pass could not delete, so persistent failures cannot stall the cleanup, and document the skip list 2026-11-12 17:44:37 +01:00
Matthew Meszaros f4688e2db7 feat: add POST /admin/mailboxes/remove so an operator can delete every mailbox on a domain owner's named domains across workspaces through the normal mailbox delete, with a dry run, a required reason, batches of 100, shared-provider refusal, audit entries, the warmblyctl catalog entry and docs 2026-11-12 17:35:17 +01:00
Matthew Meszaros 6edc5fc9db feat: re-ship only the mailboxes a worker reports missing instead of its whole inventory, run one coalesced reload per worker at a time with a 10 minute budget, and keep the boot flag for backends that do not advertise reloads_by_id 2026-11-12 09:29:11 +01:00
Matthew Meszaros d42c664dd1 feat: answer a workspace archive check in seconds by matching existing rows on their primary key index and bounding the advisory conflict counts, always send empty preflight lists as arrays, show a failed check next to its button, and exempt the archive import routes from the 10 MB request cap in the API and the nginx example 2026-11-11 20:42:35 +01:00
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 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 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 72c0777c33 feat: confirm an agency plan switch only from the price and billing period its preview was made for, let a switch Stripe already holds be previewed and completed, hold keyed requests on agency routes to the agency's staff before any answer is recorded or replayed, and bound the switch locks 2026-11-11 09:18:27 +01:00
Matthew Meszaros a170997c17 feat: bill an agency plan switch at the moment its preview priced it, run one switch per agency at a time, complete a switch Stripe already holds, scope retry keys on agency routes to the agency for staff with no workspace selected, and refresh the open workspace's plan after a switch 2026-11-11 08:57:39 +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 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 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 97b626ead8 feat: never reopen a claimed sign-in link so one link connects at most one mailbox, lock every matching OAuth app row while an import preserves secrets, and keep workspace OAuth apps Partnership-only on self-hosted instances too 2026-11-09 20:01:22 +01:00
Matthew Meszaros 9e3c8a6f33 feat: address the third Partnership review by masking internal errors in warmup notes, returning the fallback lookup error on a lost grant race, reporting refused warmup settings apart from a failed start on links, locking destination OAuth apps while an import preserves their secrets, guarding pool-link token updates by the issuing client, refusing to revoke a link whose sign-in is completing and treating unsealed archived OAuth secrets as absent 2026-11-09 19:46:11 +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 8cc09f7b67 feat: address the second Partnership review by keeping the sign-in link cookie for other open sign-ins, answering a Cloud 408 as an unknown hand-over outcome, guarding backend token refreshes by the issuing client, returning the mailbox as stored after warmup, renewing on a lost grant create race, rechecking Partnership when a link completes, recording and showing links whose warmup did not start, retrying the link completion write, keeping destination OAuth app secrets on credential-free import overwrites, guarding unsaved OAuth app drafts and fixing the setup guide anchors 2026-11-09 19:05:42 +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 c332307993 Merge pull request #1212 from warmbly/fix/idempotency-identity-completion
feat: key Idempotency-Key records to the credential and concrete resource, and record every outcome explicitly
2026-11-09 16:56:31 +00:00
Matthew Meszaros 8586d794cd feat: key OAuth Idempotency-Key records to the access grant, word the idempotency_outcome_unknown guidance around the 24-hour key lifetime and confirming the change did not happen, note that a 429 never clears a recorded outcome and a gateway 5xx leaves the key unused, carry the error code out of the retry example, and bound the live test's wait for a held request 2026-11-09 17:33:28 +01: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 3e5d7b6e47 feat: address review of the Partnership changes by allowing provider redirects in the sign-in link page CSP, refusing limit=0 on connect links, keeping saved OAuth apps maintainable after a workspace leaves Partnership, enforcing the key mailbox allowlist on grant renewal, dropping stale worker token updates for workspace-app mailboxes, keeping Partnership placement tests off the balance, refusing OAuth hand-backs and mixed credentials on Cloud, keeping ambiguous hand-overs retryable, excluding instance-run mailboxes from action admission, restoring the frozen reporter-trust placement filter, showing pending removal first and refusing workspace imports whose OAuth app collides 2026-11-09 17:05:07 +01:00
Matthew Meszaros 1e9594f6c0 feat: key Idempotency-Key records to the calling credential and the concrete resource path, record each outcome on a context detached from the request, free the key after a 401/403/429 refusal, and answer 409 idempotency_outcome_unknown after a server error, panic or abandoned request, with live PostgreSQL tests wired into CI and the retry-safety, authentication and error-code docs updated 2026-11-09 17:02:06 +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 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 6280c67d3b feat: give an AI draft retargeted at a newer inbound message a new id, so an approval of the version a reviewer saw (from any client, including one loaded before the deploy) sends nothing, in place of the optional source_message_id approval guard, with live Postgres regressions and the by-thread upsert docs 2026-11-07 12:55:42 +01:00
Matthew Meszaros 3c8512a7de feat: let AI draft approval name the source message the reviewer saw and refuse a draft retargeted since with 409 draft_retargeted, sent by the dashboard draft card, with handler, live Postgres and card regressions and the endpoint and error-code docs 2026-11-07 12:36:57 +01:00
Matthew Meszaros 5c01c0c7d6 feat: approve inbox-agent drafts with one tenant- and mailbox-scoped UPDATE ... RETURNING claim that sends exactly the claimed snapshot, scope the by-thread upsert's pending UPDATEs to the organization, match resolved drafts by source message with the creation-time fallback only for rows without one, and add live Postgres regressions for approval/upsert races and late-arriving inbound mail 2026-11-07 12:14:58 +01:00
Matthew Meszaros 1921814a87 Merge branch 'main' of https://github.com/warmbly/warmbly into feat/ai-draft-upsert-api 2026-11-07 11:58:35 +01:00
Matthew Meszaros 29eedfaef3 Merge pull request #1184 from warmbly/feat/gmail-signin-follows-backend
feat: show Google mailbox sign-in whenever the backend allows it and remove the dashboard flag
2026-11-07 10:34:55 +00:00
Matthew Meszaros bc85154d2d feat: show Google mailbox sign-in in the dashboard whenever the backend reports gmail_oauth_connect, removing the WARMBLY_GMAIL_OAUTH_CONNECT and VITE_GMAIL_OAUTH_CONNECT dashboard flag and the assessment-dashboard setup from config, compose files, docs and tests 2026-11-07 11:10:37 +01:00
Matthew Meszaros de4f880277 feat: hold a restricted member's campaign edits, step changes and starts to campaigns sending only from granted mailboxes in an explicit list with no mailbox tags, refuse their cc and bcc edits, match client role presets on permissions and acts_in_scope rather than name, and document the client reply and campaign edit rules 2026-11-07 11:02:20 +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