title: fetch gmail only answered emails
body: <p>I want to fetch only answered emails from Google mail via IMAP. </p>
  
  <p>There is a flag /Answered but it seems not work. 
  For fetch mails on Ruby I wrote</p>
  
  <pre><code>imap_privider.fetch(1..15, ["BODY[HEADER.FIELDS (SUBJECT)]", "FLAGS"])
  </code></pre>
  
  <p>And I got response for letter (which I know for sure is a reply):</p>
  
  <pre><code>#&lt;struct Net::IMAP::FetchData
    seqno=14,
    attr=
     {"FLAGS"=&gt;[:Seen],
      "BODY[HEADER.FIELDS (SUBJECT)]"=&gt;"Subject: RE: salut\r\n\r\n"}&gt;,
  </code></pre>
  
  <p>I think that in attr it should be [:Answered].</p>
  
  <p>So what do I do wrong?</p>