Restructured IMAP listener. Added listener hook for CLI. Added first IMAP parser tests. Subject line identifies unit/task, body is command.