Preferred way to get imap emails

Marcus C. Gottwald mcg at cheers.de
Tue Jul 30 13:05:15 UTC 2019


Pankaj Jangid wrote (Sat 2019-Jul-27 20:58:20 +0530):

> My 2nd question is - is there a way to pre-fetch all the emails in inbox.

Fetch them as soon as new mail becomes visible or once after entering
a folder? Maybe the latter can get achieved using a folder-hook (or a
manually executed key press) triggering the execution of a macro along
the lines of:

   <limit>~N ~z <10K ~b whatever<enter>
   <limit>all<enter>
   <next-new-then-unread>

The idea is that Mutt will need to look at the email bodies (~b) and
will have to fetch them in order to be able to look at them.

Cheers, Marcus

-- 
   Marcus C. Gottwald  ·  <mcg at cheers.de>  ·  https://cheers.de



More information about the Mutt-users mailing list