It would sit along side your Dovecot server. The Switchboard core subscribes to events in a folder (using IMAP IDLE) and issues change events to connected workers.
We actually thought about using zeromq, but went with a simpler solution for now, i.e. using websockets.