#NEWLINE# def listup( self , limit = 10 , criterion = None , include_raw = False ) : #NEWLINE# #INDENT# email_ids = self . listids ( limit , criterion ) #NEWLINE# result = [ ] #NEWLINE# for i in email_ids : #NEWLINE# #INDENT# ( typ , content ) = self . _mailer . uid ( 'fetch' , i , self . _fetch_message_parts ) #NEWLINE# if ( typ == 'OK' ) : #NEWLINE# #INDENT# mail = _parse_email ( content , include_raw = include_raw ) #NEWLINE# result . append ( mail ) #NEWLINE# #UNINDENT# #UNINDENT# return result