Commit Graph
1804 Commits
Author SHA1 Message Date
Claude dab1b4599c feat: recommend an Idempotency-Key when retrying PATCH /emails/:id/track because it takes the domain from the query, and describe DELETE /api-keys/self as revoking the calling API key with 400 bad_request for a session 2026-11-22 02:47:46 +00:00
Claude 0f07adea0f feat: tighten openapi.json to the code for idempotency replay and unknown outcomes, lead approval retries, the store price_changed quote, the nested login token, 499, OAuth grant forms, sync, tracking domain, placement batch, agency client caps, compose and thread draft, bulk mailbox delete and store read schemas, and correct EMAIL_BOUNCED, store mailbox event and copy-to refusal wording in the API docs 2026-11-22 02:38:16 +00:00
Claude b6e0ce8bfd feat: document the STORE_ORDER_UPDATED, STORE_DOMAIN_UPDATED and STORE_MAILBOX_UPDATED realtime events in asyncapi.json and realtime.mdx, and add the 499 client-closed status, its idempotency outcome, and the missing store, Microsoft 365 consent and admin refund error codes to error-codes.mdx 2026-11-22 02:14:47 +00:00
Claude 8705332039 feat: describe the 30 /store routes (status, domain search, registrant, quotes, orders, domains, connections, DNS, Microsoft 365 consent, mailboxes, photos, transfer-out and sign-in) and GET /emails/partner in openapi.json, and add segment_ids to the Apollo, Salesforce and form import schemas, purchased fields to Mailbox and DomainGrant, and contact_email and partner_account to User 2026-11-22 02:13:28 +00:00
Claude 5176701822 Merge remote-tracking branch 'origin/main' into claude/api-contract-2026-11-15
# Conflicts:
#	docs/public/openapi.json
2026-11-22 02:08:08 +00:00
Matthew Meszaros 58ca837244 feat: index send-recovery and reply-intent lookups, default log level to info, quiet batched map lookups in the access log (#1306)
* feat: index outbound_attempts by task and reply_intents by unibox message so send recovery and reply lookups stop scanning those tables, default the Go services' log level to info outside dev with a documented LOG_LEVEL override, and drop successful batched message-map lookups from the access log

* feat: say in the configuration docs that LOG_LEVEL filters the Go services' structured log lines and leaves startup messages and the access log alone

* feat: pass LOG_LEVEL through the self-host compose env to the backend, consumer, worker and forms containers
2026-11-21 19:44:32 +01:00
Matthew Meszaros 0e037e0f9c fix: send the pre-fee invoice parameters unchanged on retries of charges the previous release started, and keep AI top-up refunds counting only when the whole charge is refunded so every release in the rollout reverses them the same way 2026-11-21 17:36:25 +01:00
Matthew Meszaros b8519ecff5 feat: add a 3% processing fee on top of every card payment into the workspace balance and the agency AI balance (one-click, Checkout, automatic reload and AI auto top-up), billed as its own invoice line with the balance credited the chosen amount, and show the fee and total in the add funds, auto top-up, store round-up and agency billing UI and docs 2026-11-21 17:21:14 +01:00
Matthew Meszaros f9e53441ba feat: cut CI to Go lint, Go unit tests and a Migrations job that applies every migration to an empty Postgres 16, delete every Postgres- and Redis-backed test, warm the Go cache from main, parallelize the CLI cross-compile, cache the tracking image's Rust dependencies in their own layer, roll the AWS deploy in two waves with a 120s default bake, and make tests opt-in in AGENTS.md 2026-11-20 18:00:50 +01:00
Matthew Meszaros 5a9d798829 Merge pull request #1295 from warmbly/feat/microsoft-tenant-consent
feat: Microsoft 365 tenant consent for purchased mailboxes (automatic with the admin mailbox, partner consent links, store approval fallback, action_required)
2026-11-20 16:12:37 +01:00
Matthew Meszaros 089d4d0c35 feat: approve purchased Microsoft 365 tenants in the background with the domain's admin mailbox (password grant through a Microsoft first-party public client, tid and admin-role proof, idempotent Graph service principal and app role assignments, verified and recorded through the same finisher as the callback, one run per workspace and tenant), park a mailbox on the Approve in Microsoft 365 card only after a non-transient refusal with its reason in store_mailboxes.action_reason, never sign in again on a domain that fell back, and update the buy-mailboxes guide and store endpoint reference 2026-11-20 13:59:32 +01:00
Matthew Meszaros 5391ddf177 feat: connect Microsoft 365 mailboxes bought through GraphKit with Warmbly's own Entra app after a session-less tenant admin consent (adminconsent plus administrator sign-in, verified against Graph, grant recorded and waiting connects woken), with POST /v1/partner/organizations/:external_id/microsoft-consent-links, POST /v1/store/domains/:id/microsoft-consent, action_required microsoft_consent on partner and store mailboxes (migration 000412), an Approve in Microsoft 365 step on the store order page, and docs 2026-11-20 12:36:41 +01:00
Matthew Meszaros 6b18ab8d2d feat: sync mailboxes through narrow push/IDLE checks and a 15 to 60 minute full check scaled by mailboxes against the plan allowance (#1293)
* feat: run a narrow check (Graph inbox and junk delta, IMAP INBOX and junk from their cursors, Gmail history only) on a push or IDLE wake at most every 30 seconds while the full sync pass keeps its own timer, and resolve each Graph delta page and Gmail history page through one batched message-map lookup including the immutable-id regular fallback

* feat: give every mailbox without a live push channel or IMAP IDLE watch a jittered 5-minute narrow check (Graph inbox and junk, IMAP INBOX and junk, Gmail history) that starts the moment IDLE drops or a push channel lapses and stops when the signal is back

* feat: run every mailbox's full sync check every 15 to 60 minutes scaled by mailboxes held against the plan allowance (operator-editable sync.full_check_min_minutes and full_check_max_minutes, shipped as SyncPolicy.full_check_seconds with seeds and pool-linked mailboxes kept at one minute), give errors their own backoff in nextSyncDelay, retire SYNC_PUSH_FALLBACK_INTERVAL, and widen the sync_stale monitor and provider hold recovery freshness windows to match

* feat: document that mailboxes without push or IDLE see new mail within about 5 minutes through the narrow check while every folder gets the 15 to 60 minute full check, in the mailboxes guide, realtime mailbox sync, configuration and architecture pages, and list the narrow poll interval under effective limits

* feat: keep the full sync pass on a one-minute catch-up cadence while an import or Graph, Gmail or IMAP recovery is unfinished and pull it forward when a narrow check meets such work, add a 15-minute safety narrow check behind live push channels, treat a zero mailbox allowance with mailboxes held as the slowest full check, widen the stale backfill monitor to the full check window, and correct the IMAP_IDLE admin text
2026-11-20 12:15:37 +01:00
Matthew Meszaros 24f2fd6e5f feat: route fleet node control-plane calls over the backend's private TLS listener instead of Cloudflare (#1291)
* feat: offer fleet nodes the backend's private TLS address through opt-in NODE_BACKEND_INTERNAL_URL and NODE_BACKEND_INTERNAL_CA (rendered as WARMBLY_BACKEND_INTERNAL_URL and a base64 CA beside the unchanged public address), have workers and consumers probe it at startup and route every control-plane client through one CA-pinned transport or fall back to the public URL, and add the workers root's backend_internal_port rule and the runtime root's nodes_private_backend switch

* feat: replace a node's private control-plane connections every 2 minutes over HTTP/1.1 so new backend tasks behind the Cloud Map name get node traffic, resend a request whose private dial, DNS or TLS handshake failed once to the public address (replayable bodies only, never after the request was written), and route all node calls to the public address for 5 minutes after 3 dial failures in a row, logging each switch once

* feat: keep a node's control-plane call from being resent to the public address once any private attempt wrote its headers, send the caller's own body on a first send during a public window, and mark the backend's NODE_BACKEND_INTERNAL_URL and CA settings as needing a backend restart in the configuration docs
2026-11-20 12:04:25 +01:00
Matthew Meszaros bebc0c2490 Merge pull request #1290 from warmbly/feat/contact-segments
feat: let Apollo and Salesforce imports and lead-capture forms pin every contact into chosen segments
2026-11-20 06:40:24 +00:00
Matthew Meszaros 43d365e073 feat: let Apollo and Salesforce imports and lead-capture forms pin every contact into chosen segments (with inline create-named-after-import in the import dialogs, segment chips on saved imports, a form Settings picker, form API and AI tool support, workspace export of form segments and migration 000411) 2026-11-20 07:05:38 +01:00
Matthew Meszaros e68f659766 feat: always offer Microsoft 365 mailboxes in the store instead of only the providers GraphKit's live price list carries, and show a domain search's exact matches first through an exact-only search (suggestions=false) that the dashboard runs alongside the full one 2026-11-20 06:50:14 +01:00
Matthew Meszaros 836caee500 feat: offer only the mailbox providers GraphKit's live price list carries, refuse an unlisted provider before quoting with provider_unavailable, treat GraphKit's provider refusal as final so a charged order is refunded instead of retried, and move a saved cart off a provider that is no longer offered 2026-11-19 18:58:36 +01:00
Matthew Meszaros e9042b8545 feat: refuse deleting a workspace or account while it holds running store purchases, replay a same-key ledger debit that committed while waiting on the lock, refund a paid month on a mailbox that ended under an unpaid cancellation, bill and settle every open mailbox instead of the newest 500, keep an in-flight renewal on its own charge key through auto-renew toggles and refund it when the domain can no longer renew, and keep CI fast and minimal in AGENTS.md 2026-11-19 18:30:36 +01:00
Matthew Meszaros 2644d7e4e0 Merge pull request #1284 from warmbly/feat/domain-mailbox-commerce
feat: in-app store for domains and Google Workspace or Microsoft 365 mailboxes through GraphKit, with a shared prepaid balance, bundled mailbox billing and partner add-on
2026-11-19 18:17:57 +01:00
Matthew Meszaros b6e90b6803 feat: add an in-app store to buy and renew domains and Google Workspace or Microsoft 365 mailboxes through GraphKit with a one-screen checkout, automatic DNS, tracking, forwarding, photo and signature setup, a shared prepaid balance with a $10 minimum, $100 default and auto top-up, bundled monthly mailbox billing charged before fulfilment, a plan gate that keeps purchased mailboxes readable but stops sending and warmup when the plan lapses, AI overage opt-in, admin, API, CLI, MCP, agency and partner add-on coverage, and a locked store for self-hosts until a GraphKit API key is set 2026-11-19 17:10:23 +01:00
Matthew Meszaros 62e960456b feat: run Kafka worker commands from per-mailbox queues so one slow command no longer stalls every mailbox on a worker, raise the default worker command concurrency to 32, keep a campaign lead on its mailbox while that mailbox's last send is still in flight, and drop the morning and lunch push that idled a whole campaign for up to two hours (#1280) 2026-11-18 21:08:17 +01:00
Matthew Meszaros 319e169c32 feat: keep AI copy another write stored first unless the write is a rewrite, refuse a null contact list on the paid AI write pass, release unsent reservations on a bounded context, and confirm before review links, approvals or turning review off can drop a draft or release leads 2026-11-18 14:44:31 +01:00
Matthew Meszaros 2c9691356a feat: hold a lead's own copy and AI copy to the send that claims them, keep the review hold through manual and CRM pauses, refuse an empty contact list on the paid AI write pass, round-robin background write-ahead across campaigns, and tighten the review panel's drafts, keyboard, batching and error states 2026-11-18 14:12:54 +01:00
Matthew Meszaros 77933bc216 feat: add a Review tab to every campaign email step that shows each lead's real copy with AI parts written ahead, an Approve before sending hold with approve and bulk approve, a lead preview stepper in the step editor, and a review panel on Steps when no email step is left 2026-11-18 12:54:04 +01:00
Matthew Meszaros c55651d169 feat: skip leading blank rows in spreadsheet.Parse for CSV and XLSX so an import whose sheet starts lower down gets real headers instead of a null column list that crashed the contact import mapper, with a regression test and the contacts and mailbox import guides updated 2026-11-18 06:16:00 +01:00
Matthew Meszaros 0f5cf14409 feat: send warmup replies under a "Re:" subject (mailhdr.ReplySubject) with the matching token subject while lineage keeps the thread subject, consolidate the three reply-subject helpers, add a live HandleEmailTask regression to the live-3 CI job, and update the warmup guide 2026-11-17 19:50:53 +01:00
Matthew Meszaros 609f8d235b feat: describe the warmup reply-due rule in the warmup guide as a next-send comparison rather than a strict ceiling on mailboxes ahead of their reply rate 2026-11-16 10:00:29 +01:00
Matthew Meszaros 08b52fe7b8 feat: hold the warmup reply share at the mailbox's reply rate by sending a reply only while one is due (warmupramp.ReplyDue) on both the arrival reply-back and the plain-send paths, at half again the target while due and never while ahead, so new threads refused by full recipient inboxes no longer push the seven-day share above the setting, with a simulation covering low new-thread reach and the warmup guide updated 2026-11-16 09:51:47 +01:00
Claude e1cd8b6081 feat: describe the multipart file body of POST /oauth/application-logo and the verification_status, custom and custom:<key> targets of ContactImportColumnMapping in openapi.json 2026-11-15 02:36:56 +00:00
Claude 33d93ce035 feat: name step_id on the EMAIL_BOUNCED payload, list paused_trial_expired, paused_guardrail and paused_undeliverable in CampaignStatus, allow a null ContactLookupResult.contact, and limit tool_migration_running to a running migration 2026-11-15 02:35:44 +00:00
Claude bfb2454dab feat: describe the client report, tool migration, mailbox connect, sign-in link, OAuth app, client connect link, warmup filter tag, copy-to and agency-key routes in openapi.json, and sync analytics tracked-send counts, form submission cursors, external warmup settings, agency plan fields, vendor agency refusals and warmup send failure kinds with the code 2026-11-15 02:21:05 +00:00
Claude a3da0a164f feat: state in endpoints.mdx that sign-in links replay under Idempotency-Key, which oauth-apps routes admit a workspace without the Partnership plan, and the client-links default limit of 50 2026-11-15 02:18:27 +00:00
Claude 4cacba82ca feat: correct the /migrations docs in endpoints.mdx and error-codes.mdx to match the code: in_flight takes restart or skip and refuses continue, and DELETE /migrations/:id refuses only a running migration 2026-11-15 02:16:14 +00:00
Claude 2e8464cbf9 feat: document the realtime join refusal payload (not_a_member, portal_session_restricted, rate_limited) and the EMAIL_BOUNCED and CAMPAIGN_PAUSED events in asyncapi.json and realtime.mdx, and correct the client-links paths and report schedule limits in endpoints.mdx 2026-11-15 02:15:31 +00:00
Matthew Meszaros fcc82b739d feat: record each mailbox's planned warmup volume for the day when the scheduler resolves it, so the warmup chart shows a real target and Target met reads sends against planned days only, with a dash when no day in the range has a recorded plan 2026-11-13 19:29:42 +01:00
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 5ad80ef007 feat: retry partner leads Dub never accepted from a backend sweep, hold dashboard signup clicks for an in-flight partner click, refuse the referral table's down migration while it holds rows, and clarify partner-program wording 2026-11-13 18:07:17 +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 e6c18d5f81 Merge pull request #1264 from warmbly/feat/fleet-cap-admin
Change the worker fleet's size cap from the admin panel
2026-11-13 15:49:12 +00:00
Matthew Meszaros aac4083ba4 feat: state in the SetMax comment and the AWS worker fleet guide that a scale-out racing a fleet cap change loses every worker it added above the new cap at once, picked as any scale-in and drained 2026-11-13 16:27:02 +01:00
Matthew Meszaros 7399fe2a07 feat: describe in the AWS worker fleet guide the one case where lowering the fleet cap removes a worker, a scale-out racing the change, which skips the quiet period of the fleet scale-in 2026-11-13 16:22:59 +01:00
Matthew Meszaros dcae2d5d04 feat: state that a fleet cap change racing a scale-out is undone by an ordinary zone-balanced one-worker scale-in through the drain hook, in the SetMax comment and the AWS worker fleet guide 2026-11-13 16:18:51 +01:00
Matthew Meszaros 6e71801feb feat: show fleet autoscaling status failures with a retry in the admin Capacity tab, derive the fleet cap ceiling from fleet_max_size when unset, warn through a fleet_cap check when fleet_max_size no longer matches the group's cap, and bound the cap and ceiling to int32 2026-11-13 16:10:34 +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 b4d33a80d3 feat: log a campaign send that the mail provider could not take just then (no answer, a dropped connection or a request to slow down) and that will be retried as an informational delay instead of a Needs attention error, including stored entries, while a send that has used all its attempts or was refused stays an error 2026-11-13 14:56:30 +01:00
Matthew Meszaros 42d1a8267b feat: normalize addresses before counting new contacts at the limit, surface a failed lookup as itself, and report no contact ceiling on a self-host without an override 2026-11-13 13:55:11 +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