Commit Graph
2298 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 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 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 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 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 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 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 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 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 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 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 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 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 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
Matthew Meszaros fc1574a0a5 Merge remote-tracking branch 'origin/main' into devin/template-warmup 2026-11-06 06:41:44 +01:00
Matthew Meszaros 6ab8fa8c28 feat: make campaign copy warmup automatic with no settings or page (a quarter of a mature sender's new threads open with a running campaign's step, never sent twice to one recipient in 30 days), continue each such thread with a prospect-style reply from a hand-written set and the sender's answer, show each step arm's warmup placement under the step on the campaign, and drop warmup templates, their settings table, permission and dashboard page 2026-11-06 06:41:44 +01:00
Matthew Meszaros d7535b2d25 feat: send a workspace's own warmup copy only to pool mailboxes that file warmup mail out of the inbox so it meets a provider's filter rather than a reader, and add GET /warmup/templates/:id so the template drawer shows the body 2026-11-05 20:12:53 +01:00
Matthew Meszaros cbd936d065 feat: let warmup templates and campaign copy pass the dispatch-time warmup check as single openings (an active template of the sender's workspace, campaign copy with no bank conversation) instead of being refused and requeued, keep the HTML part through the task sender, repeat the least recently sent own copy under own-copy-only and fall back to the bank only with no own copy at all, show recipient names only when displayname allows them, gate campaign copy on campaign view access, and check rendered copy before minting tracking tickets 2026-11-05 19:39:28 +01:00
Matthew Meszaros 042b4ede09 feat: report a reported count on warmup copy placement so landing rates are read over receipts that arrived, and make POST /warmup/templates/check return the same refusal a create would (wording, send gate, merge fields, length) in blocked_reason, with docs and openapi 2026-11-05 19:12:30 +01:00
Matthew Meszaros 5a3d10eb0a feat: keep the campaign's open pixel and wrapped links on its tracking domain when warmup carries campaign copy, with link tickets bound to the warmup task and no campaign so warmup engagement never reaches campaign analytics, and document it 2026-11-05 18:55:35 +01:00
Matthew Meszaros 2315e0f120 feat: document campaign copy warmup in the warmup guide, the deliverability-ops API reference, the endpoint scope map and openapi.json (GET /warmup/templates/campaign-copy, campaign_copy setting, 25 percent default share, big-three headline placement, 7-day maturity gate), and refuse merge fields and AI blocks in verbatim warmup templates 2026-11-05 18:47:38 +01:00
Matthew Meszaros 0d39874bfa feat: live-test campaign copy warmup against Postgres: openers only (entry step and own-thread steps, never follow-ups, paused Originals or paused variants), the one-day per-sender resend gate, paused campaigns and other workspaces excluded, and per-arm placement with the big-three headline that survives a pause 2026-11-05 18:38:02 +01:00