most of it is done in
modules/imap/imap_fetch.c
if I get that correctly.
msgbase.c may also be involved for loading messages from the disk.
most of it is done in
modules/imap/imap_fetch.c
if I get that correctly.
msgbase.c may also be involved for loading messages from the disk.