Gemini CLI MCP server for Gmail and Outlook

Add Replyless to Gemini CLI with one command, sign in with /mcp auth, and Gemini can search, read, draft, tidy and send your Gmail, Outlook, Zoho Mail and IMAP email from the terminal.

Sign-in opens a browser on the same machine as Gemini CLI. Works during the 7-day free trial and on Basics, Pro and Lifetime. Each tool call uses 1 credit (Pro and Lifetime are unlimited), and each account gets 60 requests a minute.

Connect Gemini CLI to your email

  1. Connect your mailbox to Replyless

    Sign up at replyless.ai and connect Gmail, Outlook, Zoho Mail or any IMAP account. Connect several if you like; your agent can use each of them.

  2. Add the server

    Run this in your terminal. Add --scope user to use Replyless in every project.

    gemini mcp add --transport http replyless https://mcp.replyless.ai/mcp
  3. Or add it to settings.json

    The same entry in ~/.gemini/settings.json:

    {
      "mcpServers": {
        "replyless": {
          "httpUrl": "https://mcp.replyless.ai/mcp"
        }
      }
    }
  4. Sign in

    In Gemini CLI, run /mcp auth replyless. Sign in to Replyless in the browser window and click Allow.

Things to ask

  • Which emails from this week still need a reply?
  • Search my Gmail for the contract from Dana and summarize it
  • Draft a reply to the latest email from Sam saying Thursday works
  • Archive every newsletter in my Outlook inbox

Frequently asked questions

Why does sign-in need a browser?
Gemini CLI completes OAuth through a browser on the same machine, so run /mcp auth replyless on a computer with a browser rather than over SSH.
Which email accounts can Gemini CLI reach?
Every mailbox you connect to Replyless: Gmail and Google Workspace, Outlook and Microsoft 365, Zoho Mail and any IMAP account. Name the one you mean, or let the agent list them first.
Can Gemini CLI send email without me?
Gemini CLI sends only through the send_email tool, and the tool tells it to send only when you clearly ask. For anything else it saves a draft in Replyless for you to review. You can remove its access any time in Settings → Connected AI apps.
What does it cost to use Replyless from Gemini CLI?
Each tool call uses 1 Replyless credit, and a failed call costs nothing. Basics ($15 a month) includes 5,000 credits a month; Pro ($30) and Lifetime ($299 once) are unlimited. Start with a 7-day free trial, no card.

Related pages