Matthew Meszaros
3ef0b59b8c
feat: classify an older Dovecot's codeless NO Mailbox doesn't exist as a missing folder instead of an unknown IMAP error, strip request query strings from reported errors so internal API failures group by endpoint in PostHog, and narrow the privacy page and dashboard PostHog notes to replays recorded only for sessions that hit an error
2026-11-08 09:34:06 +01:00
Matthew Meszaros
b22530605a
feat: refuse a Gmail push topic with an empty project or topic name for whole-domain grant mailboxes, warn at boot when GMAIL_PUSH_TOPIC is malformed, and assert the status in a refused watch
2026-11-08 08:03:54 +01:00
Matthew Meszaros
0d2db6abf0
feat: keep Google's reason in a refused Gmail watch, log at boot when whole-domain grant mailboxes cannot watch the push topic, and test malformed topic and key settings
2026-11-08 07:53:10 +01:00
Matthew Meszaros
24b978d2bb
feat: ask whole-domain grant Gmail mailboxes to watch the push topic only when the delegation key belongs to the topic's project, and report each mailbox's first failed watch or Graph subscription to error tracking
2026-11-08 07:38:35 +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
cebd7f6e4c
feat: log failed defer and requeue updates in the notification email flush
2026-11-07 21:14:04 +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
a4f633c4ae
feat: retry a member's whole notification email batch, except sign-in alerts, when any of its rows cannot be checked so the retry bundles instead of sending a second email
2026-11-07 20:59:06 +01:00
Matthew Meszaros
c36b8745bc
feat: check notification email eligibility once before deciding which shared events go out on their own
2026-11-07 20:48:04 +01:00
Matthew Meszaros
922a379dde
feat: fold notification events shared by several members into each member's digest unless it is all they have pending, and list a digest's nine newest items with a count of the rest
2026-11-07 20:37:45 +01:00
Matthew Meszaros
c9ac306788
feat: merge main into the NetEase masked STATUS branch, keeping main's EXAMINE fallback from #1191 in folders.go so this branch adds its masked STATUS regression tests
2026-11-07 18:30:53 +01:00
Matthew Meszaros
c4bad7f150
Merge pull request #1191 from warmbly/fix/imap-unpaired-status-examine
...
feat: read IMAP folder cursors from EXAMINE when the server answers STATUS under another name (NetEase)
2026-11-07 17:16:13 +00:00
Matthew Meszaros
475b3b662b
feat: assert the exact UIDVALIDITY, UIDNEXT, message count and HIGHESTMODSEQ an IMAP folder recovers from EXAMINE when its STATUS reply is unpaired, with and without CONDSTORE
2026-11-07 18:01:52 +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
ec9ea297b6
feat: read an IMAP folder's cursors from EXAMINE when the server answers its STATUS under another name (NetEase masks non-ASCII folder names as "???"), so one such folder no longer fails every sync pass of the mailbox, taking mu only for that fallback so listings on servers that pair every STATUS are unchanged
2026-11-07 17:54:33 +01:00
Liu Mingyang
b8b69834e0
test: cover masked STATUS replies for non-ASCII folders
...
This test file verifies the behavior of folder listings when the server responds with masked STATUS replies, particularly for non-ASCII folder names. It includes tests to ensure that folder listings remain consistent and do not trigger unnecessary commands.
2026-11-08 00:47:34 +08:00
Liu Mingyang
e32ed235f6
fix: read folder cursors by EXAMINE when a STATUS reply cannot be paired (NetEase Enterprise Mail)
...
A STATUS reply naming the folder differently (NetEase masks non-ASCII names as "???") is dropped by go-imap, which left zero cursors and failed the whole listing as server unreachable. For non-ASCII folders only, read UIDVALIDITY/UIDNEXT with a read-only SELECT instead. Fixes #1189 .
2026-11-08 00:45:49 +08: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
c269bdeea7
Merge pull request #1086 from eliran-cuantolabs/feat/ai-draft-upsert-api
...
feat: add PUT /unibox/ai-drafts/by-thread so an API key can upsert the pending reply draft for a thread's newest inbound message
2026-11-07 12:12:24 +00: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
3cb29c7909
Merge remote-tracking branch 'origin/main' into fix/1157-log-silent-sync-drops
2026-11-07 11:58:32 +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
a4e4f9398a
feat: renumber the follow-up sender, client role and send pause migrations to 000365, 000366 and 000367 after main took 000364 for the dollar balance
2026-11-07 11:03:27 +01:00
Matthew Meszaros
de4f880277
feat: hold a restricted member's campaign edits, step changes and starts to campaigns sending only from granted mailboxes in an explicit list with no mailbox tags, refuse their cc and bcc edits, match client role presets on permissions and acts_in_scope rather than name, and document the client reply and campaign edit rules
2026-11-07 11:02:20 +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
fe908522e8
feat: renumber the balance migration to 000364 so it follows the lead finder's 000363 on main
2026-11-07 09:47:51 +01:00
Matthew Meszaros
3cde209400
feat: renumber the balance migration to 000363 so it follows the lead finder's 000362 on main
2026-11-07 09:47:51 +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
d2683f09d4
feat: renumber the balance migration to 000362, let the qa stack bill through a Stripe test key given as QA_STRIPE_SECRET_KEY, and add a balance proof flow with its fixture
2026-11-07 09:47:50 +01:00
Matthew Meszaros
77f7a0f3d1
feat: leave a declined balance charge invoice to the balance flow instead of alerting the operator that the workspace's sending is at risk
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
19a0e4a5e0
feat: renumber the lead finder migration to 000361 so it follows the migrations already on main
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