Wait for messages in an IMAP mailbox and reply by spawning a process or displaying a tray icon.