Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Better handle case when IMAP THREAD extension not available #544

Open
kiil opened this issue Jan 16, 2025 · 1 comment
Open

Better handle case when IMAP THREAD extension not available #544

kiil opened this issue Jan 16, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@kiil
Copy link

kiil commented Jan 16, 2025

I am trying to use the envelope thread command, backend is gmail.

Example

himalaya envelope thread from Shila

But I am getting this error

The application panicked (crashed).
Message:  called `Result::unwrap()` on an `Err` value: ThreadMessagesError(ResolveTask(UnexpectedBadResponse(StatusBody { kind: Bad, code: None, text: Text("Unknown command: UID THREAD") })))
Location: /home/lk/.cargo/registry/src/index.crates.io-6f17d22bba15001f/email-lib-0.26.4/src/email/envelope/thread/imap.rs:67

Other commands, I have tried, work well.

@soywod
Copy link
Member

soywod commented Jan 18, 2025

Looks like Gmail does not support the IMAP THREAD extension, which is quite surprising. Let's keep this issue for the following purposes:

  • get rid of the panic
  • provide custom thread implementation in case the extension is not available

@soywod soywod added the bug Something isn't working label Jan 18, 2025
@soywod soywod added this to Pimalaya Jan 18, 2025
@soywod soywod changed the title Error with envelope thread command Better handle case when IMAP THREAD extension not available Jan 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: No status
Development

No branches or pull requests

2 participants