# Casella Mail Agent

Source: https://abcastor.com/works/mail-agent/

Let AI assistants search, read and draft in your Gmail and Microsoft 365
mailboxes while sending stays off.

[By Emanuele Russo][L1]

Since 16 Jul 2026

[Get it][L2]

[L1]: https://emanuelegrusso.com/
[L2]: https://abcastor.com/works/mail-agent/#get

## What it does

Casella Mail Agent runs on your own machine as an MCP server for Gmail and
Microsoft 365. An assistant can search a mailbox, read threads and save replies
in Drafts, while each action follows a rule you pick in Settings: allow, ask
first or block, with overrides per mailbox.

Sending is off by default and cannot be turned on by an agent or from Settings,
and permanent deletion is never exposed. The assistant gets its own client
token, separate from the human token used for settings and approvals, so it can
never approve its own request.

## Where to get it

uv, a local 32-byte master key, and your own Gmail or Microsoft 365 OAuth client
credentials. You can try the command line on an empty database without an
account.

- [Connect a mailbox Setup guide][L3]

- [Operations and recovery Guide][L4]

- [Source and licence GitHub][L5]

[L3]: https://github.com/ABCastor/mail-agent#connect-a-mailbox-on-your-mac
[L4]: https://github.com/ABCastor/mail-agent/blob/main/docs/operations.md
[L5]: https://github.com/ABCastor/mail-agent
