Commit Graph
4737 Commits
Author SHA1 Message Date
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
Matthew Meszaros 74c51bfc82 feat: document account deletion refusals in their own error-code section, cover every non-renewing subscription state in the billing refusal test, and hide the address of a migration connection dropped mid-run 2026-11-06 17:15:31 +01:00
Matthew Meszaros 73f1e5dbb7 feat: accept invitations whose inviter was deleted, hand another workspace's subscription to its owner on account deletion, refuse it over shared assistant conversations, recheck refused account deletions daily, and show only the public sentence of a sensitive migration connection error 2026-11-06 17:09:55 +01:00
Matthew Meszaros f64a916fb9 feat: refuse account deletion while the account holds mailboxes, contacts, campaigns, templates, API keys, apps or subscriptions in workspaces it does not own or an owned workspace renews, lock owned workspaces before erasing them, and keep decoder text and migration connection details out of logs and error reports 2026-11-06 16:48:20 +01:00
Matthew Meszaros 4ed928e79b feat: name an undecodable Graph success body as msgraph.ErrUnreadableResponse and keep it out of worker error reports, so the pass retries without fabricating a server-unreachable event 2026-11-06 16:24:28 +01:00
Matthew Meszaros cdb25778c9 feat: classify a Graph success response whose body is not JSON as a retryable server-unreachable mail error in doJSON and FetchMessage instead of an unclassified decode error 2026-11-06 16:07:24 +01:00
Matthew Meszaros d7be2b7aa0 feat: report a failed database connection to PostHog and Sentry as its SQLSTATE alone, without the database user or addresses pgconn puts in the message 2026-11-06 16:07:24 +01:00
Matthew Meszaros c7fe8d193f feat: complete scheduled account deletion by deleting owned workspaces first and keeping authored rows in other workspaces through ON DELETE SET NULL references to users (migrations 000355/000356), with admin listings left-joining deleted actors 2026-11-06 16:07:24 +01:00
Matthew Meszaros 121503d709 Merge pull request #1170 from warmbly/feat/cloud-upgrade-path
feat: make upgrading from a self-hosted instance to a Warmbly Cloud plan one click
2026-11-06 12:40:29 +00:00
Matthew Meszaros 6f31f0b26a Merge pull request #1171 from warmbly/feat/consumer-autoscaling
feat: scale the AWS consumer on its worker-event backlog
2026-11-06 12:34:08 +00:00
Matthew Meszaros 0a5a55d18a feat: resolve a post-sign-in /onboarding destination to the next it carries in postAuthNext, so a session that expires mid-onboarding still ends on the plan chooser instead of Mailboxes 2026-11-06 13:27:46 +01:00
Matthew Meszaros 617e9b0ee2 feat: state in the runtime README that services left out of autoscaling keep their count, and in the Fargate guide that a consumer image without the backlog publisher leaves its scaling inactive 2026-11-06 13:21:02 +01:00
Matthew Meszaros 4939a2e945 feat: open Cloud sign-up on app.warmbly.com rather than the link API host from the self-host Mailboxes banner, carry next through the workspace picker and provider sign-in including its 2FA and link challenges, never return a finished onboarding to itself, and open the pool plan chooser only once billing availability is known 2026-11-06 13:20:05 +01:00
Matthew Meszaros b6c31852c2 feat: scale the AWS consumer service between one and six tasks on a WorkerEventBacklog CloudWatch metric the consumer publishes when CONSUMER_METRICS_CLOUDWATCH is set, and let backend, tracking and forms opt into CPU target tracking through the runtime root's autoscaling map 2026-11-06 13:11:13 +01:00
Matthew Meszaros c934e1230d feat: open the plan chooser from a linked instance's See plans link (upgrade_url ?pool=1) with premium-pool copy, point the unlinked self-host Mailboxes banner at Warmbly Cloud sign-up that lands on the plan chooser plus Settings > Data for the workspace export, keep a sign-up's next target through onboarding, and update the warmup and Warmbly Cloud guides 2026-11-06 13:05:11 +01:00
Matthew Meszaros 9ba62967ed feat: send campaign copy warmup only to business inboxes on Google Workspace and Microsoft 365 (never free Gmail, Outlook.com, Yahoo or small hosts), read each step arm's warmup placement there alone, and show an arm only after 20 receipts and a provider after 10 2026-11-06 10:44:19 +01:00
Matthew Meszaros 09acc71c84 feat: add the opt-in warmup-placement proof flow and its synthetic fixture (an A/B arm on the seeded campaign's entry step, pool peers on .example and warmup openings with receipts) and document it in the qa playbook 2026-11-06 07:08:17 +01:00
Matthew Meszaros 86214b9070 feat: document automatic campaign copy warmup and its prospect replies in the warmup guide, add GET /campaigns/:id/warmup-placement to the campaigns reference, scope map and openapi.json, and unexport the campaign copy eligibility check 2026-11-06 06:42:32 +01:00