Give your AI agents access to all of your email accounts, without handing your inbox to a third party. maze is local-first and self-hostable, with granular permissions for every account.
Works with Gmail, Outlook, iCloud, Fastmail, Yahoo, Proton Mail, and any IMAP/SMTP server.
Give an agent full autonomy on one mailbox and keep another read-only. You set permissions per account in the terminal UI, and maze enforces them on every call.
maze runs on your own machine or server. No third-party service sits between your mail provider and your agent, no mail is cached to disk, and your credentials stay encrypted in one local file.
Every action an agent takes, allowed or refused, is recorded in a local audit log so you can always see what it touched.
$ curl -fsSL https://raw.githubusercontent.com/HACKE-RC/maze/main/install.sh | sh
The script builds maze from source with Go, and downloads Go for the install if yours is missing or older than 1.21. Then run maze to add your accounts. It walks you through signing into each provider and setting its permissions.
Or paste this into your coding agent and let it handle setup:
Read https://raw.githubusercontent.com/HACKE-RC/maze/main/AGENT_SETUP.md and set up maze for me.
$ claude mcp add maze -- ~/.local/bin/maze serve
$ npx skills add HACKE-RC/maze -g
$ npx skills add HACKE-RC/maze -g
Runs locally over stdio by default, or self-hosted over HTTP with maze serve --http. More clients and a background service guide are in the README.