Nuvrail is an IMAP/SMTP proxy you run yourself. It sits between an AI agent and your real mail server. The agent connects to it like a normal mail server, with its own login, so it never holds your real mail password or OAuth token, and it needs no code changes.
This product is really early and agentic written, but it is a thing I am using internally and think the idea has legs.