240 Commits
Author SHA1 Message Date
rustmailer 69a3d7b48e bump to 1.7.6 1.7.6 2026-10-16 08:06:56 +08:00
rustmailer 379d54bc9d feat: manually retry failed tasks in the task queue (#30) 2026-10-16 07:30:50 +08:00
rustmailer 9684479d12 fix: drop the inert full_sync gate and pin the incremental reconcile window 2026-10-16 05:01:15 +08:00
rustmailer 26e800def4 Merge pull request #29 from KolbeinNL/fix-clean-emails
Fix clean emails
2026-10-16 03:49:58 +08:00
SanderBaan 5e49adf499 Merge remote-tracking branch 'origin/main' into fix-clean-emails 2026-10-13 12:00:59 +02:00
SanderBaan cc2ca36dbc Remove missing remote emails in incremental sync (but do not remove mail_box map) 2026-10-13 12:00:11 +02:00
rustmailer edbe1638a9 bump to 1.7.5 1.7.5 2026-10-12 15:58:00 +08:00
rustmailer 4d7c4cade1 FIX: sync staleness watchdog falsely reports months of dormancy
set_full_sync_start/set_incremental_sync_start cleared the corresponding
  last_*_sync_end when dispatching a sync, so a failed or still-running
  sync erased the last completion record and the staleness check fell back to
  initial_sync_end_time. Preserve the end timestamps; "in progress"
  remains derivable from start > end.
2026-10-12 15:56:27 +08:00
rustmailer 761a0ba75a pin ubuntu-24.04\ 2026-10-06 04:15:02 +08:00
rustmailer e40815fb0a bump to v1.7.4 1.7.4 2026-10-06 03:31:53 +08:00
rustmailer 681070e6b4 fix: silent rebuild loop after sync window emptied cache, dropping email-added events 2026-10-06 03:30:25 +08:00
rustmailer 9ed7fa7e4f fix: IMAP connection stalls under Gmail throttling caused pool exhaustion and sync hang 2026-10-06 03:29:57 +08:00
rustmailer 7bef31c89c Verify Cargo.toml version matches git tag 2026-09-23 13:47:45 +08:00
rustmailer 0cd64f6c5f fix: self-deadlock in FLAGS_STATE_MAP cleanup stalling sync pipeline after local deletions 1.7.3 2026-09-16 22:09:05 +08:00
rustmailer 9478e4c03a bump to v1.7.2 1.7.2 2026-09-08 00:19:57 +08:00
rustmailer e5e2acbe04 fix: make delete worker terminate instead of livelocking under concurrent writes 2026-09-08 00:19:16 +08:00
rustmailer a8b460a885 Update release.yml 1.7.1 2026-08-31 14:56:16 +08:00
rustmailer 938f9d152c Update release.yml 2026-08-31 14:53:30 +08:00
rustmailer d861fb9ef6 bump to v1.7.1 2026-08-31 14:44:50 +08:00
rustmailer 2250fe995e fix(cache): use point query instead of scan when deleting local cache 2026-08-31 14:44:11 +08:00
rustmailer 7daffa09e0 chore: Optimize the cleanup workflow. 2026-08-27 00:45:46 +08:00
rustmailer 905552055b bump to v1.7.0 1.7.0 2026-08-21 05:26:28 +08:00
rustmailer 4f36af5a10 Merge branch 'main' of https://github.com/rustmailer/rustmailer 2026-08-21 05:14:44 +08:00
rustmailer dd3d66d7cd fix: resolve sync deadlock, add runtime watchdog, and relax disabled-account reads
- upgrade redb 2.6.2 -> 2.6.3 to fix the range() iterator hang that froze
    the whole process during stale-envelope cleanup
  - add runtime watchdog: independent OS thread aborts the process (exit 1)
    when the tokio heartbeat stalls, so orchestrators can restart it
  - make find_impl async via spawn_blocking so a stuck DB lock cannot pin
    API workers (configurable via RUSTMAILER_WATCHDOG_TIMEOUT_SECS)
  - oauth2: soft-disable token refresh when the OAuth2 config is disabled
    (keep token, stop refreshing) instead of failing with
    SecondaryKeyConstraintMismatch; remove delete_by_oauth2_id
  - allow local-cache reads for disabled accounts (mailboxes, message list,
    content, attachments); keep remote operations blocked
  - include disabled accounts in minimal_list; keepalive and gRPC still
    filter by enabled
  - frontend: 403 no longer navigates to /403 or retries in a loop; show a
    "account disabled" toast and stop loading content
2026-08-21 05:14:23 +08:00
rustmailer ead93ae71e Merge pull request #25 from rustmailer/feat/oauth2-client-credentials
feat: add OAuth2 client credentials flow for Microsoft Graph
2026-08-20 15:43:00 +08:00
rustmailer e824dae859 feat: add OAuth2 client credentials flow for Microsoft Graph 2026-08-13 20:53:54 +08:00
rustmailer 8d0b4919c4 feat: support email drafts - create & send
- OpenAPI & gRPC endpoints
- IMAP/Gmail API/Graph API implementations
2026-07-20 20:56:51 +08:00
rustmailer 7b18d4851b Update release.yml 1.6.1 2026-07-17 13:01:57 +08:00
rustmailer 2459013a30 fix(imap): skip malformed FETCH responses instead of aborting task 2026-07-17 12:11:02 +08:00
rustmailer 864430c874 feat: periodically send a NOOP command to keep the connection alive #23 2026-04-04 16:58:32 +08:00
rustmailer a6cd0f0311 Merge pull request #22 from KolbeinNL/fix-lost-connection
Fix: dead connections used for commands (IMAP)
2026-03-31 22:32:39 +08:00
SanderBaan 91615df619 Increase connection timeout time to half and hour 2026-03-30 18:19:32 +02:00
SanderBaan af5c2f0bdc Calling noop by run_command_and_check function instead of noop command, so that better is checked if the command executed correctly 2026-03-30 17:55:26 +02:00
rustmailer 8804f50dde Update manager.rs 2026-03-28 20:10:53 +08:00
rustmailer 9aedb40767 Merge pull request #20 from KolbeinNL/fix-update-flags-locally
Update flags locally when flags are updated (IMAP only)
2026-03-28 20:02:09 +08:00
rustmailer 9859d0727b Merge pull request #19 from KolbeinNL/fix-get-filename
Fix get filename (IMAP)
2026-03-28 11:20:51 +08:00
rustmailer 6b890cfa87 Merge pull request #18 from KolbeinNL/fix-escaptiong-content
Don't escape content when replying mail
2026-03-28 11:19:10 +08:00
rustmailer bc23bcabdf Merge pull request #17 from KolbeinNL/fix-set-thread-id
Make sure correct thread_id is set when creating envelope
2026-03-28 11:16:51 +08:00
SanderBaan 206e16381b Update flags locally when flags are updated 2026-03-26 18:04:03 +01:00
SanderBaan 711b113120 rename disposition to ty 2026-03-26 17:36:51 +01:00
SanderBaan 954476ac84 Get filename by contentDisposition instead of contentType header if available 2026-03-26 17:35:28 +01:00
SanderBaan 73ac0cc7f7 Don't escape content when replying mail (in case the content is html) 2026-03-26 17:34:52 +01:00
SanderBaan 502521c9b2 Make sure correct thread_id is set when creating envelope 2026-03-26 17:34:20 +01:00
rustmailer 20c761439e refactor(imap): optimize connection pool and enhance error handling 2026-03-25 14:12:46 +08:00
rustmailer ce527d3025 Update license headers and copyright year to 2025-2026 2026-03-10 01:40:50 +08:00
rustmailer f379beb182 feat(grpc): add tag_messages support for message tagging via gRPC 1.6.0 2026-03-05 11:42:29 +08:00
rustmailer d0a6fdd347 fix: Remove max length validation for text and html in AppendReplyToDraftRequest
Inline threading can cause reply bodies (especially HTML with inline images)
to grow beyond the previous 10k/50k limits. Removing max_length validation
avoids request parsing failures and defers size limits to higher layers.
2026-02-12 01:55:46 +08:00
rustmailer 7b5b57bb34 Update payload.rs 2026-02-05 02:29:09 +08:00
rustmailer a6854396be feat(graph): support sending, replying, and forwarding emails 2026-02-04 00:37:07 +08:00
rustmailer df54ff66ae fix(docker): install curl for healthcheck #14 2026-01-29 09:50:08 +08:00