Create Copy of Sent Email in a Log Table

I have several BOTS setup that send an email for specific items. Some of these items would be considered more severe in nature and I was hoping to create an email log on these.

I know that I can add an extra step in my bot that would create an entry in a different table, however I have not figured out how I could create a PDF document of the exact email that was sent in the prior step. I suspect the workaround would be to the attachment feature and checking 'ArchiveAndDoNotAttach' and choosing the same template as used for the email as the attachment as well. The obvious limiting factor on this would be that the To/From/CC/BCC fields are missing and the timestamp that is generated within the email.

Does anybody have any examples of how they integrated something like this?

0 1 129
1 REPLY 1
Top Labels in this Space