Mail

Install the email CLI and MCP server

Install the Mail CLI with npm, check the Node.js version and run doctor.

Install mail once on each computer where you or an agent use it. You need Node.js 22.16 or a later 22.x, or 24 or later; Node 23 is not supported.

npm install -g @wirecat/mail-cli
mail --version

Check the installation:

mail doctor

doctor needs no network and opens no keyring. It shows the version, where settings live, the profiles that exist, and whether other users of the computer can read the settings.

Then connect a mailbox. You choose the profile name, the first word of every command:

mail personal session start --address me@example.com
mail personal account check
mail personal sync              # the last 30 days

Search your mail

After sync, the mail is in the shared store, and mail searches it:

mail personal search messages invoice

The query words are in Search your mail. Memo searches every mailbox together with your messages and notes.

Next: everyday use.