Capturing IMAP flows

Hi,
Is there any way to capture IMAP flows?