Commit Graph
178 Commits
Author SHA1 Message Date
Matthew Meszaros 181c30e849 feat: switch off a custom-server mailbox whose IMAP connection has failed before the server answered for 72 hours with no successful sync or send, measured from a new trigger-stamped email_accounts.activated_at, and say why in the drawer, the Off pill, the disconnected webhook and the mailbox docs 2026-11-11 15:55: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 9128106295 feat: give each agency portal domain its own Worker route when CLOUDFLARE_SAAS_PORTAL_WORKER names the portal Worker, added with the domain's custom hostname and removed with it, so a Cloudflare for SaaS zone shared with tracking and redirect domains sends only portal domains to the portal 2026-11-10 13:35:47 +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 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 fe21388a90 feat: settle interrupted manual sends by releasing unstarted unibox reservations left failed or dead-lettered after an unknown hand-off, notifying the owner when recovery proves a manual send never left, and sweeping manual sends claimed but never reserved back to pending (or failed past an hour) from a backend loop, with live PostgreSQL regressions wired into CI and the unibox guide updated 2026-11-09 17:14:30 +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 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 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 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 18b5e0c7b6 Merge remote-tracking branch 'origin/main' into feat/google-trusted-app-signin 2026-11-07 08:52:27 +01:00
Matthew Meszaros 527b982111 feat: register every verified tracking host and redirect domain (root and www) as a Cloudflare for SaaS custom hostname when CLOUDFLARE_SAAS_* is set, show a root CNAME and its activation TXT behind that edge, point the www record at the root, and let the AWS tracking listener forward unmatched hosts to tracking behind tracking_serves_unmatched_hosts 2026-11-07 08:17:45 +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 e7ae368921 feat: release a Gmail or Outlook mailbox's permanent send hold automatically once a complete sync outlives the refusal (at most every 6 hours, migration 000357), let a reconnect clear permanent holds, and tell owners how sending resumes 2026-11-07 05:41:08 +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
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 6642f339ea feat: merge main after the Postgres load work landed, number the mailbox push channels migration 000351 after it, and share one arrival batch size between the claim and the delivery loop 2026-11-04 18:03:46 +01: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
Matthew Meszaros 8984e1ffde feat: keep campaign feeds, notifications and webhook delivery logs unless an operator sets a window, stop pruning tracking dedupe marks, cap warmup mail retirement at one 50-message share per mailbox per run, keep the sync recovery clock exact, and prune warmup thread turns in batches that respect each mailbox's own retention 2026-11-04 14:09:37 +01:00
Matthew Meszaros fc1c59a51b feat: prune campaign feeds, notifications, webhook delivery logs, tracking dedupe marks, worker health samples, delivered send-result effects and warmup thread turns in batched ctid deletes from one jobrun table_retention job with three new retention settings, index every prune and the capacity view window, drive warmup mail retirement from the mailboxes that can act, and persist the unibox body backfill place 2026-11-04 12:56:35 +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 d8c63c4232 feat: accept Gmail watch notifications as Pub/Sub HTTPS push at /api/v1/mailbox-push/gmail, verified by a Google-signed token for GMAIL_PUSH_SERVICE_ACCOUNT, keeping the consumer pull subscription for instances Pub/Sub cannot reach 2026-11-03 16:31:15 +01:00
Matthew Meszaros d241a836f8 feat: sync mailboxes in realtime through Graph change notifications, Gmail Pub/Sub watches and IMAP IDLE that wake the owning worker with SYNC_WAKE, drain stored arrivals continuously, and add an opt-in autoscaling AWS worker fleet without public IPv4 scaled on a published fleet utilization metric 2026-11-03 15:11:24 +01: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 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
Matthew Meszaros 999597508c feat: provision private three-zone NATS JetStream and add gated Kafka migration readers with compatible codecs 2026-11-02 15:25:15 +01:00
Matthew Meszaros d8cf1fd9d5 feat: bind every node-only internal call from a credential-authenticated worker to its own assignment (worker id, assigned mailboxes, their organizations, data keys and mailbox or campaign blob keys) via internal/app/nodescope with a 30s per-node cache and indexed point lookups on a miss, keep a moved mailbox in its previous worker's scope for 30 minutes through email_accounts.previous_worker_id and worker_released_at recorded by a trigger (migration 000337), grant an organization to a worker for a credential check, exempt consumers, and document the invariant 2026-10-31 11:38:04 +01:00
Matthew Meszaros 6e73f256c2 feat: recover unknown-outcome send holds automatically by turning campaign send isolation on by default, releasing never-started reservations after 30 minutes, lifting started Unibox, placement and Cloud holds that can never run again (tasks.send_hold_lifted_at, migration 000334) and clearing holds on missing or settled tasks, and replace the provider-confirmation mailbox health message with a no-action-needed one 2026-10-31 09:04:17 +01:00
Matthew Meszaros e326406549 feat: isolate unconfirmed campaign sends with portable contact protection and staged automatic recovery 2026-10-30 06:40:48 +01:00
Matthew Meszaros bcef5d160f feat: enforce hosted SMTP authentication policy across mailbox negotiation and platform relays while preserving self-host compatibility 2026-10-28 09:49:27 +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 dec13b1503 feat: merge fresh authentication on member, role, billing, credit, API key and webhook routes, reset tokens in the URL fragment, refused repeated OAuth form parameters and the 48-hour invitation and tester expiry cap into the tenant-scoped hosts branch 2026-10-26 06:56:09 +01:00
Matthew Meszaros 75452ada8c feat: merge per-node fleet credentials, the resolved deployment mode in node env, worker env without instance credential keys, hosted-only TLS verification for the platform relay and XOAUTH2, instance-mode credential reseal, broker access logs for node env and cloud-link tokens and the TWOFA_SECRET floor into the tenant-scoped hosts branch 2026-10-26 06:54:44 +01:00
Matthew Meszaros 7075361458 feat: print the first-boot claim link to the backend log only under APP_ENV=dev and otherwise log a pointer to warmblyctl setup-link, withhold link fragments as well as query strings from MAIL_TRANSPORT=log output, and correct the boot warnings and self-host docs to say a non-delivering transport never gates a sign-in or signup on an emailed code 2026-10-26 06:53:48 +01:00
Matthew Meszaros 6f7c3db746 feat: carry the password reset token in the emailed link's #session= fragment, have the reset page read the fragment or the query from earlier mail and clear both from the address bar, and forward the unused /auth/login/confirm and /auth/register/confirm pages to the current sign-in and sign-up flow without reading credentials from their query 2026-10-26 06:53:35 +01:00
Matthew Meszaros 448c2bc70c feat: require a TWOFA_SECRET of at least 32 characters on hosted production, and on self-hosted or development instances keep booting with a short one while logging a warning and raising the twofa_secret_short instance health finding 2026-10-26 06:26:53 +01:00
Matthew Meszaros 6df80cfc5f feat: verify the platform SMTP relay certificate on hosted production whatever SMTP_TLS_INSECURE_SKIP_VERIFY says, send the SMTP XOAUTH2 bearer token only over TLS or to a loopback host, and report an ignored relay knob in instance health 2026-10-26 06:25:13 +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 03fd30f9bc feat: merge decoded-byte image validation with download-safe serving, own-domain form and domain redirects, TLS-only SMTP AUTH negotiation and pinned per-server certificate opt-outs, with MAIL_TLS_INSECURE honoured on self-hosted and development instances and resolved by the control plane for joining nodes 2026-10-23 16:20:30 +02:00
Matthew Meszaros d7bacf6112 feat: check every mailbox SMTP and IMAP dial against its resolved peer address in netbind, refusing loopback, private, link-local, CGNAT, multicast and metadata addresses on hosted production and wherever MAIL_ALLOW_PRIVATE_HOSTS=false, render that resolved policy into each joining node's env, and honour WARMBLY_ALLOW_UNSAFE_WEBHOOK_URLS only on self-hosted or development instances 2026-10-23 16:02:52 +02:00
Matthew Meszaros fdea749005 feat: preserve encrypted credentials and MFA enrollments across staged key rotation with scoped token grace periods 2026-10-22 12:37:19 +02:00
Matthew Meszaros 99357a6823 feat: add Terraform AWS hosting with optional Postgres pooling and migration-gated deployments 2026-10-22 08:57:54 +02:00
Matthew Meszaros 7d4c57cab3 feat: drop warmup recipients the pool cannot reach from partner selection, weight the draw by each recipient's verified arrival rate, and warn owners through the warmup_mail_not_arriving Advisor check 2026-10-15 19:08:54 +02:00
Matthew Meszaros 8b667c2d29 feat: merge main into the mobile app redesign branch, keep both the apollo and appattest handler imports, and renumber the app_attest_keys migration to 000291 now that main holds 000290 2026-10-12 10:40:02 +02:00
Matthew Meszaros ec46f57d22 feat: redesign the iOS app (inbox with inbox agent drafted replies edited in the full composer, Remie, home, analytics, CRM, contacts, settings hubs, mailbox connect flow covering every dashboard source) and replace Turnstile in the app with Apple App Attest (attested keys in app_attest_keys, challenge and key endpoints, verifyHuman gate on login, registration and password reset, auth config flag, docs and OpenAPI) 2026-10-11 19:00:50 +02:00