Gmail
Read your Gmail with each email's context, and reply or send from ODIN after you approve.
On this page
Get started
The connector lives in connectors/gmail. Clone the repository and run the checks: its manifest and its webhook verification are tested on every change.
git clone https://github.com/myviliha/open-connectors
cd open-connectors
cargo tWhat it reads
- Messages and threads in your mailbox (only when you ask, read live)
- Sender, recipients, subject and date
What it does
| Tool | What it does | Asks first |
|---|---|---|
search_mail | Find messages by sender, subject, words or date | No, it only reads |
read_message | Read one message and its thread | No, it only reads |
send_reply | Reply to a message | Yes, it sends or changes something |
send_mail | Send a new email | Yes, it sends or changes something |
Sign-in and permissions
Each person signs in with their own Gmail account (OAuth). The connector asks only for these, and says why:
https://www.googleapis.com/auth/gmail.readonly: read the messages you ask abouthttps://www.googleapis.com/auth/gmail.send: send a reply you approved
Events and verification
It sends mail.received so an agent hears about new work as it happens.
Gmail tells the connector through Google Cloud Pub/Sub, whose push requests carry a Google-signed OIDC token. The check is in odin-connector-kit, tested with known signatures.
With ODIN
The connector is a standard MCP server, so it works in any MCP client. In ODIN it runs governed: every action is approved by the person and recorded, and credentials come from their sealed vault. To improve it, open a pull request on GitHub; here is how.