Fastmail + AI

Connect Fastmail to Claude,
and Cursor, ChatGPT, any MCP client

Give your AI agent a real Fastmail inbox in minutes. Read, search, send, reply, schedule and organize mail with a single app password, and use the same inbox in every MCP client, not just one.

Claude cannot reach Fastmail on its own. mcpemails is a hosted MCP server that connects it over IMAP at imap.fastmail.com on port 993, authenticating with a Fastmail app password rather than your account password, so Claude, Cursor or any MCP client can read, search, send and organize the mail. Fastmail runs a first-party MCP server for Fastmail alone; the reason to use this one instead is that a single URL covers your other mailboxes too. One inbox is free, forever.

1 inbox free, forever App password, no OAuth setup Email fetched live, never stored

How Fastmail connects: an app password

Fastmail connects over IMAP/SMTP using a Fastmail app password. Generate one in Fastmail under Settings → Privacy & Security → Connected apps & API tokens → Manage app passwords and access → New app password, paste it into mcpemails, and you're connected. No OAuth dance, no browser pop-ups.

The exact Fastmail 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)imap.fastmail.com993TLS (implicit)
SMTP (outgoing)smtp.fastmail.com465TLS (implicit)

Verified 2026-08-31: imap.fastmail.com answered a TLS connection and identified itself as an IMAP server under that name. It advertises LOGIN, OAUTHBEARER, PLAIN, XOAUTH2 authentication.

Sign in with: Your full Fastmail address, including the domain: name@fastmail.com, or your own domain if you use one.

What your AI can do

A Fastmail inbox your agent can actually use

Seventeen action-based MCP tools: send, reply, forward, schedule, and organize. Your agent finishes the job inside Fastmail.

  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 Fastmail in four steps

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

01

Create a free account

Sign up for mcpemails, no card required. The free plan connects one inbox, forever.

02

Generate a Fastmail app password

In Fastmail, go to Settings → Privacy & Security → Connected apps & API tokens → Manage app passwords and access → New app password and create one for mail (IMAP/SMTP).

03

Paste it into mcpemails

Add your Fastmail address and the app password to connect the inbox securely.

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.

Several mailboxes

Every Fastmail mailbox your company runs, on one agent

If your company runs more than one address on Fastmail, such as info@, sales@ and invoices@, connect each one to the same mcpemails workspace. Your AI client then reaches all of them through the one MCP URL, in Claude, ChatGPT, Cursor or any other MCP client. Every tool call names the mailbox it acts on, each mailbox keeps its own sender name and signature, and a reply goes out through the mailbox it belongs to.

Free connects one mailbox, Personal three, and Pro every mailbox you run, on one login.

Before you start

What actually goes wrong with Fastmail

Fastmail ships its own MCP server, and it is a good one

In April 2026 Fastmail launched a first-party MCP server at https://api.fastmail.com/mcp, authenticated with OAuth, offering read-only, write or send access and covering mail, calendar and contacts. If Fastmail is the only mailbox you want an assistant to reach, that is the most direct route available and we will say so plainly. mcpemails answers a different question: one MCP URL that holds your Fastmail account and your iCloud, Zoho, Yahoo, GMX or company IMAP mailbox at the same time, with the same tools over all of them, so an agent can search across mailboxes and you configure one server rather than five. Being useful to you matters more here than being flattering to us.

Fastmail Basic accounts cannot use IMAP at all

Fastmail's Basic plan does not include IMAP, POP, SMTP, CalDAV or CardDAV, and accounts on it cannot create app passwords. Webmail and Fastmail's own apps are the whole of it. So if the app-password screen offers you nothing to create, that is the plan rather than a bug, and no amount of retyping the password will help. Standard and Professional accounts have the protocols and can connect.

The app password's access level has to include mail

App passwords are created in Settings, then Privacy & Security, then the Connected apps & API tokens section, then Manage app passwords and access, then New app password. The default access level is Mail, Contacts & Calendars, which is the one IMAP and SMTP need. Choose Files (WebDAV) instead and the password is created perfectly happily and then fails to log in to mail. Fastmail shows the password once, so copy it before you leave the screen, and note that your ordinary Fastmail password will never authenticate a mail client.

Known limits with Fastmail

  • Fastmail Basic does not include IMAP or SMTP, so a Basic mailbox cannot be connected. Standard and Professional can.
  • Fastmail's submission server announces a message ceiling of roughly 71 MB. Attachment reads through mcpemails are capped at 25 MB per request, so anything larger has to be fetched in Fastmail itself.
FAQ

Fastmail and AI: common questions

Does Claude work with Fastmail?

Yes, by two different routes. Fastmail runs its own MCP server that Claude can be pointed at directly with OAuth. Alternatively mcpemails connects the same mailbox over IMAP with an app password and exposes it, together with any other mailboxes you add, through a single MCP URL that also works in Cursor and ChatGPT. Either way Claude can read, search, send, reply and organize the mail.

Should I use Fastmail's own MCP server or this one?

Use Fastmail's if Fastmail is your only mailbox and your client supports it: it is first-party, uses OAuth, and lets you pick read-only, write or send access. Use mcpemails if you want more than one provider behind one URL, if you also have an iCloud, Zoho or work IMAP mailbox, or if you want the same tools to behave identically across several MCP clients.

What are the Fastmail IMAP and SMTP settings?

IMAP is imap.fastmail.com on port 993 with implicit TLS. SMTP is smtp.fastmail.com on port 465, also implicit TLS. The username is your full Fastmail address and the password is an app password, never your account password. Both hosts were confirmed from a live TLS connection on the date shown on this page.

Why is my Fastmail password rejected?

Three causes, in order of likelihood. You are using your account password rather than an app password, which Fastmail never accepts on IMAP or SMTP. The app password was created with the Files access level instead of Mail, Contacts & Calendars. Or the account is on the Basic plan, which does not include IMAP or SMTP at all.

Does this work with a Fastmail custom domain?

Yes. An address on your own domain hosted at Fastmail uses the same imap.fastmail.com and smtp.fastmail.com hosts and the same app password as a fastmail.com address. Enter the full address on your domain as the username. There is no separate hostname to look up and nothing extra to enable.

Is my Fastmail mail stored on your servers?

No. Messages are fetched live from Fastmail over IMAP for each request and handed to your AI client. Credentials are encrypted at rest and message bodies are not retained. Deleting the app password in Fastmail cuts the connection off at their end immediately.

Can I connect several Fastmail mailboxes to the same AI agent?

Yes. Connect each Fastmail address to one mcpemails workspace and your AI client reaches all of them through the same MCP URL. Every tool call names the mailbox it acts on, so a reply to a message in sales@ goes out from sales@. Free connects one mailbox, Personal three, and Pro every mailbox you run.

Give your AI a Fastmail inbox

Connect Fastmail in minutes. One inbox free forever, no card required.