 AppDispatcher = require '../app_dispatcher'
 
 AccountStore = require './account_store'
+
 SocketUtils = require '../utils/socketio_utils'
 
 {ActionTypes, MessageFlags, MessageFilter, FlagsConstants} =


        sequence = _messagesWithInFlights()
        sequence = sequence.filter inMailbox mailboxID

        if _filterType is 'flag'
            sequence = sequence.filter _matchFlag

        else if _filterType is 'date'
            sequence = sequence.filter _matchRangeDate

        # We dont filter for _filterType from and dest because it is
        # complicated by collation and name vs address.


    _queryRef = 0
    _nextUrl = null
    _currentUrl = null
    _noMore = false

    _currentMessages = Immutable.OrderedMap()
