title: Gmail API - Seeing strange German characters using 'raw' output and decoding into utf-8
body: <p>I have an issues with some encoding when reading emails using the Gmail API.
  First i retrieve the email using this:</p>
  
  <pre><code>message = service.users().messages().get(userId='me', id='169481bce75af185', format='raw').execute()
  </code></pre>
  
  <p>After that I use these line to get a string out of it and convert it into mime message:</p>
  
  <pre><code>msg_str = str(base64.urlsafe_b64decode(message['raw'].encode('utf-8')).decode('utf-8'))
  mime_msg = email.message_from_string(msg_str)
  </code></pre>
  
  <p>Then I print what I got:</p>
  
  <pre><code>print(mime_msg.get_payload()[0])
  </code></pre>
  
  <p>However I can see some weird characters in the output for example:</p>
  
  <pre><code>Gesch=C3=A4ftsf=C3=BChrer
  </code></pre>
  
  <p>In the message header I can see this:</p>
  
  <pre><code>Content-Type: text/plain; charset="UTF-8"
  Content-Transfer-Encoding: quoted-printable
  </code></pre>
  
  <p>What did I do wrong and how can I get the correct output without the strange characters?</p>
  
  <p>Thank you for your time</p>