Email channel not routing some messages

Hello,

Some of my email channel messages are not being routed, and there is no error message to go along with it so I’m not sure what is going wrong. There are no special instructions for the email channel, simply “Add all emails received”.

Thanks

Hi @Ryan_Parent - looking into this.

@Ryan_Parent One thing I noticed when looking at your successfully routed emails: It looks like your routing agent is calling some of your custom AppSheet tools as it’s routing. For example, one of them is calling create_file. I’m guessing this is not what you intended, based on the “Add all emails received” instructions you gave it.

You can prevent it from calling those tools by disabling them in the Instructions settings for your email. There’s a module/tools configuration (here’s a screenshot from my own thunk):

Right now, we default to allowing the email router to call any tool that’s available in your Thunk, but we should consider changing that to be “default off” instead of “default on”.

Still looking into why that other email didn’t get routed.

Actually, I suspect that’s the issue, combined with a few bugs on our side.

Try doing this:

  • Disable the “This Thunk” tools for your email router
  • Open the message that has the red (!) next to it
  • Click on Route Message > Run AI again

I think your agent is getting tripped up by those additional tools being available, and it ends up not adding the row to your thunk.

Can you give that a try?

@tony That seems to have fixed it, thanks!

1 Like