Commit Graph
122 Commits
Author SHA1 Message Date
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 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 fd730805ae feat: record opt_out as the stored reply intent when a campaign reply's class is unsubscribe so a reply_intent branch never routes an opt-out as interest, and give the LLM fallback the whole reply when quote stripping leaves nothing so a reply written below the quote is still read 2026-11-05 16:25:11 +01:00
Matthew Meszaros 95e9541629 feat: classify campaign replies on the whole body so an opt-out past the 200-character preview is read, feed the LLM fallback the reply without quoted history capped at 4000 runes, and word the keyword fallback in the inbox tagging docs as applying only when no verdict is stored 2026-11-05 16:10:51 +01:00
Matthew Meszaros e0a1ce3a5d feat: read every reply's sentiment from the stored TypeSafe verdict ahead of keyword phrases, so campaign reply_class, the recorded reply intent (webhooks, timeline, CRM tasks, auto-pause) and the Slack inbox card agree, and count pricing or info requests as positive 2026-11-05 15:47:45 +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 c114dd34aa feat: store bare template field aliases in canonical form on every copy write, check HTML bodies with html/template escaping rules, scope template branch variables, refuse selectors on text fields and unknown values, check campaign-level control arm copy, and read first-name usage from parsed field references 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 fcb40fdee0 Merge pull request #1130 from warmbly/feat/reply-optout-command-and-cross-campaign-hold
feat: treat a reply that is only an opt-out command (STOP, remove, unsubscribe) as an opt-out, add opt-in stop_all_campaigns_on_reply holding a replying contact in their other campaigns, and add skip_active_in_other_campaigns to CSV import, bulk add and segment add-to-campaign with dashboard controls and docs
2026-11-03 13:31:12 +00:00
Matthew Meszaros fb7546e141 Merge pull request #1131 from warmbly/feat/bounce-cause-keeps-valid-addresses
feat: decide bounce suppression from the DSN status code and server reply through a shared dsn.Blame rule so mailbox-full, policy, reputation and system bounces keep the address and lead while address-invalid ones suppress, carry the per-recipient status and diagnostic in inbound bounce reasons, reuse the rule in emailverify, and add an optional TYPESAFE_ENDPOINT
2026-11-03 13:15:28 +00:00
Matthew Meszaros 36b77487e3 feat: read the per-recipient DSN group with its Status field as the deciding code, keep policy-tailed and sender-scoped refusals off recipient suppression, reopen completed campaigns when a refused lead is kept, and require https for TYPESAFE_ENDPOINT outside loopback and private hosts 2026-11-03 13:27:07 +01:00
Matthew Meszaros 99886094ff feat: accept only sign-offs, complete footers, delimiters and name-like signature lines below a bare opt-out command, write the cross-campaign reply hold before the reply is marked processed, keep skipped pairs out of the manual-lead claim, and label the reply-hold switch 2026-11-03 13:24:41 +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 440f016c56 feat: treat a reply that is only an opt-out command (STOP, remove, unsubscribe) as an opt-out, add opt-in stop_all_campaigns_on_reply holding a replying contact in their other campaigns, and add skip_active_in_other_campaigns to CSV import, bulk add and segment add-to-campaign with dashboard controls and docs 2026-11-03 09:31:56 +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 d1ae1e2e32 feat: decide bounce suppression from the DSN status code and server reply through a shared dsn.Blame rule so mailbox-full, policy, reputation and system bounces keep the address and lead while address-invalid ones suppress, carry the per-recipient status and diagnostic in inbound bounce reasons, reuse the rule in emailverify, and add an optional TYPESAFE_ENDPOINT 2026-11-03 08:31:36 +01:00
555aaditya 52cc6c1e66 feat: read out-of-office return dates in Swedish, Danish, Norwegian, Finnish, Polish and Czech for workspaces that choose those tagging languages, by passing the tagging languages to the return-date reader from the out-of-office hold and inbox tagging 2026-10-28 14:09:34 +05:30
Matthew Meszaros 35a782a5e0 feat: check that lead sync, Salesforce and Apollo source campaigns and categories and Apollo enrichment contacts belong to the caller's workspace (lead_sync_target_not_found), answer a missing A/B test as not found, and add live cross-workspace tests for CRM sync, meetings, lead sync, website tracking, campaign children, form links and identify tickets 2026-10-26 07:48:36 +01:00
Matthew Meszaros dcc9adb339 Merge pull request #1040 from 555aaditya/feat/replyclassify-declined-negative-de-fr-es
feat: read declined and negative replies in German, French and Spanish for workspaces that choose those tagging languages
2026-10-25 08:55:25 +00:00
555aaditya 714401ae50 feat: read declined and negative replies in German, French and Spanish when the workspace chooses those tagging languages, through per-language langRules phrases, and pass the tagging languages to campaign reply classification 2026-10-23 22:50:30 +05:30
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
devin-ai-integration[bot] 3b1c50b9ec Merge pull request #988 from warmbly/fix/reply-processing-stale-stored-mail
feat: withdraw reply intents and untouched follow-up tasks left by mail from before its sender's contact, and credit unthreaded mail only to an earlier send (#960)
2026-10-16 07:52:00 +00:00
Matthew Meszaros a4d9ca5f20 feat: require exact message and CRM task provenance for historical reply cleanup, preserve unlinked legacy effects and retry failed pages idempotently 2026-10-16 07:30:17 +00:00
Matthew Meszaros fa6c935b12 feat: withdraw the reply intents and untouched follow-up tasks that mail from before its sender's contact produced through a one-time consumer cleanup, and credit an unthreaded contact message only to a campaign email sent before it arrived (#960) 2026-10-16 06:59:40 +02:00
Matthew Meszaros 8b9c9b3b70 feat: carry the stored inbox-tagging verdict (ai_labels, ai_intent, ai_intent_confidence, ai_kind, ai_relevance, ai_needs_review) on campaign.reply_received, offer it in the automation condition picker, match list fields by whole item in contains conditions and the new has/join template helpers, and title Slack and Discord reply messages with the tagging labels 2026-10-16 06:56:45 +02:00
Matthew Meszaros eaa7956558 feat: judge each message in the reply opt-out recheck against the contact's creation date or our first send even when the suppression is attributed to a campaign, using the campaign only once the contact is gone 2026-10-15 15:50:30 +02:00
Matthew Meszaros e978cc65e1 feat: hold unibox sends to a fair-use allowance sized by provider and lowered by mailbox age, warmup standing and workspace risk with hourly, per-message and new-conversation bounds, require an earlier send before the opt-out recheck treats pre-contact mail as a reply, keep zero-date mail in the reply repair sweep, and retry a unibox refusal that could not be recorded 2026-10-15 12:33:33 +02:00
Matthew Meszaros dbfc5b06f8 feat: keep unibox sends out of campaign, warmup and shared send caps with their own 500-recipient daily ceiling and report refused sends to the mailbox owner, skip IMAP history below the held UIDNEXT on a folder-wide MODSEQ bump, and stop treating mail received before its sender became a contact as a reply in reply processing, the repair sweep and the opt-out recheck 2026-10-14 06:38:34 +02:00
Matthew Meszaros a53de41c92 feat: persist monotonic campaign dispatch intent and require locked verified wakeup provenance for every dead-letter replay path 2026-10-10 14:17:10 +00:00
Matthew MeszarosandDevin AI 3f8e951bd6 feat: guard legacy send dead-letter replay and expose unverified recovery evidence
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-10-10 13:38:43 +00:00
Matthew MeszarosandDevin AI e02655fd89 feat: coordinate TypeSafe billing recovery across backend and consumer, attribute token usage and reuse copy judgments during cache outages
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-10-08 04:28:37 +00:00
Devin AI 8a45508e79 feat: enforce shared outbound capacity and directional diagnostic consent across campaign manual warmup and seed dispatch with transactional result outbox bounded Gmail Graph DKIM audited repair holds and legacy upgrade gates 2026-10-07 14:02:11 +00:00
Matthew MeszarosandDevin AI 25514e13f6 feat: align reply notifications and queued delivery with Unibox machine-mail filtering and open the bell on unread
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-10-06 13:21:14 +00:00
Matthew Meszaros 3d1e117ea6 feat: show campaign names in auto-pause and provider-refusal notifications through displayname.DisplayableOr with a neutral fallback, and leave an inbound reply's subject out of notification emails while the in-app feed keeps it 2026-10-04 03:03:52 -07:00
Matthew Meszaros f0ec39febd feat: scope automation and sequence unsubscribes to the caller's organization, require manage_settings to create, edit, enable or delete automations, run each integration action only on its own provider's connection (400 action_provider_mismatch), refuse org-permission gates when no organization service is wired, read /integrations/bookings like contacts, scope lead claims, research runs and CRM list cursors to the organization, and bind contact note edits to the contact in the path 2026-10-04 02:47:10 -07:00
Matthew Meszaros 37e91fc89f feat: add HubSpot CRM mode where HubSpot deals, pipelines, tasks, notes and owners are mirrored and written through, sends and replies log as HubSpot emails, exit rules hold campaigns, list import, sync health, setup wizard in web, HubSpot app project with record card and workflow action, and docs 2026-10-04 07:47:51 +02:00
Claude 80594bb120 feat: classify inbound bounce/complaint technical lookup failures as retryable and propagate them from the consumer handlers instead of dropping them as no-match 2026-10-03 06:37:35 +00:00
Matthew Meszaros 1f0c6ca6d6 feat: send each mailbox's reply-to as a Reply-To header on campaign, unibox, test and placement mail (never warmup), record it on every campaign send attempt (tasks.reply_to, migration 000236) and credit a reply landing in that shared reply inbox to the campaign and its sending mailbox across reply attribution, the sync priority lane and copied-contact replies, show the sending mailbox on thread messages, recent activity and the reply webhook, start unibox and inbox-agent replies from the mailbox that emailed the contact, flag an untracked reply-to in mailbox settings, let the sandbox simulator answer Reply-To, and document the shared reply inbox (#756) 2026-09-30 05:33:34 -07:00
Matthew Meszaros 184e26a427 feat: call contact categories and inbox labels one name, Labels, across the dashboard (contacts tab moved to /app/contacts/labels with a redirect, pickers, filters, import, export, forms, segment field, timeline, and the Add label, Remove label and Label conversation automation actions), backend messages, AI tool descriptions and docs, keeping every API field name unchanged 2026-09-30 06:17:57 +02:00
Matthew Meszaros 5fdb2e40a5 feat: keep a refused lead copy from spending the lead's send attempts, drop campaign-wide CC and BCC addresses that bounced on the campaign, resolve copies only for email steps, fail a reply or link unsubscribe when the lead's copies cannot be read instead of guessing, credit a copy's message to a lead only when it replies in a thread, show each copy's status in the Leads CC badge, and close the CC picker on Escape from any focused child 2026-09-29 10:11:17 -07:00
Matthew Meszaros 0ed98a8c55 feat: copy up to two colleagues on every email a campaign sends one lead (campaign_lead_cc, migrations 000230-000231) with a drawer CC editor that suggests same-company contacts, hold a copied contact's own lead so nobody gets two threads, count a copy's reply as the lead's, opt out every copy on a link unsubscribe, drop a bounced or refused copy without bouncing the lead, skip suppressed campaign CC and BCC addresses, and document the endpoints, CLI, skills and OpenAPI 2026-09-29 09:53:27 -07:00
Matthew Meszaros 55c5bdcf61 feat: let inbox tagging confirm an out-of-office return date by asking whether the phrase the parser read it from says when the sender is back, send the hold to the workspace fallback on a clear no below 0.40, store the date asked about in a new inbox_tag_results.return_date column (migration 000223), and show the date and answer on the tagging review page 2026-09-27 20:28:44 -07:00
Matthew Meszaros 9d0f60801c feat: file an offline notification unasked when the action check fails, bring a reopened verdict's message back to the inbox, skip empty notices and require the built-in check on --recheck-notifications, keep workspace labels saved before a built-in took the name, keep the sender's subject out of the action-required notification and send it off the ingest path, and default omitted outreach settings fields on PATCH 2026-09-26 21:36:11 -07:00
Matthew Meszaros 6a13fd5238 feat: report the Message-ID Gmail stamps on a send and resolve a reply's campaign through the Gmail thread and In-Reply-To so campaign replies stop tagging as sales pitches (with a warmblyctl --recheck-cold-inbound backfill that clears the stale labels and a tasks thread index), let a workspace add its own yes/no and pick-one tagging questions with plain-word labels and hold/stop/task actions, and add tagging languages (44 named to the classifier; for 27, only once chosen, tagging also cuts their quoted history and reads their away and non-delivery subjects), documented in the inbox tagging guide and the OpenAPI schema 2026-09-24 21:08:35 -07:00
Matthew Meszaros de7a7c9748 feat: take back a replayed campaign pass the task queue refused and keep its dead letter, seed the next pass on a fresh context when the one after a failed hand-off could not be written, resume a campaign whose mailboxes lack a worker at the earliest reopening, and log that wait under its own daily line 2026-09-24 20:09:55 -07:00
Matthew Meszaros a54e9a3a2f feat: keep a campaign's pass chain running through every failure (a pass whose hand-off to a worker fails or that errors is followed by another a minute later instead of waiting on the reconciler, retries move their slot, dead-lettered passes replay through the campaign lock), pass over mailboxes no heartbeating worker holds (worker_id now loaded with the sender pool, shown as Reconnecting in the send plan), count a hand-off failure against the lead only when it is the lead's, and try up to 200 due leads per pass with a daily activity line when all are waiting 2026-09-24 19:56:14 -07:00
Matthew Meszaros 256010725b feat: count only email steps in every sent total (contact drawer, Leads view and statuses, campaign progress, guardrails, org conduct, verification evidence, segments, admin, advisor), keep line breaks in synced body text and strip quoted history in any shape, classify delivery failures before out-of-office and tag them as bounces, record statusless failure notices from X-Failed-Recipients as permanent bounces, limit reply and inbox-tag opt-outs to people answering our outreach (never bounces, auto-replies or list mail), and recheck earlier reply opt-outs, lifting with an audit entry only those the message that wrote them no longer supports 2026-09-24 09:44:17 -07:00
Matthew Meszaros 1c734411a3 feat: keep warmup out of Unibox notifications and the unread badge: tie reply notifications to their unibox message (notifications.unibox_email_id, migrations 000202-000204) so they are removed with it and read when it is read, link them to the conversation, count the badge as unread Inbox conversations without snoozed ones and refetch it instead of incrementing, hold a live arrival from the sender of an unconfirmed warmup send until its id is known, and never send warmup without a token (#659) 2026-09-23 07:30:09 -07:00
Matthew Meszaros addb956ad6 feat: shared TypeSafe client under internal/pkg/typesafe with inbox tagging phases 2 and 3 (hold, stop, task, suppress behind workspace switches, reversible ones on by default), labels seeded at workspace creation and by the follow-up sweep, premade inbox views (hot leads, needs a reply, follow up, declined, automated), typed reply classification and a reply_intent branch condition, an inbox agent draft gate, Advisor copy judgment with a cached editor re-check, warmup content lint, bounce cause classification that keeps a blocked address sendable, and per-form submission triage 2026-09-19 23:33:37 -07:00