Locked Out
Typical agents see no real email context as they get locked into their own little mailbox. They miss the threads that actually matter: clients, legal, finance – the work.
Open-source · Local CLI · Mac · Linux
Existing mail accounts hold crucial context for real work
Agents need that context. They don't need your passwords, unrestricted right to send, or sensitive parts of emails.
Olive Mail puts you in control
It's a local mediator that you authenticate. Agents never touch credentials. They use Olive Mail to search, read, draft or send.
Olive Mail is more than a security layer
It also aims to offer granular permission control, fast cached access, semantic search, and custom redaction plugins.
Get Started
$ brew install nohype-ai/tap/olive-mail
↓ Copy
It will use Homebrew to install olive-mail,
either from the prebuilt binary or by building it with Swift.
olive-mail account add you@work.com adds the
credentials for that email account.
Point your agents to the olive-mail CLI so they
know to use it. An explicit agent skill is also coming.
Why We Built This
Agents wielding email can feel like a superpower. But the way we connect both is still immature: either directly, via dedicated connector, or giving the agent its own email account. None of those approaches fit real work.
Typical agents see no real email context as they get locked into their own little mailbox. They miss the threads that actually matter: clients, legal, finance – the work.
Or agents can do it all – holding the keys to your kingdom. One prompt-injected message, and the inbox is public. They can speak as you, email anyone, destroy anything.
Real emails often contain sensitive data that a business needs to filter or redact before letting agents read emails at all.
Agents accessing mail accounts as such is slow, loads redundant data, offers no meaningful search, and costs a lot of tokens.
Where We're Going
Your credentials are isolated from agents, by actual account separation. You authenticate. They call olive-mail with a scoped interface, not the password file. You monitor and revoke.
By unix account and mail account. Reading permissions by mailbox, email field, sender. Permissions to draft and send, by destination. Rate limits. Whatever it takes.
Sensitive data – PII, legal, finance – stripped locally by custom plugins, so a remote model never sees what it should not. The mailbox stays the system of record. The agent sees a view.
A local cache across agents for super fast responses. Get locally generated summaries. Extract content from HTML. Only pay for (remote-) tokens where frontier AI is actually needed.
Agents can but don't have to act as spokesperson for you or your company. You can employ them like interns, so they are in the loop while you're still the one who speaks.
Find meaning that matches a prompt – not just letters that match a search term. Retrieve relevant content across accounts and mailboxes instead of stuffing them into the agent.