title: Python imaplib uid fetch command error
body: <p>I tried to fetch a message content in the following way</p>
  
  <pre><code>result, data = m.uid('fetch', num, "( FLAGS BODY.PEEK[HEADER.FIELDS (SUBJECT FROM DATE)] BODYSTRUCTURE)")
  </code></pre>
  
  <p>It worked well when I was connecting to a private mail server "mail.example.com"
  But it returns exception when I used "imap.gmail.com"</p>
  
  <pre><code>error: UID command error: BAD ['Could not parse command']
  </code></pre>