Email to Retool agents not picked up

Hi there,

Really love the new agents feature in Retool. I am trying to create a custom trigger from an e-mail. I have tried sending an e-mail thread to my Retool Agent, and afterwards a new draft mail. Both mails never show up at my Retool Agent. I enabled both the Email and Chat trigger, and also deployed a new version, but this doesn't change anything.

Using the chat does give a response. Is this a known bug?

Update: I found out that sending the mail from Gmail is not picked up, but using my personal Outlook account does work. Nothing updates/happens in Retool if I sent it from Gmail.

Hi there @Mick_Berkhout,

So I'm quoting what I saw in an internal slack thread of the launching hackathon:

I think the issue is that we enforce SPF & DKIM (if the email we get fails either, we drop the email trigger request). Are you familiar with setting up SPF? It’s fairly straightforward to set up (just requires adding a DNS record).

Basically, if the SPF check fails, we can’t guarantee that an email from xxx@xxx.com actually came from an IP you authorized (vs. someone who is spoofing your email).

I've never done this, but here's a guide from Google to set up SPF Set up SPF - Google Workspace Admin Help

Hope this helps!