Sending conversation as message by email with custom actions

Hello,

I’m trying to create a custom action that takes the last couple of turns of a conversation and sends it as an automatic email with SMTP. I have found a bit of info about InMemoryTrackerStore, but I’m not sure how to actually use it for sending the conversation as a message in an email.

Any help will be much appreciated!