(mapcar (lambda (imap-response) (with-temp-buffer (insert imap-response) (or (nnimap-find-uid-response "COPYUID" (cadr ;; simulate a call to nnimap-command. (cons t (nnimap-parse-response)))) (nnimap-find-uid-response "COPYUID" (caddr (cons t (nnimap-parse-response))))))) '( ;; MOVE result "* OK [COPYUID 1598849953 2 3] Moved UIDs.\r * 1 EXPUNGE\r 1 OK Move completed (0.015 + 0.000 + 0.014 secs).\r" ;; COPY result "6 OK [COPYUID 1395967160 10 3] Copy completed."))