imap: Added list perform and response handler functions