find all items in list object
<p>I would like to interrogate all new emails (one by one) and find the contents of them so that I can use the contents for another application.  </p>

<p>My first step was interpreting the return values from a search done via the search attr of an IMAP4 object.  I'm trying to figure out what data is in a list that I have returned to me.<br>
How can I examine the object tree via print?  Or, better yet, how can I get the contents of the email in a string?</p>

<p>For ex., I am returned the following via print:
<code>unseen email content: ['3 4']</code> from a variable named "response".
If I run <code>print response.__class__.__name__</code>, I get "list" returned.</p>

<p>I know that there is other data in "3", and "4", I just don't know what.  </p>

<p>update: Specifically, this is the return of a call to an IMAP4obj.search(None, '(UNSEEN)')</p>
