This doesn't make much sense since ImapConnection never emits 'data' and doesn't have a write() method.