Module Expr Str Import alias Import alias Import alias ImportFrom alias Import alias Import alias ImportFrom alias ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults Str body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return BinOpMod Str AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Return decorator_list FunctionDef arguments args NameParam defaults body Expr Str If AttributeLoad NameLoad attr body Return AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr If CompareIs AttributeLoad NameLoad attr NameLoad body Assign TupleStore AttributeStore NameLoad attr AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad AttributeLoad NameLoad attr Index Str If CompareIs AttributeLoad NameLoad attr NameLoad body Raise Call NameLoad keyword AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr orelse Assign TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad AttributeLoad NameLoad attr Index Str If BoolOpOr CompareNotEq AttributeLoad NameLoad attr NameLoad CompareIs NameLoad NameLoad body Raise Call NameLoad keyword AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr Return AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str If AttributeLoad NameLoad attr body Return AttributeLoad NameLoad attr TryExcept body Assign AttributeStore NameLoad attr SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index BinOpSub AttributeLoad NameLoad attr Num handlers ExceptHandler type NameLoad body Assign TupleStore AttributeStore NameLoad attr AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Return AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str If AttributeLoad NameLoad attr body Return AttributeLoad NameLoad attr Assign TupleStore AttributeStore NameLoad attr AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Return AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str If AttributeLoad NameLoad attr body Return AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Return Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr ListLoad For TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body If CompareIn AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Return AttributeLoad NameLoad attr decorator_list NameLoad decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore TupleLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad FunctionDef arguments args NameParam NameParam defaults kwarg body Expr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad AttributeLoad AttributeLoad NameLoad attr attr If CompareNotIn NameLoad AttributeLoad NameLoad attr body Raise Call NameLoad BinOpMod Str NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return BinOpMod Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore BinOpMod Str AttributeLoad NameLoad attr If CompareIn AttributeLoad NameLoad attr TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign NameStore ListLoad For NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str body Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad AugAssignAdd NameStore BinOpMod Str Call AttributeLoad Str attr NameLoad orelse If CompareIn AttributeLoad NameLoad attr AttributeLoad NameLoad attr body AugAssignAdd NameStore BinOpMod Str SubscriptLoad AttributeLoad NameLoad attr Index Str orelse If CompareIn AttributeLoad NameLoad attr TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr body AugAssignAdd NameStore BinOpMod Str SubscriptLoad AttributeLoad NameLoad attr Index Str orelse If CompareIn AttributeLoad NameLoad attr TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr body AugAssignAdd NameStore BinOpMod Str SubscriptLoad AttributeLoad NameLoad attr Index Str orelse If CompareIn AttributeLoad NameLoad attr TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr body AugAssignAdd NameStore BinOpMod Str SubscriptLoad AttributeLoad NameLoad attr Index Str orelse If CompareIn AttributeLoad NameLoad attr AttributeLoad NameLoad attr body AugAssignAdd NameStore BinOpMod Str TupleLoad SubscriptLoad AttributeLoad NameLoad attr Index Str SubscriptLoad AttributeLoad NameLoad attr Index Str orelse If CompareIn AttributeLoad NameLoad attr AttributeLoad NameLoad attr body AugAssignAdd NameStore BinOpMod Str SubscriptLoad AttributeLoad NameLoad attr Index Str Return BinOpAdd NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr NameLoad Return Call Call NameLoad NameLoad BinOpMod Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad AttributeLoad NameLoad attr Index Str Assign NameStore CompareIn NameLoad AttributeLoad AttributeLoad NameLoad attr attr Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str Return BoolOpAnd CompareIn NameLoad AttributeLoad AttributeLoad NameLoad attr attr CompareNotEq Call AttributeLoad Call AttributeLoad SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index NameLoad attr attr SubscriptLoad AttributeLoad NameLoad attr Index Str Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str For NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str body If UnaryOpNot Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Return NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str For NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str body If Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Return NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return CompareLt AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad AttributeLoad NameLoad attr Index Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str For NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr body If Call AttributeLoad NameLoad attr body Continue If CompareNotEq Call AttributeLoad Call AttributeLoad Call AttributeLoad NameLoad attr keyword NameLoad attr attr NameLoad Num body Return NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return CompareGt Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad AttributeLoad NameLoad attr Index Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str For NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str body If BoolOpAnd Call NameLoad NameLoad NameLoad CompareEq NameLoad Str CompareEq AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr body Return NameLoad orelse If BoolOpAnd Call NameLoad NameLoad NameLoad CompareEq NameLoad AttributeLoad AttributeLoad NameLoad attr attr body Return NameLoad orelse If BoolOpAnd Call NameLoad NameLoad NameLoad BoolOpAnd CompareGtE AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad NameLoad Index Num CompareLtE AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad NameLoad Index Num body Return NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return UnaryOpNot Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Str attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return CompareEq Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Str attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return BoolOpAnd CompareIn Str AttributeLoad AttributeLoad NameLoad attr attr CompareGt SubscriptLoad AttributeLoad NameLoad attr Index Str Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return BoolOpAnd CompareIn Str AttributeLoad AttributeLoad NameLoad attr attr CompareEq Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Str attr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Str attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return BoolOpAnd CompareIn Str AttributeLoad AttributeLoad NameLoad attr attr CompareLt SubscriptLoad AttributeLoad NameLoad attr Index Str Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return BoolOpOr CompareGt AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad AttributeLoad NameLoad attr Index Str CompareEq Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Str attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return CompareLt Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad AttributeLoad NameLoad attr Index Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str For NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr body If CompareNotEq Call AttributeLoad Call AttributeLoad NameLoad attr attr NameLoad Num body Return NameLoad Return Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str For NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str body If BoolOpAnd Call NameLoad NameLoad NameLoad CompareEq NameLoad Str body If CompareEq AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr body Return NameLoad orelse If BoolOpAnd Call NameLoad NameLoad NameLoad CompareEq NameLoad AttributeLoad AttributeLoad NameLoad attr attr body Return NameLoad orelse If BoolOpAnd Call NameLoad NameLoad NameLoad BoolOpAnd CompareGtE AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad NameLoad Index Num CompareLtE AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad NameLoad Index Num body Return NameLoad Return NameLoad decorator_list decorator_list
N/A N/A 
Classes and their supporting methods that represent an IMAP Search
structure.
 N/A logging N/A os.path N/A pytz datetime datetime N/A asimap.utils N/A asimap.constants asimap.exceptions MailboxInconsistency BadSearchOp N/A Exception N/A __init__ N/A N/A self value N/A bad search operation N/A N/A N/A self value value N/A __str__ N/A N/A self N/A N/A N/A N/A BadSearchOp: %s N/A self value N/A N/A SearchContext N/A object N/A N/A 
    When running searches on we store various bits of context information that
    the IMAPSearch object may need to determine if a specific message is
    matched or not.
     __init__ N/A N/A self mailbox msg_key msg_number seq_max uid_max sequences N/A N/A N/A 
        A container to hold the contextual information an IMAPSearch
        objects to actually perform its matching function.

        Arguments:
        - `mailbox`: The mailbox the message lives in
        - `msg_key`: The message key (mailbox.get_message(msg_key))
        - `msg_number`: The imap message number for this message
        - `seq_max`: The largest message sequence number in this mailbox
        - `uid_max`: The largest assigned uid, or next_uid if there
          are no messages in this mailbox
        - `sequences`: The sequences for the mailbox. Passed in to save us from
          having to load and parse it separately for every message.
         N/A N/A self log N/A N/A logging getLogger N/A %s.%s.%s.msg-%d N/A __name__ N/A N/A self __class__ __name__ N/A mailbox name msg_key N/A N/A self mailbox mailbox N/A N/A self msg_key msg_key N/A N/A self seq_max seq_max N/A N/A self uid_max uid_max N/A N/A self msg_number msg_number N/A N/A self mailbox_sequences sequences N/A N/A self path N/A N/A N/A os path join N/A N/A mailbox mailbox _path N/A str msg_key N/A N/A self internal_date N/A N/A datetime fromtimestamp N/A N/A N/A os path getmtime N/A self path N/A pytz UTC N/A N/A self _msg None N/A N/A self _uid_vv None N/A N/A self _uid None N/A N/A self _sequences None N/A N/A msg N/A N/A self N/A N/A N/A 
        The message parsed in to a MHMessage object
         N/A N/A self _msg N/A N/A N/A self _msg N/A N/A self _msg N/A N/A N/A self mailbox get_and_cache_msg N/A self msg_key N/A N/A N/A self _uid None N/A N/A N/A N/A self _uid_vv N/A self _uid N/A N/A N/A asimap utils get_uidvv_uid N/A N/A self msg N/A x-asimapd-uid N/A N/A N/A self _uid None N/A N/A N/A MailboxInconsistency mbox_name N/A N/A self mailbox name msg_key N/A self msg_key N/A N/A N/A uid_vv uid N/A N/A N/A asimap utils get_uidvv_uid N/A N/A self msg N/A x-asimapd-uid N/A N/A N/A N/A self _uid uid N/A uid None N/A N/A N/A MailboxInconsistency mbox_name N/A N/A self mailbox name msg_key N/A self msg_key N/A N/A self _msg N/A property uid N/A N/A self N/A N/A N/A 
        The IMAP UID of the message
         N/A N/A self _uid N/A N/A N/A self _uid N/A N/A N/A N/A self _uid N/A N/A N/A self mailbox uids N/A N/A N/A self msg_number 1 N/A N/A N/A IndexError N/A N/A N/A N/A self _uid_vv N/A self _uid N/A N/A N/A self mailbox get_uid_from_msg N/A self msg_key N/A N/A self _uid N/A property uid_vv N/A N/A self N/A N/A N/A 
        The IMAP UID Validity Value for the mailbox
         N/A N/A self _uid_vv N/A N/A N/A self _uid_vv N/A N/A N/A self _uid_vv N/A self _uid N/A N/A N/A self mailbox get_uid_from_msg N/A self msg_key N/A N/A self _uid_vv N/A property sequences N/A N/A self N/A N/A N/A 
        The list of sequences that this message is in. If the message is not
        loaded we avoid loading the message object by just getting the
        sequences directly from the mailbox and computing which sequences this
        message is in.
         N/A N/A self _sequences N/A N/A N/A self _sequences N/A N/A self _msg N/A N/A N/A N/A N/A self _msg get_sequences N/A N/A self _sequences N/A N/A N/A name key_list N/A N/A N/A self mailbox_sequences iteritems N/A N/A N/A N/A self msg_key key_list N/A N/A N/A N/A N/A self _sequences append name N/A N/A self _sequences N/A property N/A IMAPSearch N/A object N/A N/A THis is an IMAPSearch object. It can instantiate all the possible
    criteria for a search of the messages in a mailbox. The possible search
    parameters are as defined in rfc2060.

    What this object does is it takes a provided search strng (that we have
    gotten from a client) and converts it into a Python expression that when
    applied in an execution environment that has various variables representing
    a message can return True or False depending on whether that message
    matches the given search criteria.
     N/A OP_ALL all N/A OP_AND and N/A OP_BEFORE before N/A OP_BODY body N/A OP_HEADER header N/A OP_KEYWORD keyword N/A OP_LARGER larger N/A OP_MESSAGE_SET message_set N/A OP_NOT not N/A OP_ON on N/A OP_OR or N/A OP_SENTBEFORE sentbefore N/A OP_SENTON senton N/A OP_SENTSINCE sentsince N/A OP_SINCE since N/A OP_SMALLER smaller N/A OP_TEXT text N/A OP_UID uid N/A VALID_OPS N/A OP_ALL OP_AND OP_BEFORE OP_BODY OP_HEADER OP_KEYWORD OP_LARGER OP_MESSAGE_SET OP_NOT OP_ON OP_OR OP_SENTON OP_SENTBEFORE OP_SENTSINCE OP_SINCE OP_SMALLER OP_TEXT OP_UID __init__ N/A N/A self op N/A kwargs N/A N/A This sets up the IMAPSearch object. It must be given at least the
        'search operation' keyword and a bunch of keyword arguments that are
        required for that search operation.
         N/A N/A self log N/A N/A logging getLogger N/A %s.%s N/A __name__ N/A N/A self __class__ __name__ N/A N/A op N/A self VALID_OPS N/A N/A N/A BadSearchOp N/A '%s' is not a valid search op op N/A N/A self op op N/A N/A self args kwargs N/A __repr__ N/A N/A self N/A N/A N/A N/A IMAPSearch, operation: %s N/A self op N/A __str__ N/A N/A self N/A N/A N/A result N/A IMAPSearch('%s' N/A self op N/A N/A N/A self op N/A N/A self OP_AND N/A self OP_OR N/A N/A elt N/A N/A search N/A N/A self args N/A search_key N/A N/A N/A N/A elt append N/A str search N/A result N/A , [%s] N/A N/A ,  join elt N/A N/A N/A N/A self op N/A self OP_NOT N/A N/A result N/A , search_key = %s N/A N/A self args N/A search_key N/A N/A N/A N/A self op N/A N/A self OP_BEFORE N/A self OP_ON N/A self OP_SENTON N/A self OP_SENTBEFORE N/A self OP_SENTSINCE N/A self OP_SINCE N/A N/A result N/A , date = "%s" N/A N/A self args N/A date N/A N/A N/A N/A self op N/A N/A self OP_LARGER N/A self OP_SMALLER N/A N/A result N/A , n = %d N/A N/A self args N/A n N/A N/A N/A N/A self op N/A N/A self OP_TEXT N/A self OP_BODY N/A N/A result N/A , string = "%s" N/A N/A self args N/A string N/A N/A N/A N/A self op N/A self OP_HEADER N/A N/A result N/A , header = "%s", string = "%s" N/A N/A N/A self args N/A header N/A N/A self args N/A string N/A N/A N/A N/A self op N/A self OP_KEYWORD N/A N/A result N/A , keyword = "%s" N/A N/A self args N/A keyword N/A N/A result ) N/A match N/A N/A self ctx N/A N/A N/A 
        Apply this IMAPSearch instance against the message and its
        meta information contained in the 'ctx' (SearchContext)
        objects.

        We return True if it matches, False if it does not.

        Arguments:
        - `ctx`: The SearchContext that contains the message we are
          applying this search object against and its meta-information
         N/A N/A self ctx ctx N/A N/A N/A getattr self N/A _match_%s N/A self op N/A _match_keyword N/A N/A self N/A N/A N/A 
        True if the given flag is set on this message. In our implementaton
        keywords (aka flags) are indicated by the sequences a message is in.
         N/A keyword N/A N/A N/A asimap constants flag_to_seq N/A N/A self args N/A keyword N/A result N/A keyword N/A N/A self ctx sequences N/A result N/A _match_header N/A N/A self N/A N/A N/A 
        Messages that have a header with the specified field-name (as
        defined in [RFC-822]) and that contains the specified string
        in the [RFC-822] field-body.
         N/A header N/A N/A self args N/A header N/A N/A N/A header N/A N/A self ctx msg N/A N/A N/A N/A N/A N/A N/A N/A self ctx msg N/A header lower find N/A N/A self args N/A string -1 N/A _match_and N/A N/A self N/A N/A N/A 
        We have a list of search keys. If any of these are false then
        the match is false.
         N/A search_op N/A N/A self args N/A search_key N/A N/A N/A N/A N/A search_op match N/A self ctx N/A N/A False N/A True N/A _match_all N/A N/A self N/A N/A N/A 
        All messages in the mailbox; the default initial key for
        ANDing.
         N/A True N/A _match_or N/A N/A self N/A N/A N/A 
        We have a list of search keys. If any of these are false then
        the match is false.
         N/A search_op N/A N/A self args N/A search_key N/A N/A N/A N/A search_op match N/A self ctx N/A N/A True N/A False N/A _match_before N/A N/A self N/A N/A N/A 
        Messages whose internal date is earlier than the specified
        date.
         N/A N/A N/A N/A self ctx internal_date N/A N/A self args N/A date N/A _match_body N/A N/A self N/A N/A N/A 
        Messages that contain the specified string in the body of the
        message.
         N/A text N/A N/A self args N/A string N/A msg_part N/A N/A N/A N/A self ctx msg walk N/A N/A N/A N/A msg_part is_multipart N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A msg_part get_payload decode True lower find text -1 N/A N/A True N/A False N/A _match_larger N/A N/A self N/A N/A N/A 
        Messages with an [RFC-822] size larger than the specified
        number of octets.
         N/A N/A N/A N/A N/A os path getsize N/A N/A self ctx path N/A N/A self args N/A n N/A _match_message_set N/A N/A self N/A N/A N/A 
        Messages with message sequence numbers corresponding to the
        specified message sequence number set

        The sequence will be a list of integers and tuples. An integer
        indicates a specific sequence number. A tuple indicates a range.

        One trick, an integer may be '*' which means the last message
        sequence number in our mailbox.
         N/A elt N/A N/A self args N/A msg_set N/A N/A N/A N/A isinstance elt str N/A elt * N/A N/A N/A self ctx msg_number N/A self id_max N/A N/A True N/A N/A N/A N/A isinstance elt int N/A elt N/A N/A self ctx msg_number N/A N/A True N/A N/A N/A N/A isinstance elt tuple N/A N/A N/A N/A self ctx msg_number N/A elt N/A 0 N/A N/A N/A self ctx msg_number N/A elt N/A 1 N/A N/A True N/A False N/A _match_not N/A N/A self N/A N/A N/A 
        Messages that do not match the specified search key.
         N/A N/A N/A N/A N/A N/A self args N/A search_key match N/A self ctx N/A _match_on N/A N/A self N/A N/A N/A 
        Messages whose internal date is within the specified date.

        NOTE: We use the 'date' aspect of the datetime objects to
        compare 'on'ness. Ie: if they are on the same day. (rfc2060 is
        vague about this and just says what is listed above 'within
        the specific date')
         N/A N/A N/A N/A N/A N/A self ctx internal_date date N/A N/A N/A N/A self args N/A date date N/A _match_sentbefore N/A N/A self N/A N/A N/A 
        Messages whose [RFC-822] Date: header is earlier than the
        specified date.
         N/A N/A N/A date N/A N/A self ctx msg N/A N/A N/A self args N/A date N/A N/A N/A asimap utils parsedate N/A N/A N/A self ctx msg N/A date N/A _match_senton N/A N/A self N/A N/A N/A 
        Messages whose [RFC-822] Date: header is within the specified
        date.
         N/A N/A N/A date N/A N/A self ctx msg N/A N/A N/A N/A N/A self args N/A date date N/A N/A N/A N/A N/A asimap utils parsedate N/A N/A N/A self ctx msg N/A date date N/A _match_sentsince N/A N/A self N/A N/A N/A 
        Messages whose [RFC-822] Date: header is later than the
        specified date.
         N/A N/A N/A date N/A N/A self ctx msg N/A N/A N/A self args N/A date N/A N/A N/A asimap utils parsedate N/A N/A N/A self ctx msg N/A date N/A _match_since N/A N/A self N/A N/A N/A 
        Messages whose internal date is within or later than the
        specified date.
         N/A N/A N/A N/A N/A self ctx internal_date N/A N/A self args N/A date N/A N/A N/A N/A N/A self ctx internal_date date N/A N/A N/A N/A self args N/A date date N/A _match_smaller N/A N/A self N/A N/A N/A 
        Messages with an [RFC-822] size larger than the specified
        number of octets.
         N/A N/A N/A N/A N/A os path getsize N/A N/A self ctx path N/A N/A self args N/A n N/A _match_text N/A N/A self N/A N/A N/A 
        Messages that contain the specified string in the header or
        body of the message.
         N/A text N/A N/A self args N/A string N/A header N/A N/A N/A N/A self ctx msg values N/A N/A N/A N/A N/A N/A N/A header lower find text -1 N/A N/A True N/A N/A N/A self _match_body N/A _match_uid N/A N/A self N/A N/A N/A 
        Messages with unique identifiers corresponding to the
        specified unique identifier set.
         N/A elt N/A N/A self args N/A msg_set N/A N/A N/A N/A isinstance elt str N/A elt * N/A N/A N/A N/A N/A self ctx uid N/A N/A self ctx uid_max N/A N/A True N/A N/A N/A N/A isinstance elt int N/A elt N/A N/A self ctx uid N/A N/A True N/A N/A N/A N/A isinstance elt tuple N/A N/A N/A N/A self ctx uid N/A elt N/A 0 N/A N/A N/A self ctx uid N/A elt N/A 1 N/A N/A True N/A False N/A N/A