Send Email using Replay All to the Original Mail by avoiding the Forwarded email

Problem Statement- I have received email to my Inbox through Forward. I need Send Email using Replay All to the Original Mail.
Challenge-There should not be any trace of Forwarded email when I Replay All/When the end user receives an email.

I Tried with Read Email as String ,Used regex to get Subject, To email, From email, Cc email List and Out Email text by removing Forwarded email message and Used Microsoft office 365 to Replay all but Since its not in HTML its not able to maintain the Email Chain Structure

When I tried to Read email as HTML it is difficult to get the Out Texts by performing Regex
Could Anyone Help me with this Problem.
Appreciate the Help in Advance.

Hi @Annet

Use the Mail.Body to get the body of the mail and use the Mail.Subject to get the subject of the mail. Use the regex expressions to get the Mail ID’s.

Regards

@Annet

  1. Get Outlook Mail Messages:

    • Use the “Get Outlook Mail Messages” activity to retrieve the email(s).
  2. For Each:

    • Iterate through the list of emails.
  3. Assign:

    • Assign emailBody = currentEmail.Headers(“HTMLBody”).ToString.
  4. Regex or String Manipulation:

    • Use Regex or string manipulation to remove the forwarded content from emailBody.
  5. Compose Reply Email:

    • Compose the reply email with the necessary content, including the modified emailBody.
  6. Send Email:

    • Use the “Send Outlook Mail Message” or “Send SMTP Mail Message” activity to send the reply email.

Thanks Krishna, But I am using Shared email box where i will be accessing the email so need to go with Office 365, I need help with using Office 365