Closed johnDivek closed 5 years ago
If the server supports the THREAD=REFERENCES
capability, you can use imap.thread()
as described in the readme. If the server is gmail (supports the X-GM-EXT-1
capability), then you will automatically get thread IDs when fetching messages and you can search by thread id (this is also described in the readme).
Can you please post an example of how to use imap.thread()?
example: