Skip to content

fix(mail): IMAP fetch compatibility for Combell servers#105

Merged
matthiastjong merged 1 commit into
mainfrom
feat/mail-integration-v2
Jun 9, 2026
Merged

fix(mail): IMAP fetch compatibility for Combell servers#105
matthiastjong merged 1 commit into
mainfrom
feat/mail-integration-v2

Conversation

@matthiastjong

Copy link
Copy Markdown
Owner

Summary

  • Use UID range string ("uid1:uid2") instead of array in client.fetch() — some IMAP servers (e.g. Combell/mailprotect.be) reject array-based UID fetch
  • Add {uid: true} option to fetch to ensure UID-based addressing

Tested

All 8 mail tools verified locally against a real Combell mailbox:

  • mail_folders
  • mail_search ✅ (with and without query filters)
  • mail_read
  • mail_draft
  • mail_send ✅ (approval flow + actual send)
  • mail_flag ✅ (add + remove)
  • mail_move
  • Audit logs ✅

🤖 Generated with Claude Code

Some IMAP servers reject array-based UID fetch. Using "uid1:uid2" range
string with {uid: true} option works universally. Tested against Combell
(mailprotect.be) IMAP server.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@matthiastjong matthiastjong merged commit d666622 into main Jun 9, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant