Skip to main content

Gmail

Read your Gmail with each email's context, and reply or send from ODIN after you approve.

View sourceIn progressVersion 0.1.0ODIN (official)

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.

Terminal
git clone https://github.com/myviliha/open-connectors
cd open-connectors
cargo t

What it reads

  • Messages and threads in your mailbox (only when you ask, read live)
  • Sender, recipients, subject and date

What it does

ToolWhat it doesAsks first
search_mailFind messages by sender, subject, words or dateNo, it only reads
read_messageRead one message and its threadNo, it only reads
send_replyReply to a messageYes, it sends or changes something
send_mailSend a new emailYes, 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 about
  • https://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.

Govern every AI agent with ODIN

Approvals, an audit trail and your company’s rules, across every connector and agent.

Start free