docs: def opened(self):
          """Connect to the websocket, and ensure the account is connected and
          the INBOX is being watched, and then start watchingAll.
          """
          def post_setup((cmds, resps)):
              """Post setup callback."""
              logger.info("Setup complete, listening...")
  
          self.send_cmds(('connect', CONN_SPEC),
                         ('watchMailboxes', {'account': ACCOUNT,
                                             'list': ['INBOX']}),
                         ('watchAll', {})).then(post_setup)