in reply to imap problem with gmail

Net::IMAP::Simple::Gmail might be helpful.

Replies are listed 'Best First'.
Re^2: imap problem with gmail
by morgon (Priest) on Nov 04, 2017 at 01:51 UTC
    Actually no, but thanks for the suggestion.

    Net::IMAP::Simple::Gmail is just 20 (or so) lines of code that does not do very much.

    As far as I can see all it does is using "X-GM-RAW" for searches - something that also could just as easily achieved with Net::IMAP::Simple.

    As for the sorting it is no help at all. It's just that Gmail' paradigm is searching and not sorting....

    Oh well.. it's simply a special case, regardless of the library you use.