IMAP
STORE
CUSTOMREQUEST
#
# Server-side
* 123 FETCH (FLAGS (\Seen \Deleted))
#
# Client-side
imap
IMAP STORE (CUSTOMREQUEST)
-u user:secret -X 'STORE 123 +Flags \Deleted' 'imap://%HOSTIP:%IMAPPORT/807'
#
# Verify data after the test has been "shot"
A001 CAPABILITY
A002 LOGIN user secret
A003 SELECT 807
A004 STORE 123 +Flags \Deleted
A005 LOGOUT