Commit Graph
4445 Commits
Author SHA1 Message Date
Matthew Meszaros ccede8a910 feat: renumber the mailbox sign-in scopes and switch migration to 000360 after main took 000357-000359 2026-11-07 07:34:36 +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 5fac591c16 Merge pull request #1182 from warmbly/fix/improve-loading-experience
feat: lazy-load closed dashboard overlays and draw the boot state as the real frame in outline
2026-11-07 06:19:06 +00:00
Matthew Meszaros 755568c385 feat: load the dashboard's closed overlays (modals, compose, command palette, agent panel, tour) lazily so the shell paints sooner, and replace the boot skeleton with the real header, sidebar and list page drawn in outline under one shared soft light sweep and a sky progress line 2026-11-07 07:12:37 +01:00
Matthew Meszaros c3b8094982 Merge pull request #1180 from warmbly/fix/release-send-safety-hold
feat: release a Gmail or Outlook mailbox's permanent send hold once it syncs again, and let a reconnect clear permanent holds
2026-11-07 05:07:09 +00:00
Matthew Meszaros 88f6cd413b feat: renumber the provider_access_restored send recovery evidence migration to 000359 after main took 000357 and 000358 2026-11-07 05:56:01 +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 1bdad5cf86 feat: record the optional full_mail_access field on ADD_EMAIL in the published worker command schema (testdata/worker-commands.avsc) 2026-11-07 05:45:39 +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 4a49cbe195 Merge pull request #1144 from vulcanhelix/devin/template-warmup
feat: warm up running campaign copy automatically, continue each thread with a prospect-style reply, and show each step's warmup placement on the campaign
2026-11-07 04:34:20 +00:00
Matthew Meszaros c4b8eff231 feat: add the google-signin proof flow recording the Workspace trusted-app step, the personal Gmail app-password redirect, the sign-in banner and migration dialog, and the mailbox drawer's Sign-in switches against synthetic sign-in and vendor responses 2026-11-07 05:32:15 +01:00
Matthew Meszaros 49db42a82e feat: stretch the Workspace sign-in address field to the dialog width and name both Admin console labels for adding a trusted app (Configure new app, or Add app > OAuth App Name or Client ID) in the dialog and the mailboxes guide 2026-11-07 05:32:15 +01:00
Matthew Meszaros 5d541df713 feat: renumber the campaign copy warmup_tokens step columns and their index to migrations 000357 and 000358 after main took 000355 and 000356 2026-11-07 05:21:06 +01:00
Matthew Meszaros 57c60d4969 feat: add a Sign-in section to the mailbox drawer that shows how each Google mailbox signs in and offers only the switches that can succeed (reconnect through InboxKit or Zapmail with live progress, reconnect with Google behind the trusted-app step, move onto an existing domain grant, switch to a verified app password), point the Overview tab at it, add Reconnect all Google mailboxes to vendor accounts and per-vendor reconnects to the sign-in banner via email_account_ids on POST /emails/vendors/:id/reconnect, refresh it all through the email_account and mailbox_vendor audit spine, add the Mailbox sign-in toggle for mailbox_signin.auto_vendor_reconnect to the admin settings, and document switching, the automatic vendor reconnect and the new routes and fields 2026-11-07 05:20:34 +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 e3eb80fd3c feat: document Google domain-wide delegation as legacy for existing grants only, trusted-app Google sign-in as the Workspace path and app passwords for personal Gmail across the mailboxes, mailbox import, whole-domain connect, configuration and deployment guides, including the self-host move to an Internal Google OAuth client 2026-11-07 05:20:33 +01:00
Matthew Meszaros a6b182f57e feat: make the trusted-app admin step a fixed Step 1 of Workspace Google sign-in, offer Whole Workspace domain only to workspaces holding a Google grant and drop the new-grant Google setup, and retarget the sign-in migration banner, chip, dialog and drawer notice to reconnecting with the new Google sign-in or an app password, keeping the move onto an existing grant 2026-11-07 05:20:33 +01:00
Matthew Meszaros 638e5fd10e feat: refuse a Google domain-wide delegation grant for a domain the workspace holds none for with google_delegation_retired in StartGoogle, FinishGoogle and the vendor grant path, stop offering Google delegation to vendors, keep re-proving, checking, connecting and removing existing grants, and report google_mailbox_client_id whenever a Google sign-in client is configured 2026-11-07 05:20:33 +01:00
Matthew Meszaros 2c03a66ad5 feat: document the Workspace trusted-app step as the recommended Google path in the mailboxes and mailbox import guides, keep domain-wide delegation as the alternative, send personal Gmail to app passwords, and note the 100-user unverified client cap in the self-host Google client setup 2026-11-07 05:20:32 +01:00
Matthew Meszaros 1196ba36a6 feat: split Add account > Google into Google Workspace and Personal Gmail, add the Admin console trusted-app step with Warmbly's client ID before Workspace sign-in, show a blocked-by-admin hint when the Google window closes unconnected, and route personal Gmail addresses to the app-password walkthrough 2026-11-07 05:20:23 +01:00
Matthew Meszaros bfe198986c feat: report the per-mailbox Google sign-in client as google_mailbox_client_id on GET /emails/grants/config for the Workspace trusted-app step, and refuse a Google OAuth start hinting a gmail.com or googlemail.com address with google_personal_app_password 2026-11-07 05:20:23 +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 13b5722354 feat: state in the agent notes that the Google OAuth client is unverified and unassessed, held to the 100-new-user cap except on Workspace domains that mark it Trusted 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
Matthew Meszaros 445e789f4e feat: say the billing intro's included features depend on the plan and that a paid plan warms mailboxes within its fair-use allowance 2026-11-06 19:57:41 +01:00
Matthew Meszaros 75cc1811ed feat: claim the owner's free trial and write its subscription in one statement, retry a trial expiry whose warmup pause failed, and re-render trial gates and both countdowns from the clock at the trial end and each day boundary 2026-11-06 19:49:59 +01:00
Matthew Meszaros 6d0771224d feat: derive the billing trial banner and the app-wide trial bar from one trialDaysLeft over the subscription's trial end, and drop the now-unread trial status query and its prefetch 2026-11-06 19:25:58 +01:00
Matthew Meszaros 076912374b Merge pull request #1178 from warmbly/fix/warmup-posthog-errors
feat: wait quietly for a warmup send's Message-ID, settle holds whose send failed or was cancelled, and treat an in-flight scheduled generation batch as already topping up its segment
2026-11-06 18:22:34 +00:00
Matthew Meszaros 653bd08b57 feat: keep the warmup page self-hosting FAQ answer a valid string by escaping its apostrophe 2026-11-06 19:10:46 +01:00
Matthew Meszaros 24e37ea0c3 feat: state the two-mailbox trial limit and its first-workspace scope in the warmup page pools section, pool notice and self-hosting FAQ 2026-11-06 19:05:42 +01:00
Matthew Meszaros 04ee0c2269 feat: let the pending warmup verification loop wait quietly on sends whose provider Message-ID is not recorded yet and file a held arrival at once when its send ended failed or cancelled, treat a library segment that already has a scheduled generation batch in flight as topped up instead of failing the run, name the shared library and the underlying cause when a scheduled batch submission does fail, and stop the generation job filing each failure twice 2026-11-06 19:01:45 +01:00
Matthew Meszaros 3f055a26b1 feat: pause trial warmup at expiry stamped with the trial end and resume exactly those mailboxes on payment or a granted plan so the ramp continues where it stopped, hand a trial claim back when its subscription write fails, refresh the dashboard when a trial ends, round days left up on both countdowns, and qualify trial copy by owner 2026-11-06 19:01:18 +01:00
Matthew Meszaros 5a421d8a0b Merge pull request #1174 from warmbly/fix/account-deletion-keep-ending
feat: reassert period-end cancellation on owned subscriptions after an account deletion commits
2026-11-06 17:59:36 +00:00
Matthew Meszaros e32a229125 Merge pull request #1177 from warmbly/fix/web-posthog-errors
feat: stop the admin realtime reconnect loop on an expired session, drop browser-extension and cancellation noise from error reports, and reload once on a stale chunk
2026-11-06 17:58:43 +00:00
Matthew Meszaros ccdd85d9ca Merge pull request #1176 from warmbly/fix/worker-zoho-alert
feat: classify Zoho and Gmail sign-in alerts as owner-facing credential errors and stop reporting them from every sync pass
2026-11-06 17:58:41 +00:00
Matthew Meszaros 53d5bc6a63 feat: stop the admin realtime socket and route guard looping on an expired session (no reconnects, no console error, live token watch signs out once), report a cancelled admin reauth as ReauthCancelledError and skip it, drop wallet, extension and in-app browser exceptions with no frame in our bundle in the web, admin and site PostHog before_send, and reload once on a stale chunk after a deploy in the web route boundaries with a sessionStorage time guard instead of reporting it 2026-11-06 18:47:01 +01:00
Matthew Meszaros 3cddee0763 feat: reassert period-end cancellation after an account deletion only for an owned subscription Stripe reports as renewing again, leaving ending and canceled ones untouched and unreported 2026-11-06 18:46:10 +01:00
Matthew Meszaros 6c73120bc6 feat: classify Gmail's [ALERT] Invalid credentials as the credentials refusal for the mailbox's auth kind and an IMAP TRYCREATE on a sync command as a missing folder, and stop reporting GOOGLE_AUTHENTICATION_FAILED and INVALID_CREDENTIALS from the worker to PostHog since the relay already deactivates the mailbox and tells its owner 2026-11-06 18:40:25 +01:00
Matthew Meszaros 0135dc8d7d feat: classify Zoho's wrong-region [ALERT] ("The server details you are using seems incorrect") as an INVALID_CREDENTIALS wrong-server error in the IMAP classifyAlert, keeping Zoho's alert text in the message and titling it Wrong mail server with an Update credentials action, so the mailbox is disconnected for its owner once instead of reporting IMAP_UNKNOWN to PostHog on every sync pass 2026-11-06 18:38:18 +01:00
Matthew Meszaros 6acd093e5f feat: give every new hosted workspace a 14-day no-card free trial with 2 mailboxes warming in the free pool and 20 sends a day, claimed atomically once per owner (later workspaces start unpaid), pause instead of wiping warmup when it ends, and show the countdown, trial-ended states, billing, docs and site pricing to match 2026-11-06 18:37:46 +01:00
Matthew Meszaros 8a71ad72cb feat: after an account deletion commits, set every owned subscription it confirmed as ending to end at period close again, so a resume landing between the Stripe check and the commit does not keep billing a deleted workspace 2026-11-06 18:28:56 +01:00
Matthew Meszaros 8238d61c67 Merge pull request #1172 from warmbly/fix/pg-errors-account-deletion
feat: complete scheduled account deletion and keep connection details out of error reports
2026-11-06 17:09:22 +00:00
Matthew Meszaros 4f6d639471 feat: refuse account deletion over attachments on another workspace's campaigns, report failures to record a deletion's outcome, and reduce a DNS failure in the migration connection reason to its kind 2026-11-06 17:53:58 +01:00
Matthew Meszaros e0281eb25c feat: list organization_cloud_connected among the account deletion refusals in the error-code reference 2026-11-06 17:36:34 +01:00
Matthew Meszaros ce4b8d43c8 feat: lock the user row for the whole account deletion so nothing can be attached to the account in another workspace between the shared-work check and the delete 2026-11-06 17:31:21 +01:00
Matthew Meszaros 6d937eb112 feat: confirm with Stripe, while the owned workspaces are locked, that no owned subscription will renew before an account deletion removes them, so a resume whose webhook has not landed still holds the deletion 2026-11-06 17:27:25 +01:00