in reply to Re^2: finding unread emails in IMAP maildir
in thread finding unread emails in IMAP maildir

Ah. A clever hack might be to create a fake Maildir with a symlink to cur and an empty new and tmp to get the read messages, and a symlink to new and an empty cur and tmp to get the unread messages.

But maybe the best solution is to modify Email::Folder::Maildir to include this information, perhaps by prepending a fake header saying where the message came from.

  • Comment on Re^3: finding unread emails in IMAP maildir