IMAP
SEARCH
CUSTOMREQUEST
#
# Server-side
* SEARCH 1 123 456 810
#
# Client-side
imap
IMAP SEARCH for NEW messages (CUSTOMREQUEST)
imap://%HOSTIP:%IMAPPORT/810 -u user:secret -X 'SEARCH NEW'
#
# Verify data after the test has been "shot"
A001 CAPABILITY
A002 LOGIN user secret
A003 SELECT 810
A004 SEARCH NEW
A005 LOGOUT