imap-fetch

imap-fetch is a compiled Lisp function in `imap.el'.

(imap-fetch UIDS PROPS &optional RECEIVE NOUIDFETCH BUFFER)

Fetch properties PROPS from message set UIDS from server in BUFFER.
UIDS can be a string, number or a list of numbers. If RECEIVE is
non-nil, return these properties.