I have a hook that processes emails and delivers them to an "email" channel in discord. I want to then be able to follow with questions, but the email is not being appended to the context of the session. I've tried setting the session key of the channel conversation that I've extracted from the "sessions" tab in the dashboard, but it wasn't working. Here's my config
{
"id": "gmail-eric-only",
"match": {
"path": "gmail"
},
"action": "agent",
"wakeMode": "now",
"name": "Gmail",
"deliver": true,
"channel": "discord",
"to": "channel:<channelId>",
"transform": {
"module": "gmail-eric-filter.js",
"export": "transformGmail"
}
},
Any help is much appreciated!