IMAP
FETCH
#
# Server-side
From: me@somewhere
To: fake@nowhere
body
--
yours sincerely
#
# Client-side
imap
IMAP FETCH
imap://%HOSTIP:%IMAPPORT/801 -u user:secret
#
# Verify data after the test has been "shot"
B LOGIN user secret
C SELECT 801
D FETCH 1 BODY[TEXT]
A LOGOUT