I have a list which is a combination of splitted dataframe as below and I am trying to send teh content of it in an email body using email.message package. The string variable in the picture is what is passed to msg.set_content(text) function.
Unfortunately the result of this is not in the format as what I was expecting :
Any suggestion or quick fix ?

