mailintel
F
privacyfastmail

Fastmail IMAP and SMTP settings

Fastmail supports IMAP, SMTP, JMAP and CalDAV on its own infrastructure. App passwords are required when 2FA is enabled.

Connection
IMAP host
imap.fastmail.com

port 993 · SSL/TLS

SMTP host
smtp.fastmail.com

port 465 · SSL/TLS

Username

your full email address
password: mailbox password
Setup

Connect in three steps

  1. 1

    Create an app password in Fastmail → Settings → Privacy & Security → App Passwords.

  2. 2

    Use the full address as the username.

  3. 3

    Prefer JMAP if you're building a new client — it's Fastmail's modern API.

Watch out

What usually breaks

  • Fastmail requires app passwords when two-step verification is enabled (and encourages it always).

  • Custom domains hosted on Fastmail still use fastmail.com hosts.

Detect it

Resolve it instead of hardcoding it

A custom domain on Fastmail has the same MX infrastructure as the consumer product. That is what mailintel reads.

fastmail.ts
import { mailintel } from "mailintel";

const result = await mailintel("[email protected]");

result.provider;              // "fastmail"
result.connection.imap;       // { host: "imap.fastmail.com", port: 993, security: "tls" }
result.connection.smtp;       // { host: "smtp.fastmail.com", port: 465, security: "tls" }
result.connection.username;   // "[email protected]"
FAQ
What is Fastmail's IMAP server?+

imap.fastmail.com on port 993 using SSL/TLS. The username is the full email address.

What is Fastmail's SMTP server?+

smtp.fastmail.com on port 465 using SSL/TLS. Most clients also accept the alternate submission port with STARTTLS.

Does Fastmail need an app password?+

Not necessarily — a regular mailbox password works, though a dedicated app password is still a good idea if the provider offers one.