Commit Graph
1227 Commits
Author SHA1 Message Date
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 6d8706e417 feat: claim a scheduled unibox email only from pending so a cancelled scheduled email is never dispatched, make DELETE /unibox/scheduled/:task_id a compare-and-set that answers 409 scheduled_send_not_pending once the send has left pending, treat that code as already sent in the outbox pill, document it in the unibox reference, error codes and OpenAPI, and run the cancel-versus-claim regressions in the live-1 PostgreSQL job 2026-11-09 17:03:34 +01:00
Matthew Meszaros 3b96134813 feat: decide tester sample-data eligibility from the active tester and the dedicated Test workspace's unexpired managed grant instead of the outstanding initial password, expose it as sample_data_eligible on GET /admin/testers for the admin Testers button, cover replace-then-seed and reissue in a live repository test run in CI, and update the sample data docs 2026-11-09 16:57:04 +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 2dc2298a84 feat: apply workspace risk after the campaign ramp and graduation in the launch projection as the scheduler does, send ramp numbers from campaign settings only while the schedule is on, label the ramp inputs for screen readers, show the ramp preview's real steady day, accept the full 1 to 5000 ramp range on iOS, drop the unsupported daily-limit advice for a ramp bottleneck and require schema 370 in the graduation live test 2026-11-08 14:25:52 +01:00
Matthew Meszaros 18af55d9c6 feat: add a per-campaign ramp-up choice (as replies come in, on a schedule, full volume) to the campaign wizard, campaign settings, iOS and the API via warmup_graduation, model both ramps in the launch estimate, start the schedule ramp at its start value on day one, and document it 2026-11-08 13:55:52 +01:00
Matthew Meszaros 6b510ab993 feat: read every ISO alpha-3 code, Canadian and Kazakh numbers, more calling codes and repeated country tokens in contact locations, prefer business timezone abbreviations over legacy links, store only zones routing can rank, pick location fields in a fixed order, fail closed when a recipient-local lead cannot be loaded, and give the timezone card an error state and the region dialog focus handling 2026-11-08 13:13:35 +01:00
Matthew Meszaros 39ab064a0c feat: keep recipient-local campaigns sending past a lead whose morning falls outside mailbox hours, recheck within 15 minutes while stored zones catch up, plan over every lead zone up to the UTC budget reset, match no contacts for an unknown world region, and make the lead timezone card and Split by region keyboard, daylight-saving and UTF-8 safe 2026-11-08 12:58:14 +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 1ed427c7dc feat: leave free Gmail and Outlook.com addresses out of step warmup placement whatever host is stored, and test folder and archive filing plus an undetected business host 2026-11-08 05:29:23 +01:00
Matthew Meszaros 253e776ad1 feat: keep free Gmail and Outlook.com addresses with no detected host out of step warmup placement, test the inbox exclusion for every recipient host, and say in the warmup docs which recipients count 2026-11-08 05:09:33 +01:00
Matthew Meszaros 28e279ad32 feat: send campaign copy warmup to every out-of-inbox pool recipient again while the step warmup placement strip keeps reporting only Google Workspace and Microsoft 365 business inboxes 2026-11-08 04:58:09 +01:00
Matthew Meszaros 7a26447112 feat: hold a member's eligible notification emails beside a failed check with DeferEmails, which reschedules without spending a delivery attempt 2026-11-07 21:10:26 +01:00
Matthew Meszaros c280c0be37 feat: limit the automatic vendor reconnect of IMAP mailboxes to app-password Google Workspace mailboxes, leaving plain-password ones as they are 2026-11-07 17:58:26 +01:00
Matthew Meszaros 8ac51a0000 feat: let the automatic vendor reconnect also move InboxKit and Zapmail Google Workspace mailboxes on app passwords onto Google sign-in, keeping the app password until the new sign-in is proven 2026-11-07 17:36:06 +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 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
Matthew Meszaros 1076722d97 feat: add client roles for restricted members: organization_roles.acts_in_scope (migration 000365 widens the access trigger to manage_campaigns and send_campaigns from such roles), a ResourceScopeGate action allowlist for unibox replies, labels, read state, filing, snoozes and scheduled cancels and for granted campaign edits, steps and start/stop, handler checks holding replies to conversations in granted mailboxes and campaign edits off senders, folders, tracking domain, status and workspace step actions, three client role presets in the member access dialog, invite flow and Roles page, scope-aware dashboard controls, tests and docs 2026-11-07 11:01:55 +01:00
Matthew Meszaros daeb12fac2 feat: add campaigns.follow_up_sender (same, same_domain, rotate) so follow-ups can be placed by rotation with ESP matching, caps and min-gap instead of waiting on the lead's first mailbox, send the full References chain on every threaded follow-up, credit CC replies through any mailbox that sent to the lead, show per-step senders in the contact drawer, and document the tradeoffs in Preferences, the campaigns and sequences guides and the API reference 2026-11-07 11:01:55 +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 94940f8cb3 feat: balance charges an automatic reload only while reload is on and the balance under its threshold and cancels a pending one when reload is turned off, answers a top-up still going through with 202 and honors Idempotency-Key on it, keeps user_id off checkout session metadata, gives the new reload its own auto_reload_enabled switch, sets plan monthly_credits to match the dollar allowances, closes stale legacy pack charges and fails a charge after eight unanswered attempts, and refreshes annual allowances oldest reset first 2026-11-07 10:36:20 +01:00
Matthew Meszaros 4f80257769 feat: charge lead finder website reads, person emails and paid-source search pages to the dollar balance as priced units (lead_website_read, lead_person_email, lead_search_page) with the same refunds, record what an enrichment run cost in charged_micro, show the prices and charges in dollars in the lead finder, and add the units to the admin price list and the docs 2026-11-07 09:47:50 +01:00
Matthew Meszaros 29de4c338b feat: refresh the monthly allowance of yearly subscriptions on each month's anniversary of their period start from the balance sweep, so annual plans get their included usage every month with added money spent once it runs out, and price gpt-6-luna at $0.10 input and $0.50 output per million tokens in the default usage prices, the admin defaults and the docs 2026-11-07 09:47:50 +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 fa73150ea7 feat: renumber the lead finder migration to 000363 after 000362 landed on main, and require schema 363 in its live test 2026-11-07 09:23:46 +01:00
Matthew Meszaros 70f5dc6218 feat: renumber the lead finder migration to 000362 after 000361 landed on main, and require schema 362 in its live test 2026-11-07 09:21:41 +01:00
Matthew Meszaros c2bbe9615f feat: lead finder slices a Cloudflare-protected address at the link's own fragment, answers geocoder and provider failures with a fixed message while logging the cause, refunds a paid person lookup whose result could not be saved, writes XLSX text cells as typed, requires schema 361 in its live test, and documents which lookups charge again on retry and which addresses an export leaves out 2026-11-07 09:21:41 +01:00
Matthew Meszaros 229316ce6e feat: lead finder refunds a page charge when saving the search fails, refuses an unknown provider and a half-given point, reads robots.txt for the http fallback, keeps a stored phone, rechecks addresses no longer suppressed, counts secondary categories in the facet, keeps queued leads another run still holds, and on the page shows a retryable load error, keeps notes being typed, searches the current view after a past search, ignores a closed import's result and leaves the hidden people column out of person exports 2026-11-07 09:21:41 +01:00
Matthew Meszaros 21d9b8fa19 feat: lead finder looks for a missing website from the business name and confirms it by phone or name and town on the page, shows website runs as a progress strip above the list with each business being read marked in its row, quiets empty cells, and lets add to contacts pick segments, labels and several campaigns, skip contacts active elsewhere and leave existing contacts as they are 2026-11-07 09:21:41 +01:00
Matthew Meszaros d448cdb20d feat: add map-based lead finder under /app/leads with pluggable OpenStreetMap, Google Places, Foursquare and Outscraper sources, website reads that find emails, socials and the people who run each business with pattern-built verified addresses, filters, saved searches, per-business or per-person CSV/XLSX/JSON export and add-to-contacts 2026-11-07 09:21:41 +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 7c614cc81b feat: drop the old zone's activation record along with its status when a failed edge hostname attempt moves the row to a new Cloudflare zone 2026-11-07 08:17:45 +01:00
Matthew Meszaros 2a8ea14a1c feat: scope edge hostname verdicts to the Cloudflare zone, sweep the longest-waiting hosts first with a separate removal budget, put back a name registered while it was being removed, bound registration inside a redirect check to five seconds, and correct the configuration, Fargate and sending-domain docs for the edge setup 2026-11-07 08:17:45 +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 0989440f0d Merge remote-tracking branch 'origin/main' into feat/google-trusted-app-signin 2026-11-07 08:15:19 +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 ba07007fc0 feat: hand Gmail warmup engagement that fails over IMAP to the Gmail API (resolving the Gmail id when needed) and retry IMAP six hours after a refusal the worker saw, keep a vendor consent pending or settled across cache errors and racing callbacks, refuse a personal Gmail address at the end of Google sign-in, let a domain whose Google mailboxes arrived in a workspace import make its grant again, offer Google reconnects only where the instance has a Google client, batch bulk vendor reconnects by 1000, and confirm before discarding a typed app password 2026-11-07 07:25:24 +01:00
Matthew Meszaros 7325715c80 feat: remove the referral program from settings, the iOS billing page, the marketing site and the docs, stop attributing new signups to referral links, keep rewarding and clawing back referrals already attributed, and let a referral-backed discount code apply only to the workspace that signed up through it 2026-11-07 06:55:33 +01:00
Matthew Meszaros 61d3dac8d4 Merge remote-tracking branch 'origin/main' into fix/release-send-safety-hold 2026-11-07 05:55:19 +01:00
Matthew Meszaros f57e0cf8b4 feat: release a provider-restored send hold whose refused task is gone only after a sync in the last hour, record a missing task as NULL in both hold releases, and say a resume can wait up to 6 hours after a refused retry 2026-11-07 05:52:15 +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 dea6692dde feat: record the scopes Google granted each mailbox token (email_accounts_oauth.granted_scopes, migration 000357) at connect, reauth and vendor convert, list only Google sign-ins without full mail access as retiring with the vendor that can reconnect them, tell workers through ADD_EMAIL full_mail_access to skip Gmail IMAP for a token known to lack it, let an app password take over a delegated Google mailbox after the worker check, add GET /emails/:id/signin with only the switches that can succeed, record vendor reconnect progress per mailbox on the audit spine, and reconnect vendor-linked Google mailboxes automatically behind mailbox_signin.auto_vendor_reconnect with one attempt in flight and a week between attempts 2026-11-07 05:20:33 +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 a22d15efd6 Merge remote-tracking branch 'origin/main' into devin/template-warmup 2026-11-07 05:18:49 +01:00
Matthew Meszaros 87c3759f95 Merge pull request #1175 from warmbly/feat/free-trial-plan
feat: 14-day free trial with 2 mailboxes, once per owner
2026-11-06 19:12:22 +00:00