Attach an Inbound Email and all attachments upto 3 level
Pega Email Listener can attach the Original inbound email as an attachment and also any attachment that email contains as an attachment.
My requirement is -
I receive an inbound email (lets say Email 1) which has another Email (Email 2) as an attachment. Now Email 2 has attachments (lets say attachment1 and attachment 2). I need to separately attach Email1, Email 2, Attachment 1 and attachment 2 to the Case and visible separately in the attachments section in the right panel.
What is the approach to follow to achieve this?