title: How to convert base64 from email body to string using Robot Framework
body: <p>I get email body from this code.</p>
  <pre><code>*** Settings ***
  Library           ImapLibrary
  
  
  *** Test Cases ***    
     Email_Verification
         Open Mailbox    host=imap.googlemail.com    user=xxxx@gmail.com    password=xxx
         ${LATEST} =    Wait For Email    sender=xx@email.co.th    timeout=300
         ${HTML}   Get Email Body    ${LATEST}
         Log Many    ${HTML}
         Close Mailbox
  </code></pre>
  <p>But the email body display in base64 as below</p>
  <pre><code>--000000000000b0c6fa05c4db28e0
  Content-Type: text/plain; charset=&quot;UTF-8&quot;
  Content-Transfer-Encoding: base64
  4LmD4Lir4Lih4LmI4LiX4LiU4Liq4Lit4LiaDQo=
  --000000000000b0c6fa05c4db28e0
  Content-Type: text/html; charset=&quot;UTF-8&quot;
  Content-Transfer-Encoding: base64
  4LmD4Lir4Lih4LmI4LiX4LiU4Liq4Lit4LiaDQo=
  --000000000000b0c6fa05c4db28e0--
  </code></pre>
  <p>It's work when email body is English but it's not work when it's Thai</p>
  <p>and how to convert the base64 to string or can Get Email Body as Thai</p>
  <p>Could anyone please help</p>