Gemini

Command line · Gemini CLI

Ask Gemini who opened your Gmail emails

Google doesn't allow custom servers in the Gemini web or phone app yet, but the free Gemini CLI works with Track My Mails in three steps.

How to connect

  1. 1

    Install it once: npm install -g @google/gemini-cli

  2. 2

    Add Track My Mails: gemini mcp add --transport http -s user track-my-mails https://trackmymails.com/mcp

  3. 3

    Run gemini, type /mcp auth track-my-mails, sign in with Google, click Allow — then ask your question.

Server URL: https://trackmymails.com/mcp

The Gemini web and phone app can't add custom servers yet; we'll add them when Google allows it.

Things you can ask

  • “Who opened my emails this week?”
  • “Which emails from the last 7 days are still unopened?”
  • “Which companies open my emails the most this month?”
  • “Show the full open history for my email to anna@acme.com.”
  • “Who should I follow up with today?”

Private and read-only

  • Included with Pro, Lifetime, Team and the 30-day free trial (not the Free plan).
  • Read-only by default: the assistant can look up your tracking data but cannot change or delete anything. Sending email from your Gmail is a separate add-on that is only switched on by request.
  • Only tracking data is shared — recipients, send times, opens, clicks and subject lines. You can hide subjects from AI assistants in one switch. Email text and attachments are never shared.
  • Answers are exact: searching, counting and sorting happen in our database, even for 100,000+ emails.
  • Disconnect any time from the dashboard; the assistant loses access at once.