title: parsing tables in outlook *.msg emails by python
body: <p>I am trying to read outlook *.msg using python and Pandas. I got the body of the emails using a module called 'ExtractMsg'. The emails contain a table which is very complex since there are hard new lines ('\r\n') even within some cells. This makes the converting to Pandas very unpredictable. I am wondering how I could reproduce the same tables in Pandas. Thanks very much!</p>
  
  <p>How an email look like is attached: email screenshot</p>
  
  <p><a href="https://i.stack.imgur.com/JCXwp.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/JCXwp.png" alt="enter image description here"></a></p>
  
  <p>my code is here:</p>
  
  <pre><code>import ExtractMsg
  email = ExtractMsg.Message(file)
  email_body = email.body
  </code></pre>
  
  <p>The the email body looks like:</p>
  
  <p>' \r\nA\r\nB\r\nC\r\n1\r\n1a\r\n1b\r\nss\r\n1c\r\n2\r\n2a\r\n2b\r\n2c\r\n3\r\n3a\r\n3b\r\n3c\r\nxxx\r\n4\r\n4a\r\n4b\r\n4c\r\n5\r\n5a\r\nttt\r\n5b\r\n5c\r\n \r\n'</p>