Gandi Mail + AI

Connect Gandi Mail to Claude,
Cursor, ChatGPT, any MCP client

Give your AI agent a real Gandi inbox. Read, search, send, reply, schedule and organize mail over IMAP with the password set on the mailbox itself, not on your Gandi account.

Claude cannot reach a Gandi mailbox on its own. mcpemails is a hosted MCP server that connects it over IMAP at mail.gandi.net on port 993, authenticating with the entire email address and the password defined on that mailbox, which Gandi keeps separate from your gandi.net account password. Claude, Cursor or any MCP client can then read, search, send and organize the mail. There is no app password to generate and no per-mailbox IMAP toggle to find. One inbox is free, forever.

1 inbox free, forever Mailbox password, not the account login Email fetched live, never stored

How Gandi Mail connects: IMAP and the mailbox password

Gandi serves both protocols from one hostname: mail.gandi.net, port 993 for IMAP with implicit TLS and port 465 for SMTP, also implicit TLS. That single host covers every Gandi mailbox regardless of which domain the address sits under. Gandi's documentation is explicit that the username is the entire email address, including the part after the at sign, and that the password is the one you defined when the mailbox was created. Gandi states in its own docs that the password for a Gandi email address is separate from the password for your Gandi account, which is what allows you to hand a colleague a mailbox without handing them your registrar login. SMTP requires authentication with the same credentials.

The exact Gandi IMAP and SMTP settings

Copy these into the connect form. mcpemails prefills them where it can, and retries the other standard transport if the first does not answer.

ProtocolServerPortSecurity
IMAP (incoming)mail.gandi.net993TLS (implicit)
SMTP (outgoing)mail.gandi.net465TLS (implicit)

Verified 2026-08-31: mail.gandi.net answered a TLS connection and identified itself as an IMAP server under that name. It advertises PLAIN authentication.

Sign in with: The entire email address, including @yourdomain.tld.

What your AI can do

A Gandi inbox your agent can actually use

Nine action-based MCP tools, not just drafts. Your agent finishes the job inside Gandi.

  1. 01Read

    Read & search mail

    List, read and search across folders to find that invoice, summarize a thread, or pull the latest from a sender.

  2. 02Send

    Send, reply & forward

    Compose and send real messages, reply in-thread, and forward, directly from your mailbox, not as a draft you finish by hand.

  3. 03Schedule

    Schedule for later

    Queue a message to go out at the right time, so your agent can draft now and send on schedule.

  4. 04Organize

    Move, copy, flag, archive, delete

    Keep the inbox tidy: file mail into folders, flag what matters, archive the rest, or delete on request.

Setup

Connect Gandi in four steps

From sign-up to first AI email in a couple of minutes.

01

Create your free mcpemails account

Sign up at mcpemails.com. The free plan connects one inbox forever and does not ask for a card.

02

Set the mailbox password in the Gandi admin

Log in at gandi.net, choose Domains in the left menu, select the domain the address belongs to, and open its Email tab. Click the mailbox, or its three-dot menu, then Manage, and use Change next to Password in the Configuration section. You can also change it from Settings, Password inside Gandi's Roundcube webmail.

03

Paste it into mcpemails

Choose IMAP / SMTP, enter the complete address, and paste the mailbox password. The host mail.gandi.net and ports 993 and 465 are prefilled and were verified from a live TLS connection.

04

Paste the MCP URL into your AI

Drop https://mcpemails.com/api/mcp into Claude, Cursor or ChatGPT, authorize, and your agent has the inbox.

Before you start

What actually goes wrong with Gandi

Gandi's email 2FA covers webmail only, and cannot cover IMAP

If you turned on two-factor authentication for a Gandi mailbox, it applies to the SOGo and Roundcube webmail portals and nowhere else. Gandi's documentation says directly that 2FA can only be used through its webmail portals and that email clients such as Thunderbird or Outlook are not supported, and that disabling POP, IMAP and SMTP is the only way to fully secure the mailbox with 2FA. Two practical consequences. First, having 2FA on does not stop mcpemails connecting: the mailbox password still authenticates over IMAP. Second, if you have deliberately disabled the IMAP protocol on the mailbox in order to make that 2FA meaningful, no client can connect until you re-enable it.

Free mailboxes ended in 2023, and old addresses may simply be gone

Gandi used to include two mailboxes free for the life of a domain registration. That offer closed on 30 November 2023 and mailboxes became a separately priced service. Addresses that were never converted to the paid plan no longer exist, so an IMAP login for one fails with an authentication error rather than anything that says the mailbox was retired. If a Gandi address you last used years ago refuses to log in, check the Email tab of the domain before assuming a password problem.

The username is the full address, and the IMAP server offers AUTH=PLAIN only

Gandi rejects a bare local part as the username, which trips up anyone migrating settings from a host that accepted one. Separately, the IMAP server advertises AUTH=PLAIN and no AUTH=LOGIN, so a client or library hard-wired to the LOGIN mechanism fails at the authentication step with an unhelpful error. The SMTP side accepts both mechanisms, so the same account can succeed at sending while failing to read.

Known limits with Gandi

  • The server does not advertise MOVE or UIDPLUS, so moving a message is performed as copy, flag and expunge, and the destination UID has to be found by searching.
  • SPECIAL-USE is absent, so Sent, Drafts, Trash and Junk are matched by name. On a French-language Gandi mailbox those are commonly Envoyes, Brouillons, Corbeille and Indesirables.
FAQ

Gandi and AI: common questions

Does Claude work with Gandi Mail?

Not on its own. Claude has no built-in Gandi connector. Pointing an MCP server such as mcpemails at your Gandi mailbox over IMAP gives Claude read, search, send, reply, schedule and organize access to it, and the same connection works from Cursor, ChatGPT and other MCP clients.

What are the Gandi IMAP and SMTP settings?

Both use the same hostname, mail.gandi.net. IMAP is port 993 with implicit TLS and SMTP is port 465, also implicit TLS, with authentication required. The username is the entire email address including the domain, and the password is the mailbox password. The host was confirmed from a live TLS connection.

Why is my Gandi password rejected?

Almost always because you entered your gandi.net account password. Gandi keeps the mailbox password separate so that mailboxes can be delegated without sharing registrar access. Set or reset it under Domains, your domain, the Email tab, then Manage on the mailbox. Check also that you typed the complete address as the username.

Does Gandi need an app password?

No. Gandi does not issue app-specific passwords for mail. The mailbox password is what IMAP and SMTP accept, and it works whether or not two-factor authentication is enabled on the webmail portals, since that 2FA does not extend to client protocols.

Is my Gandi mail stored on your servers?

No. Messages are fetched live from Gandi over IMAP for each request and handed to your AI client. Credentials are encrypted at rest and message bodies are not retained.

Give your AI a Gandi inbox

Connect a Gandi mailbox in minutes. One inbox free forever, no card required.