Creating Eml file from body of mail

Hi All,

In my project there is a requirement that I store the email chain in Appian and display that in interface, so we started the process through email and then trying to create an EML file to store the mail chain. But the body which is mapped is not in proper format for appian.

Replied to test new changesFrom: Receive Email Trigger <processmodel5777@domain.appiancloud.com>Sent: Wednesday, May 8, 2019 1:52 PMTo: Abc Xyz <Abc.Xyz@infosys.com>Subject: Email testing New[**EXTERNAL EMAIL**]"Send email testing new"; <html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="">schemas.microsoft.com/.../omml" xmlns="">www.w3.org/.../REC-html40"><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><meta name="Generator" content="Microsoft Word 15 (filtered medium)"><style><!--/* Font Definitions */@font-face {font-family:"Cambria Math"; panose-1:2 4 5 3 5 4 6 3 2 4;}@font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4;}/* Style Definitions */p.MsoNormal, li.MsoNormal, div.MsoNormal {margin-top:0in; margin-right:0in; margin-bottom:8.0pt; margin-left:0in; line-height:106%; font-size:11.0pt; font-family:"Calibri",sans-serif;}a:link, span.MsoHyperlink {mso-style-priority:99; color:#0563C1; text-decoration:underline;}a:visited, span.MsoHyperlinkFollowed {mso-style-priority:99; color:#954F72; text-decoration:underline;}p {mso-style-priority:99; mso-margin-top-alt:auto; margin-right:0in; mso-margin-bottom-alt:auto; margin-left:0in; font-size:12.0pt; font-family:"Times New Roman",serif;}p.msonormal0, li.msonormal0, div.msonormal0 {mso-style-name:msonormal; mso-margin-top-alt:auto; margin-right:0in; mso-margin-bottom-alt:auto; margin-left:0in; font-size:12.0pt; font-family:"Times New Roman",serif;}p.msochpdefault, li.msochpdefault, div.msochpdefault {mso-style-name:msochpdefault; mso-margin-top-alt:auto; margin-right:0in; mso-margin-bottom-alt:auto; margin-left:0in; font-size:12.0pt; font-family:"Calibri",sans-serif;}p.msopapdefault, li.msopapdefault, div.msopapdefault {mso-style-name:msopapdefault; mso-margin-top-alt:auto; margin-right:0in; margin-bottom:8.0pt; margin-left:0in; line-height:106%; font-size:12.0pt; font-family:"Times New Roman",serif;}span.EmailStyle21 {mso-style-type:personal-reply; font-family:"Calibri",sans-serif; color:#1F497D;}.MsoChpDefault {mso-style-type:export-only; font-size:10.0pt;}@page WordSection1 {size:8.5in 11.0in; margin:1.0in 1.0in 1.0in 1.0in;}div.WordSection1 {page:WordSection1;}--></style><!--[if gte mso 9]><xml><o:shapedefaults v:ext="edit" spidmax="1026" /></xml><![endif]--><!--[if gte mso 9]><xml><o:shapelayout v:ext="edit"><o:idmap v:ext="edit" data="1" /></o:shapelayout></xml><![endif]--></head><body lang="EN-US" link="#0563C1" vlink="#954F72"><div class="WordSection1"><p class="MsoNormal"><span style="color:#1F497D">Replied to test new changes<o:p></o:p></span></p><p class="MsoNormal"><span style="color:#1F497D"><o:p>&nbsp;</o:p></span></p><div><div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in"><p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal"><b>From:</b>  Receive Email Trigger &lt;processmodel5777@domain.appiancloud.com&gt;<br><b>Sent:</b> Wednesday, May 8, 2019 1:52 PM<br><b>To:</b> Abc Xyz &lt;Abc.Xyz@infosys.com&gt;<br><b>Subject:</b> Email testing New<o:p></o:p></p></div></div><p class="MsoNormal"><o:p>&nbsp;</o:p></p><p class="MsoNormal"><span style="color:#CE1126">[**EXTERNAL EMAIL**]</span><o:p></o:p></p><div><div><p>&quot;Send email testing new&quot;<o:p></o:p></p></div></div></div></body></html>

Please suggest how can we use the above content to store as an EML file in appian.

Thanks,

Nupoor

 Discussion posts and replies are publicly visible