Connect Gemini CLI or Antigravity to Apple Mail

To connect Gemini CLI to Apple Mail, install Liamia, click Connect next to Gemini CLI, and start a new gemini session. Antigravity, Google's agent app and its agy command, has its own Connect button because it reads a different settings file. Either way, every send still waits for your click.

7 days free, every feature, no card. macOS 14 or later. Updated .

How it works

Gemini reads your Apple Mail in three steps

  1. Install Liamia

    Drag it to Applications and switch on Full Disk Access for Liamia. Click Allow when macOS asks to let it control Mail.

  2. Click Connect

    Next to Gemini CLI, Antigravity, or both. Liamia names Google as the company that gets the emails they read and asks you to tick a box.

  3. Allow it, then start fresh

    Switch on Full Disk Access for your terminal app, or for Antigravity if you use the app. Start a new gemini or agy session, or reopen Antigravity.

Two Google apps

Gemini CLI and Antigravity, side by side

Gemini CLIAntigravity
What Liamia writesA Liamia entry in ~/.gemini/settings.json. Your other servers stay.A Liamia entry in ~/.gemini/config/mcp_config.json, shared by the app and agy.
Full Disk AccessYour terminal appAntigravity, or your terminal app for agy
After ConnectStart a new gemini sessionReopen Antigravity, or start a new agy session
Tool promptsLiamia does not mark itself trusted, so Gemini's own prompts before each tool still apply.Antigravity's own settings apply.

If a settings file is not valid JSON, Liamia says so in one sentence and changes nothing. Use whichever app your Google account works with; Liamia connects both.

Using it

What to ask, and the command-line way

Things to ask Gemini

  • “What needs a reply today?”
  • “Find the boarding pass for Friday's flight.”
  • “Which subscriptions renew this month?”

Prefer the terminal?

Connect does this for you. To add the same helper to Gemini CLI by hand, for every folder:

gemini mcp add --scope user Liamia /Applications/Liamia.app/Contents/MacOS/mailbridge-mcp

What Google sees: the emails Gemini reads go to Google under the terms of your Gemini or Antigravity account. Gemini in Gmail is a different product that works inside Gmail; see how they compare.

What it will never do

You stay in charge of your mail

  • Never sends without your click. Every email waits in a Liamia dialog that shows the exact recipient, subject and text. Only your click on Send sends it. No setting, tool or license skips it.

  • Never asks for your mail password. Liamia reads the files Apple Mail already keeps on your Mac, through Full Disk Access that you switch on. It holds no password and no sign-in token for your mail.

  • Never uploads your email to Liamia. Our server only checks your license and offers updates. With the local AI, your mail stays on your Mac. An assistant you connect, like Claude, gets only the messages it reads.

Questions

Short answers

Does the Gemini app on the web or my phone work with Liamia?

No. Liamia's helper runs on your Mac, so it needs Gemini CLI or Antigravity on the same Mac as Apple Mail.

Should I use Gemini CLI or Antigravity?

Use the one your Google account already works with. Liamia has a separate Connect button for each, because they read different settings files.

Will Gemini run Liamia's tools without asking?

Liamia does not mark itself as trusted in Gemini CLI, so Gemini's own prompts before each tool still apply. Sending always needs your click in Liamia's dialog, whatever Gemini is set to.

Is this the same as Gemini in Gmail?

No. Gemini in Gmail is Google's AI inside Gmail. Liamia connects Gemini CLI or Antigravity on your Mac to Apple Mail, so it covers every IMAP account in Mail, not only Gmail.

Do I need a Gemini API key for Liamia?

Liamia needs no key. Gemini CLI and Antigravity sign in the way Google sets them up, and Liamia only adds itself as a local tool.

Try it on your own inbox

Every feature, free for 7 days. No card, no sign-up, nothing sends without your click.