Commit Graph

81 Commits

Author SHA1 Message Date
rustmailer 5fd9084e8d fix(account): open correct edit modal based on mailer_type (ImapSmtp / GmailApi) 2025-08-28 20:34:48 +08:00
rustmailer 0dc9daeb6f fix(accounts): start sync task for IMAP/SMTP accounts 2025-08-28 15:38:58 +08:00
rustmailer d050fd2d98 update 2025-08-28 15:31:00 +08:00
rustmailer cad320564b chore: fix minor text and punctuation in UI 2025-08-28 15:29:54 +08:00
rustmailer 9b630d0a6f feat(accounts): add Gmail API account creation UI 2025-08-28 15:28:58 +08:00
rustmailer c8dcbc4f86 fix(ui): disable automatic retry for account state and oauth2 tokens 2025-08-28 04:05:39 +08:00
rustmailer a31ba582b1 fix(ui): ensure mailer_type is set on account creation 2025-08-28 04:04:22 +08:00
rustmailer 694f6f412c fix(account): make incremental_sync_interval_sec required 2025-08-28 04:03:00 +08:00
rustmailer fd64acc24f feat(account): add MailerType to support Gmail API and other mailers
- Introduced `MailerType` enum in Account model
- Enables selection of different mailer backends (e.g., Gmail API)
2025-08-28 03:20:49 +08:00
rustmailer a9ef330418 feat(http-client): add shared HTTP client for reuse across the application 2025-08-26 15:32:28 +08:00
rustmailer c4a0ca80b3 bump version 2025-08-26 13:43:39 +08:00
rustmailer 311a7ed8ff bump to version 1.4.1 1.4.1 2025-08-24 23:55:06 +08:00
rustmailer 8942f9518e fix: allow set license when license expired 2025-08-24 23:53:52 +08:00
rustmailer df4f715d70 add some tests 2025-08-24 23:53:25 +08:00
rustmailer 40f0f0786a bump url crate version 2025-08-24 23:53:00 +08:00
rustmailer 823f3d482f fix(docker): # Install ca-certificates to ensure HTTPS certificate verification works correctly 2025-08-22 13:45:36 +08:00
rustmailer 4164b73bce bump version 2025-08-22 13:45:15 +08:00
rustmailer 07f7ebc0ed docs: fix misleading comment for use_proxy field 2025-08-21 00:30:51 +08:00
rustmailer 135a78a86a bump to 1.4.0 1.4.0 2025-08-19 03:41:36 +08:00
rustmailer eed988292a feat(auth): update login flow and add root password reset API & UI
- Changed login implementation to use plaintext password
- Added reset root password API endpoint integration
- Implemented UI for resetting root password with validation
2025-08-19 03:30:41 +08:00
rustmailer dbaf478328 fix(ui): fix bugs when changing date since 2025-08-19 01:08:48 +08:00
rustmailer f838e66018 feat(email): add thread_id field to EmailAddedToFolder 2025-08-18 00:54:41 +08:00
rustmailer 1b8fc39037 fix(template): correct secondary index type 2025-08-18 00:36:07 +08:00
rustmailer 4c47bfe42c fix(mailbox): rebuild cache with early mailbox availability and error handling
- Batch insert remote mailboxes before full synchronization so that
  mailbox metadata is queryable as soon as possible.
- If synchronization of a mailbox fails, remove it to prevent
  stale or inconsistent local data.
2025-08-18 00:35:26 +08:00
rustmailer 071f2929f0 feat(oauth2): support external OAuth2 token upsert with optional refresh token
- Add `ExternalOAuth2Request` validation to ensure mutual dependency between
  `oauth2_id` and `refresh_token`.
- Upsert external OAuth2 tokens for an account:
  - If only `access_token` is provided, RustMailer stores it directly.
  - If both `oauth2_id` and `refresh_token` are provided, RustMailer can refresh
    the access token using stored client credentials.
- Update REST API endpoint to `configure_external_oauth2` with proper OpenAPI docs.
- Add gRPC `ExternalOAuth2Request` message and corresponding `UpsertExternalOAuth2Token` RPC.
2025-08-18 00:33:50 +08:00
rustmailer d9d0aa336d feat: add a system config item 'rustmailer_oauth2_success_redirect' 2025-08-13 15:59:00 +08:00
rustmailer 383c59c33d feat: add quick-fill buttons to prepopulate Gmail and Outlook OAuth2 configuration fields 2025-08-13 13:35:17 +08:00
rustmailer 53db0a5de4 fix(ui): change default option value 2025-08-13 10:44:53 +08:00
rustmailer 472cbea2f7 Merge branch 'main' of https://github.com/rustmailer/rustmailer 2025-08-12 21:31:16 +08:00
rustmailer c2996d9e39 feat(api): add HTTP and gRPC endpoints for appending a reply draft email
- Added REST endpoint `POST /append-reply-to-draft/:account_id` that creates a reply draft linked to the original email thread with appropriate headers (`References`, `In-Reply-To`).
- Added equivalent gRPC method for creating and appending reply drafts.
2025-08-12 21:31:06 +08:00
rustmailer fd327cf3a3 Update README.md 2025-08-12 03:16:04 +08:00
rustmailer 593faf8842 add excalidraw file 1.3.0 2025-08-11 17:51:36 +08:00
rustmailer 25e3000b46 fix: modify Dockerfile to resolve permission issues 2025-08-11 17:48:30 +08:00
rustmailer 750db54f48 Update README.md 2025-08-11 15:37:58 +08:00
rustmailer 209958d47f Update README.md 2025-08-11 14:46:42 +08:00
rustmailer 7fd25eacdb Update README.md 2025-08-11 14:42:47 +08:00
rustmailer 9fa5e91999 Update README.md 2025-08-11 14:41:08 +08:00
rustmailer cbc9710b99 Merge branch 'main' of https://github.com/rustmailer/rustmailer 2025-08-10 05:11:54 +08:00
rustmailer 7ba24b45b2 feat: add email thread related APIs and data structures
- Add two new APIs to list email threads and fetch all messages within a thread
- Create a new email thread table to store thread information
- Implement method to extract thread_id from emails to support thread association queries
2025-08-10 05:11:41 +08:00
rustmailer 98e1adbc24 Update README.md 2025-08-04 22:24:11 +08:00
rustmailer f05908bff4 Update README.md 2025-08-04 22:10:54 +08:00
rustmailer 17594ad667 Update README.md 2025-08-02 22:17:08 +08:00
rustmailer 76139344fb chore(legal): add copyright/license headers to all source files 2025-07-29 02:02:08 +08:00
rustmailer fa0c5cb66b feat(docker): include license artifacts in Docker image
- Ensure `LICENSE` and `license.html` are included in build artifacts
- Extracted build output into `docker/` as Docker context
- Updated Dockerfile to COPY `LICENSE` and `license.html` into image
- License list generated from accepted SPDX identifiers
1.2.1
2025-07-28 21:41:21 +08:00
rustmailer 7e797562a3 fix: update default delay parameter for send email and hooks tasks 2025-07-28 18:01:04 +08:00
rustmailer 3d8796485b fix(frontend): correct favicon path to match embedded static file routing 2025-07-28 17:29:11 +08:00
rustmailer 9047c59eb4 docs: update license section to reflect no account limit during trial 2025-07-27 22:10:03 +08:00
rustmailer c46b41b657 feat: add email-based message search API (OpenAPI + gRPC) with new index table
- Added unified search interface to query messages by email address
- Implemented both OpenAPI and gRPC endpoints
- Introduced new index table to optimize email-based lookups
1.2.0
2025-07-26 04:18:35 +08:00
rustmailer 0dbaaa865f fix(imap): fix nested OR conditions parentheses
- Correctly generate IMAP syntax for nested OR conditions (e.g. `OR (OR A B) C`)
- Add tests for complex logic combinations
2025-07-25 10:43:32 +08:00
rustmailer 895e7a4c51 chore(release): 1.1.0 1.1.0 2025-07-23 03:51:30 +08:00