AI on your own key

Run AI on your own Anthropic key, pick a model per feature, or turn it off.

mailset guide ai
5 stepsOn this page
  1. Steps
  2. Setup
  3. 1See where your AI runs
  4. 2Make a key at Anthropic
  5. 3Save the key in Mailset
  6. 4Pick a model per feature
  7. 5Go back or turn AI off
  8. Check
  9. Watch out

Mailset's AI sorts new mail into tabs, checks it for phishing, and on request writes summaries, smart replies, drafts and follow-up checks. By default it runs on Mailset's own key. Every plan includes $5 of AI credit a month, with no rollover; past it, each action has a fixed price:

  • Sorting and the phishing check: $0.50 per 1,000 emails each.
  • Smart replies, follow-up checks and Ask: $1.00 per 1,000.
  • A summary: $0.03. A draft: $0.05.

Owners and admins can move the org's AI to its own Anthropic key, or turn it off.

Steps

  1. Install the CLI and sign in

    Sign inSign in with a passkey

    Press Sign in with a passkey and approve it on this device, your phone or a password manager. Mailset has no passwords.

    Open in Mailset

    The command

    Install the CLI on macOS or Linux with brew install intenseloop/tap/mailset or npm install -g @mailset/cli.

    Run mailset login, open the link it prints and approve with your passkey.

    In a terminal, login also offers your agents the Mailset skill; mailset agents add does it later.

    Install the CLI on macOS or Linux with brew install intenseloop/tap/mailset or npm install -g @mailset/cli.

    Run mailset login, open the link it prints and approve with your passkey.

    In a terminal, login also offers your agents the Mailset skill; mailset agents add does it later.

  2. See where your AI runs

    SettingsAIWhere AI runs

    Where AI runs shows Mailset’s AI, Your own key or Off. This month shows how much of the AI credit the org has used.

    Open in Mailset

    The command

    See where your org's AI runs now: mailset ai status. It names each of your orgs, what runs its AI, and this month's AI credit.

    See where your org's AI runs now: mailset ai status. It names each of your orgs, what runs its AI, and this month's AI credit.

  3. Make a key at Anthropic

    To use your own key, make an API key at console.anthropic.com (Settings, then API keys). Not an Admin API key: it can't call a model.

    Anthropic Console
  4. Save the key in Mailset

    SettingsAIYour own key

    Paste the key and press Check and save, with your passkey. Mailset tries it with one small call, then shows only its last four characters.

    Open in Mailset

    The command

    Run mailset ai key set anthropic with your passkey.

    It never takes the key as an argument, so it stays out of your shell history: at a terminal it asks, and shows nothing as you paste.

    In a script or an agent's shell, pipe it in: pbpaste | mailset ai key set anthropic.

    Mailset checks the key, stores it safely, shows only its last four characters, and runs the org's AI on it.

    Run mailset ai key set anthropic with your passkey.

    It never takes the key as an argument, so it stays out of your shell history: at a terminal it asks, and shows nothing as you paste.

    In a script or an agent's shell, pipe it in: pbpaste | mailset ai key set anthropic.

    Mailset checks the key, stores it safely, shows only its last four characters, and runs the org's AI on it.

  5. Pick a model per feature

    SettingsAIModels

    Pick a model beside each feature, and see its estimated cost for a month at your volume. Picks apply only on your own key.

    Open in Mailset

    The command

    Pick a model per feature, if you like. mailset ai models lists each feature (Sorting, Phishing check, Summaries, Smart replies, Drafts, Follow-ups, Ask, and Chat, not out yet), its model and a month's cost at your volume.

    Change one with mailset ai models set summaries --model claude-opus-5-5; --model default goes back.

    Picks apply only on your own key; on Mailset's, Mailset picks each model.

    Pick a model per feature, if you like. mailset ai models lists each feature (Sorting, Phishing check, Summaries, Smart replies, Drafts, Follow-ups, Ask, and Chat, not out yet), its model and a month's cost at your volume.

    Change one with mailset ai models set summaries --model claude-opus-5-5; --model default goes back.

    Picks apply only on your own key; on Mailset's, Mailset picks each model.

  6. Go back or turn AI off

    SettingsAIWhere AI runs

    Choose Mailset’s AI to go back to Mailset’s key, or Off to stop all AI for the org. Your saved key stays until you remove it.

    Open in Mailset

    The command

    To go back to Mailset's key, run mailset ai source mailset. To stop all AI for the org, run mailset ai source off.

    To go back to Mailset's key, run mailset ai source mailset. To stop all AI for the org, run mailset ai source off.

The web app has the same in Settings, on your org's side, under AI.

Check

mailset ai status names your own key as what runs the org's AI, with its last four characters and the word works. New mail lands in its tabs within a minute or so, and mailset ai models shows this month's calls on your key.

Watch out

  • If Anthropic refuses the key (revoked, deleted) or its account can't pay, the org's AI pauses, and owners and admins get a notice in their mailbox and a banner in the web app. Mail keeps arriving; Sorting falls back to headers and your own rules. Mailset never moves you to its own key by itself. Set a new key (mailset ai key set anthropic), or add credit at Anthropic and run mailset ai key check anthropic.
  • If Anthropic asks Mailset to slow down, calls wait and try again later. Nothing pauses.
  • Sorting reads every new arrival, so a bigger model there costs the most. mailset ai models warns when you pick one.
  • Anthropic bills calls on your own key, at its prices. Mailset shows them for you to follow, but never bills them or counts them against your credit.
  • Removing the key (mailset ai key remove anthropic, passkey) leaves the org with no AI until you add another or pick Mailset's.