← sources

gave my agent its own email inbox, things i'd do differently

source: reddit (reddit:AI_Agents)published 2026-10-11 11:51ingested 2026-10-12 02:36

retained text

been running an agent with its own email address for a bit, and grok bot just shipped the same thing so figured id share what i learned

- give it its own address, not yours. if it reads your inbox it reads everything, including password resets
- put it on your own domain if it talks to customers. a shared agent domain means you share the sending reputation with every other bot on it
- draft only at first. anyone can email the address, and an email can contain text that looks like an instruction. i read a few weeks of drafts before letting it send
- make sure a human can open the inbox. "ask the bot what it sent" is not great when a customer complains
- polling is meh. webhook on new mail, and sign the requests so nobody else can trigger your agent
- plus aliases (name+test@) dont always work on agent inboxes, check before you sign up for stuff with them

curious what others do for the prompt injection part. anything better than draft only + a small set of allowed actions?

document fetched 2026-10-12 00:18 · canonical https://reddit.com/r/AI_Agents/comments/1x369c7/gave_my_agent_its_own_email_inbox_things_id_do