Commit Graph
204 Commits
Author SHA1 Message Date
Matthew Meszaros 3532039037 feat: explain each refused mailbox connection in plain words with what to do (a host on a private network address, sign-in offered only unencrypted, no STARTTLS, no supported AUTH mechanism, an unverified or unpinned certificate, a send whose content could not be decrypted) in the connection test, stored mailbox errors and import causes, add an optional reason to API error responses with certificate_untrusted on mailbox_tls_failed for the dashboard's trust option, and treat tls_unverified and tls_pin as post-fixture fields in the Avro envelope test 2026-10-23 19:52:54 +02:00
Matthew Meszaros 03fd30f9bc feat: merge decoded-byte image validation with download-safe serving, own-domain form and domain redirects, TLS-only SMTP AUTH negotiation and pinned per-server certificate opt-outs, with MAIL_TLS_INSECURE honoured on self-hosted and development instances and resolved by the control plane for joining nodes 2026-10-23 16:20:30 +02:00
Matthew Meszaros 4624cc4a74 feat: negotiate mailbox SMTP AUTH by link (LOGIN then PLAIN only over TLS or loopback, CRAM-MD5 last, never a password mechanism in cleartext) for the send path, the connection test and the platform relay, honour MAIL_TLS_INSECURE only under APP_ENV=dev, and trust a mailbox server whose owner opted out of CA verification only on its pinned SPKI SHA-256 via VerifyConnection, reporting TLS_CERTIFICATE_CHANGED or TLS_CERTIFICATE_UNCONFIRMED as retryable connection errors 2026-10-23 16:15:55 +02:00
Matthew Meszaros 60cef7bcdc feat: return one uniform decrypt error from the org cipher and the instance encrypter for malformed, short, tampered or foreign-key ciphertext, and answer a send whose subject or body cannot be decrypted or whose workspace key cannot be loaded with EMAIL_FAILED and a fixed reason through failSend, logging only the failure class and never sending 2026-10-23 16:07:55 +02:00
Matthew Meszaros 3f13636a5b feat: decide uploaded image formats from their decoded bytes through internal/pkg/imagetype for avatars, OAuth logos, form assets, email images and archive-restored public objects, store public objects with inline headers only for PNG/JPEG/GIF/WebP, sign every presigned attachment and node GET URL with forced download disposition and a safe response content type, and rasterize SVG previews to PNG in the dashboard image client 2026-10-23 15:43:42 +02:00
Matthew Meszaros 19c7eb13dc Merge pull request #1030 from warmbly/feat/mailbox-credentials-org-dek
feat: seal mailbox credentials under KMS-protected workspace keys
2026-10-22 17:46:26 +00:00
Matthew Meszaros 219f428208 feat: store each warmup receipt's placement group and host at arrival so rescue outcomes land on the same placement row, leave rescues that never ran unreported instead of failed, and label rescue outcomes as confirmed out of spam with a wrapping summary in the mailbox placement tab 2026-10-22 19:11:28 +02:00
Matthew Meszaros 2f42afa78f feat: report each warmup spam rescue's outcome from the recipient worker into placement history and the mailbox placement tab, rescue only mail that arrived in spam, and follow bounded Graph continuations when resolving warmup messages by Message-ID 2026-10-22 19:11:28 +02:00
Matthew Meszaros 03170c5482 feat: share one cancellation-proof bounded DEK lookup per organization, bound worker token sealing, reseal empty mailbox credential values, refuse an invalid MAILBOX_CREDENTIALS_SEALING in warmblyctl, keep credential exports gated on the instance key and log workspace-key failures in mailbox erasure 2026-10-22 19:11:23 +02:00
Matthew Meszaros 537a622409 feat: seal mailbox SMTP/IMAP logins and OAuth tokens under KMS-protected workspace DEKs behind MAILBOX_CREDENTIALS_SEALING, carry them sealed in ADD_EMAIL and token refreshes, reseal stored credentials in a resumable consumer job, and cache DEKs in process with singleflight in front of Redis and KMS 2026-10-22 19:11:23 +02:00
Devin AI 5ee2049ab4 feat: resolve Graph complaint MIME before writing an arrival body so temporary provider failures cannot accumulate orphaned blobs 2026-10-19 06:20:52 +00:00
Devin AI a2e81c2ef5 feat: keep Graph complaint reports retryable across temporary raw message failures and bound MIME depth, parts and decoded content before admitting an arrival 2026-10-19 06:19:42 +00:00
555aaditya 3386052ce8 feat: detect spam-complaint feedback reports on Microsoft Graph mailboxes by reading the report parts from the message's raw MIME when the synced rendered body cannot name the send, and drop the deliverability docs callout saying Graph complaints are not detected 2026-10-19 01:52:36 +05:30
devin-ai-integration[bot] bb1b93255d Merge pull request #987 from warmbly/fix/worker-send-deadline
feat: give worker sends a deadline that covers the SMTP budget and add ordered mailbox lanes on NATS
2026-10-16 07:51:59 +00:00
Matthew Meszaros 46bd956229 feat: give worker SEND_EMAIL commands a 120s deadline that covers the SMTP client's 90s budget, run the worker command subscription under a 195s bus budget (NATS ack wait and Kafka handler context via eventbus.WithHandlerTimeout), and add ordered per-mailbox command lanes on NATS with in-progress heartbeats 2026-10-16 06:57:14 +02:00
Matthew Meszaros e240d8a0f0 feat: cover the IMAP MODSEQ bump end to end with tests that history spends no sync budget, records no throttled day and is searched once, and that a deferred arrival holds UIDNEXT so the retry keeps history out, and document the behavior in the mailboxes guide 2026-10-16 06:54:15 +02:00
Matthew Meszaros 94f5ca195a Merge pull request #972 from warmbly/fix/recent-github-bug-reports
feat: keep unibox sends out of the campaign caps and report refusals, skip IMAP history on a MODSEQ bump, ignore mail from before a contact in reply processing
2026-10-15 14:09:48 +00:00
Matthew MeszarosandDevin AI e8597e8af1 feat: retire unstarted warmup commands on mailbox stop and alert on post-stop execution
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-10-14 12:36:01 +00:00
Matthew Meszaros dbfc5b06f8 feat: keep unibox sends out of campaign, warmup and shared send caps with their own 500-recipient daily ceiling and report refused sends to the mailbox owner, skip IMAP history below the held UIDNEXT on a folder-wide MODSEQ bump, and stop treating mail received before its sender became a contact as a reply in reply processing, the repair sweep and the opt-out recheck 2026-10-14 06:38:34 +02:00
Devin AI ab193988c1 feat: reuse known Graph message mappings for legacy delta flag events without a second broker lookup 2026-10-14 03:35:28 +00:00
Devin AI 0559ddee09 feat: bound IMAP preview normalization while preserving whitespace quotes signatures and UTF-8 behavior 2026-10-14 03:35:28 +00:00
Matthew MeszarosandDevin AI c59512d160 feat: batch IMAP message-map lookups and index normalized send identifiers and mailbox folder generations
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-10-13 13:27:39 +00:00
Matthew MeszarosandDevin AI 5d0df66b11 feat: recheck receiving authorization after mailbox execution admission before dispatching provider warmup engagement
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-10-12 07:11:33 +00:00
Matthew Meszaros deb0dba45d feat: require typed classified IMAP retry evidence in the stopped mailbox replacement and automatic reoffer recovery regression 2026-10-11 17:18:35 +00:00
Matthew Meszaros 853318692a feat: retain privacy-safe IMAP connection evidence only from current mailbox generation and publish persisted warning text 2026-10-11 16:55:13 +00:00
Matthew Meszaros 457cefa345 feat: scope mailbox transport reports and automatic recovery to current-generation sync and send evidence while preserving archive history and send safety holds 2026-10-11 07:04:46 +00:00
Matthew MeszarosandDevin AI 2f842cf96c feat: keep retired and cancelled sync attempts out of provider-failure evidence while preserving native recovery retries
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-10-11 05:25:49 +00:00
Matthew MeszarosandDevin AI c0e721f92e feat: retain native warmup filing provider retry deadlines across workers and admission retries
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-10-10 16:22:04 +00:00
devin-ai-integration[bot] 0e3ed53ede Merge pull request #934 from warmbly/devin/1791643401-graph-delete-lookup-authority
feat: preserve Graph mail and local bodies when warmup deletion lookup is uncertain
2026-10-10 15:30:30 +00:00
Devin AI 8641905138 feat: require complete Graph JSON response before confirming warmup message absence 2026-10-10 15:22:56 +00:00
Devin AI 2e4dfa4d87 feat: require complete terminal Graph message lookups before warmup retention cleanup and reject malformed identities or continuation metadata with bounded native retryable uncertainty 2026-10-10 15:10:05 +00:00
devin-ai-integration[bot] ae54f970e9 Merge pull request #931 from warmbly/devin/1791640209-provider-sync-recovery
feat: preserve IMAP folders on incomplete status and honor Graph sync retry windows
2026-10-10 14:53:43 +00:00
Devin AI accd6c0ed5 feat: stop Graph warmup retention deletes on failed or ambiguous stable message lookups while preserving provider error evidence, stored bodies and idempotent cleanup retries 2026-10-10 14:47:28 +00:00
Devin AI 44cd8f8254 feat: preserve complete IMAP folder presence across bounded sync and stop Graph passes on authoritative provider retry deadlines 2026-10-10 14:42:21 +00:00
Matthew Meszaros 93f0d1cec8 feat: reconcile same-batch IMAP duplicate message keys through canonical maps without readmitting completed arrivals or charging duplicate sync budget 2026-10-10 13:59:04 +00:00
Matthew Meszaros 89e456dfb5 feat: preserve IMAP folder sync state on incomplete provider status and honor Graph service retry windows 2026-10-10 13:58:24 +00:00
Devin AI 9a45259527 feat: release failed filing commands only after exact backend proof of pending durable recovery while preserving acknowledgements and legacy retries 2026-10-10 11:52:47 +00:00
Matthew Meszaros 21b56fce08 Merge pull request #921 from warmbly/devin/1791619490-retire-stale-mailbox-sync
feat: retire stale mailbox generations on authoritative ownership loss without acknowledging arrivals
2026-10-10 08:30:04 +00:00
devin-ai-integration[bot] f56700f66f Merge pull request #918 from warmbly/devin/1791616600-admin-operations
feat: add native administrator CLI consent and bounded redacted node operations diagnostics
2026-10-10 08:20:27 +00:00
Matthew MeszarosandDevin AI f2876f1fc9 feat: retire stale worker mailbox generations only on authenticated ownership-loss admission evidence while retaining failed arrival bodies and provider cursors
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-10-10 08:17:59 +00:00
Matthew Meszaros a9d1865a69 feat: integrate current main sync and IMAP dialect fixes and bounded NATS diagnostics while preserving released recovery and administrator operations 2026-10-10 07:55:46 +00:00
Matthew MeszarosandDevin AI 4e1c2e6053 feat: deny retired and unassigned mailbox warmup actions without retrying authoritative absence or weakening send safety
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-10-10 07:53:48 +00:00
Matthew Meszaros c85b2bcb23 Merge pull request #909 from warmbly/devin/1791603696-post-release-sync-errors
feat: recover partial Outlook ID upgrades and stop reporting arrival waits as exceptions
2026-10-10 07:23:06 +00:00
Matthew Meszaros 582c1aaaa4 feat: preserve fail-closed fleet enrollment fixtures and independent broker deadlines while honoring bounded evidence upload rate limits 2026-10-10 06:57:13 +00:00
Matthew Meszaros 9081b1bce0 feat: add proof-preserving one-use admin device sessions and bounded enrollment-authenticated worker evidence with scoped Kafka partition diagnostics 2026-10-10 06:14:52 +00:00
Matthew MeszarosandDevin AI 44bb752482 feat: keep campaign mailboxes sending around durable recovery holds and reconcile uncertain outcomes
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-10-10 04:20:12 +00:00
Matthew MeszarosandDevin AI d84e4d3b58 feat: recover partial Outlook immutable ID upgrades without losing moved conversations and retain arrival retries without exception floods
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-10-10 03:47:28 +00:00
Devin AI 24b0130c45 feat: reconcile mailbox sync recovery with merged worker Kafka retry and broker-confirmed delivery safeguards 2026-10-09 18:18:26 +00:00
Matthew Meszaros ab7b2acda9 feat: exhaust Kafka missing-mailbox retries safely before queued reloads and drain concurrent warmup recovery batches using selected counts 2026-10-09 16:57:17 +00:00
Matthew Meszaros 5ab4b5e544 feat: drain Kafka worker commands through bounded ordered mailbox lanes and accelerate safe startup recovery while backing off duplicate filing retries 2026-10-09 16:35:26 +00:00