Commit Graph
277 Commits
Author SHA1 Message Date
Matthew Meszaros 9ba62967ed feat: send campaign copy warmup only to business inboxes on Google Workspace and Microsoft 365 (never free Gmail, Outlook.com, Yahoo or small hosts), read each step arm's warmup placement there alone, and show an arm only after 20 receipts and a provider after 10 2026-11-06 10:44:19 +01:00
Matthew Meszaros 86214b9070 feat: document automatic campaign copy warmup and its prospect replies in the warmup guide, add GET /campaigns/:id/warmup-placement to the campaigns reference, scope map and openapi.json, and unexport the campaign copy eligibility check 2026-11-06 06:42:32 +01:00
Matthew Meszaros fc1574a0a5 Merge remote-tracking branch 'origin/main' into devin/template-warmup 2026-11-06 06:41:44 +01:00
Matthew Meszaros 6ab8fa8c28 feat: make campaign copy warmup automatic with no settings or page (a quarter of a mature sender's new threads open with a running campaign's step, never sent twice to one recipient in 30 days), continue each such thread with a prospect-style reply from a hand-written set and the sender's answer, show each step arm's warmup placement under the step on the campaign, and drop warmup templates, their settings table, permission and dashboard page 2026-11-06 06:41:44 +01:00
Matthew Meszaros d7535b2d25 feat: send a workspace's own warmup copy only to pool mailboxes that file warmup mail out of the inbox so it meets a provider's filter rather than a reader, and add GET /warmup/templates/:id so the template drawer shows the body 2026-11-05 20:12:53 +01:00
Matthew Meszaros cbd936d065 feat: let warmup templates and campaign copy pass the dispatch-time warmup check as single openings (an active template of the sender's workspace, campaign copy with no bank conversation) instead of being refused and requeued, keep the HTML part through the task sender, repeat the least recently sent own copy under own-copy-only and fall back to the bank only with no own copy at all, show recipient names only when displayname allows them, gate campaign copy on campaign view access, and check rendered copy before minting tracking tickets 2026-11-05 19:39:28 +01:00
Matthew Meszaros 5a3d10eb0a feat: keep the campaign's open pixel and wrapped links on its tracking domain when warmup carries campaign copy, with link tickets bound to the warmup task and no campaign so warmup engagement never reaches campaign analytics, and document it 2026-11-05 18:55:35 +01:00
Matthew Meszaros 9bbf149548 feat: warm up running campaign copy: each mailbox's warmup draws the opening steps and active A/B arms of the campaigns it sends for, rendered per pool recipient through the campaign renderer (merge fields, spintax, HTML, signature, opt-out, UTM) and refused when a step needs lead-only data, with per-step placement at GET /warmup/templates/campaign-copy, a campaign_copy setting, a 7-day mailbox maturity gate, big-three headline placement, a sender-only template resend check, lock_timeout and a concurrent org index 2026-11-05 18:24:43 +01:00
Matthew Meszaros 26c7433be4 Merge remote-tracking branch 'origin/main' into devin/template-warmup 2026-11-05 17:50:51 +01:00
Matthew Meszaros b8d3f127ad feat: fail a warmup reply's execution recheck closed when the premium sender's routing rules cannot be read, matching the new-thread recheck 2026-11-05 17:35:28 +01:00
Matthew Meszaros 97483a4854 feat: recheck a warmup reply at execution by the reply-partner rule instead of the capped new-thread draw, and send WARMUP_ACTIVITY and WARMUP_PLACEMENT on the warmup-update topic so the mailbox's whole organization receives them 2026-11-05 17:17:43 +01:00
Matthew Meszaros 95e5967310 feat: hold the warmup reply share between half and one and a half times its target instead of repaying whole deficits in bursts, answer the deepest warmup conversation first, exempt warmup replies from the recipient's inbound cap and its count, publish WARMUP_ACTIVITY so the mailbox drawer refreshes live, and show the seven-day reply share against the target 2026-11-05 16:27:27 +01:00
Matthew Meszaros 6fe614e909 feat: stop a lead's cold sequence once they book a meeting through a per-campaign stop_on_meeting setting (migration 000353, on by default including existing campaigns, plus a contact index on meeting_bookings in 000354) enforced in the campaign router alongside stop_on_reply, with settings and wizard toggles, a contact panel reason, live refresh on meeting events, the AI campaign tool field and API and guide docs 2026-11-05 15:26:20 +01:00
Matthew Meszaros c166c915a3 Merge pull request #1132 from warmbly/feat/template-field-aliases-and-validation
feat: accept snake_case, camelCase and lowercase aliases of built-in template fields through one shared tmplvars normalisation, refuse unrenderable step, variant and campaign-create copy with invalid_template, and fix the documented merge-field syntax in docs, CLI and seeds
2026-11-04 18:15:23 +00:00
Matthew Meszaros ca7bb6ec42 Merge pull request #1146 from warmbly/perf/postgres-load
feat: cut Postgres load: single-replica loops, claimed task and queue polling, fewer statements per arrival and sync report, retention and prune indexes
2026-11-04 16:42:26 +00:00
bruce 9081f93bd4 feat: add org-scoped warmup templates: template rows in the shared warmup_conversations bank sent verbatim from the owning workspace as a configurable share of its warmup (template_share, templates_only) with a once-per-sender-per-day cap, /warmup/templates API with a /check analyzer, settings and per-template placement by provider group, WARMUP_TEMPLATES permission bit 24, orgtransfer registration, docs, and tests 2026-11-04 16:13:34 +00:00
Matthew Meszaros 6b83ad3306 feat: tie each task dispatch claim to its lease so a lapsed replica cannot release a newer claim, wake webhook delivery from any process through a throttled Postgres NOTIFY on enqueue, keep delivered send-result effects whose task can still re-apply, floor warmup thread-turn pruning at the mail and recovery windows, retry transient unibox backfill failures, hand back run requests for stopped loops, report failed prunes and pool moves, and scope db load to the whole server without non-query text 2026-11-04 16:41:20 +01:00
Matthew Meszaros 686a916d42 feat: run the warmup, campaign, segment and tracking-domain reconcilers as claimed jobrun jobs, keep the worker reconciler, unibox body backfill and signing-secret migration on one backend behind a sticky Postgres session advisory lock (internal/leader), read warmup pool membership in one query with per-organization entitlement and risk lookups every 10 minutes, and take every jobrun run-now request for a process in one query 2026-11-04 12:43:39 +01:00
Matthew Meszaros 88b6bf0702 feat: keep an unconfirmed send out of mailbox health until it outlasts automatic recovery, measured from when the worker last progressed it, and show one that does as a warning that costs no health score instead of an error capped at 50 2026-11-04 12:14:18 +01:00
Matthew Meszaros b89e90a641 feat: refuse every html/template escape error in HTML copy, keep spaced custom-field keys from swallowing built-in operands, check selectors on parenthesised Sender values, render bare aliases as the built-in field in preview and send alike, and check a re-activated A/B variant's stored copy 2026-11-04 11:50:13 +01:00
Matthew Meszaros 93d8a73cbb feat: check Sender references through declared variables, with blocks and nested selectors, resolve form links in chosen A/B variant copy, check active variant copy at campaign start, keep line numbers when skipping form-link markers, and match first-name usage only inside template actions 2026-11-04 11:40:01 +01:00
Matthew Meszaros dc0c7b1eaa feat: accept snake_case, camelCase and lowercase aliases of built-in template fields through one shared tmplvars normalisation, refuse unrenderable step, variant and campaign-create copy with invalid_template, and fix the documented merge-field syntax in docs, CLI and seeds 2026-11-04 11:40:01 +01:00
Matthew Meszaros dd6a17ab6f Merge pull request #1135 from warmbly/feat/webhook-catalog-emitted-or-deprecated
feat: emit campaign.completed, inbox.reply_received, email_account.disconnected/error/synced, automation.run and bulk_operation.* webhooks from their control-plane sources, deprecate the five catalog events nothing can deliver, hide them from pickers, and add a source-scan test that every catalog event is emitted or deprecated
2026-11-03 12:01:15 +00:00
Matthew Meszaros 6afc5844b4 feat: emit campaign.completed, inbox.reply_received, email_account.disconnected/error/synced, automation.run and bulk_operation.* webhooks from their control-plane sources, deprecate the five catalog events nothing can deliver, hide them from pickers, and add a source-scan test that every catalog event is emitted or deprecated 2026-11-03 09:47:34 +01:00
Matthew Meszaros 7a9645123b feat: record the step A/B arm each contact was sent on campaign_contact_progress (migration 000338), report contact-based per-step arm stats with last-step attribution and a Bonferroni-corrected two-proportion z-test winner in GET /campaigns/:id/ab-analysis, implement ab_testing.auto_promote_winner as an audited consumer loop, and show per-arm results, winner and promotion in the step editor and Settings > Sending 2026-11-03 09:12:56 +01:00
Matthew Meszaros 55964fa40f feat: continue warmup reply selection past unavailable candidates while preserving send budgets 2026-11-02 09:30:44 +01:00
Matthew Meszaros 522ea35d14 feat: prioritize eligible recovery senders before limiting warmup reply candidates and clarify reply targets 2026-11-02 09:17:29 +01:00
Matthew Meszaros 1b98c61ef9 feat: hold mailbox warmup reply share to its configured target within existing send budgets 2026-11-02 08:59:31 +01:00
Matthew Meszaros a3205c9196 feat: hold only the warmup content to the self-description rule at dispatch so a sender's own name or address never stops its warmup, and give one rollout rule for pausing warmup dispatch in the generation docs 2026-10-30 10:21:28 +01:00
Matthew Meszaros 57993250b4 feat: send natural undisclosed warmup threads from a hand-written library plus the AI bank, rotate content by 30-day per-mailbox recency instead of deferring when fresh content runs out, refuse self-describing warmup wording on every turn and keep DKIM verification for new threads 2026-10-30 08:56:18 +01:00
Matthew Meszaros 610538f08c feat: block retired diagnostic wording in warmup replies and queued sends while rejecting duplicate batch content 2026-10-30 07:06:45 +01:00
Matthew Meszaros b098bcc567 feat: account for both warmup participants in pool replenishment and preserve retryable content repository failures 2026-10-30 06:42:52 +01:00
Matthew Meszaros f63bdc69a5 feat: seed approved pooled content for warmup dispatch deferral retries in the PostgreSQL regression fixture 2026-10-30 06:35:13 +01:00
Matthew Meszaros 430663cb7c feat: reuse approved warmup conversations across distinct mailboxes with automatic batch replenishment and varied content 2026-10-30 06:19:37 +01:00
Matthew Meszaros 97ef11242f feat: close a warmup reply-back whose recipient inbox is at its daily receiving cap so the mailbox keeps its normal cadence instead of holding its only pending task on a reservation refusal, sharing one inbox-room SQL rule (warmupInboxRoomSQL) between the reply pre-check and the send reservation, with unit and live tests and the warmup guide note 2026-10-27 19:35:19 +01:00
Matthew Meszaros 834935b879 feat: stream AI writing into the campaign email editor over SSE with a live tinted caret, Stop, and a review menu (keep, try again, refine, discard) for Ctrl+J, Edit with AI, Write with AI and subject ideas, plus plain-text mode, paste colour cleanup, deliverability rewording, bulk signatures with sender tokens and send-time additions 2026-10-27 07:36:02 +01:00
Matthew Meszaros 81d1a95b98 feat: add the admin-offered $90 Partnership plan with server-priced offer checkout, an admin-granted credential-free Cloud warmup mode where a linked instance keeps every mailbox credential and executes Cloud-planned warmup sends and engagement from a sealed per-link command queue, and Cloud verification of instance reports through recipient-bound arrivals, receiver-proven sends, a placement cross-check reporter-trust audit, liveness, expiry and revocation 2026-10-26 17:49:32 +01:00
Matthew Meszaros e44ec03cde feat: render campaign copy once after the A/B variant pick, escape reply template HTML previews in one pass, keep revoked session tombstones for the session cache lifetime and fill the cache with SetNX, refuse realtime socket tickets whose single use cannot be recorded, clear workspace-derived dashboard storage on logout, and add tests for session deadlines, password change revoke order, fresh auth, emailed code budgets, join token rotation, gin release mode, panic bodies and the auth secret floor 2026-10-26 06:13:59 +01:00
Matthew Meszaros 7e21de820b feat: give free Gmail and Outlook.com senders recovery engagement at all times, weight their warmup partners toward the Google, Microsoft and Yahoo hosts junking them instead of away, and start newly connected personal mailboxes at 20 cold/day, a 900s gap and a 25/day warmup ceiling, with warmup, mailboxes and campaigns docs 2026-10-25 10:44:45 +01:00
Matthew Meszaros 88e4370f1f feat: merge main into the mailbox, session and input validation branch, move the resolved MAIL_ALLOW_PRIVATE_HOSTS and MAIL_TLS_INSECURE node env lines into fleetnode.RenderEnv, renumber the mailbox TLS pin migration to 000324, and keep both sides of the configuration reference 2026-10-24 12:20:12 +02:00
Matthew Meszaros 12c87181e7 feat: stop delivering warmup mail to a mailbox whose warmup is paused or never started by requiring warmup on in the recipient predicate behind partner candidates, dispatch authorization, reservation and reply-back eligibility, and retire queued sends to it when warmup is paused 2026-10-23 21:59:05 +02:00
Matthew Meszaros f60dddb1f3 feat: stop Cloud warmup sending and receiving for every mailbox a revoked pool link enrolled before the link ends, so a detached instance's mailboxes receive no new, reply-back or queued diagnostic mail, with retryable revoke, live recipient-gate tests and Warmbly Cloud docs 2026-10-23 19:51:10 +02:00
Matthew Meszaros fdc611c806 feat: scope the AI switch step's newest-reply lookup (GetBySender) to the campaign's organization instead of the campaign owner's user id, so replies that reach a teammate's mailbox are seen, and drop the unused unibox Incoming service method 2026-10-23 19:08:32 +02:00
Matthew Meszaros 54e6910bb1 feat: render campaign, placement and preview HTML bodies through html/template so every contact, custom-field, AI and sender value is escaped for its context (text, attribute, URL scheme), keep the mailbox signature and Outlook conditional comments as written, escape the plain-substitution fallback with a context scanner under the 1 MB cap, and leave subject and plain text unescaped 2026-10-23 16:07:48 +02:00
Matthew Meszaros e62d80fa58 feat: keep spread warmup reply-backs and deferred warmup sends inside short warmup windows and date an overdue next-warmup label in the mailbox list 2026-10-21 10:34:22 +02:00
Matthew Meszaros 494ed2c06f feat: re-place parked warmup and campaign wakeups when mailbox behaviour, warmup hours, timezone, caps, tags, campaign pacing or the workspace timezone change, retire stranded warmup preparations with refunded charges or unsent tokens so they stop blocking mailboxes, spread window-opening reply-backs and deferred sends, and show the next queued warmup send in the mailbox list and drawer 2026-10-21 10:34:22 +02:00
Matthew Meszaros 2fcc56518e feat: log and leave to the warmup reconciler a failed reschedule after a warmup thread closes, and describe recovery replies in the warmup guide as a 60 percent chance when the recipient's next send is free 2026-10-21 07:34:06 +02:00
Matthew Meszaros dbed87ce55 feat: keep watch-band mailboxes warming at full volume with recovery replies, spam rescue and importance from the pool, hold one pending warmup task per mailbox so replies stop stacking and crowding out new threads, close expired replies on first fire, cancel existing duplicate schedules in migration 000319, and count slowed mailboxes as warming rather than needing attention on Emails 2026-10-21 07:32:47 +02:00
Devin AI 52a4df2f1a feat: permanently retire uncertain warmup sends without replay or refund and automatically resume eligible mailbox schedules 2026-10-20 06:36:25 +00:00
Matthew MeszarosandDevin AI bf6a450aa9 feat: recover abandoned warmup preparations and expose durable send safety holds in mailbox health
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-10-20 03:50:35 +00:00