    # File lib/vmail/imap_client.rb, line 100
        def get_highest_message_id
          # get highest message ID
          res = @imap.fetch([1,"*"], ["ENVELOPE"])
          if res
            @num_messages = res[-1].seqno
            log "HIGHEST ID: #@num_messages"
          else
            @num_messages = 1
            log "NO HIGHEST ID: setting @num_messages to 1"
          end
        end