---
title: "Connect to Claude"
description: "Add Mailmark to Claude as an MCP connector and manage your email by asking Claude."
source: "https://www.mailmark.dev/docs/claude"
site: "Mailmark"
---

# Connect to Claude

Mailmark has a remote MCP server at `https://www.mailmark.dev/mcp`. Add it to Claude as a connector, sign in with your Mailmark account, and you can run your email by asking Claude.

## What you can do

Claude works with the same account, limits and rules as your dashboard. For example:

- "Summarise the unread mail in hello@acme.com and draft replies to anything urgent."
- "Add acme.io, then tell me which DNS records I still need to create."
- "Create a three-step follow-up campaign from sales@acme.com, two days apart."
- "Why did my last send to ada@example.org bounce? Is she suppressed?"
- "How is warmup going for every mailbox? Speed up the ones above 90% inbox placement."

## Connect in Claude (web, desktop and mobile)

1. In Claude, open **Settings** and go to **Connectors**.
2. Click **Add custom connector**. Name it `Mailmark` and set the URL to `https://www.mailmark.dev/mcp`. Leave the advanced OAuth fields empty.
3. Click **Connect**. A Mailmark sign-in window opens: sign in with the account you use for the dashboard and allow access.
4. In a chat, open the tools menu and make sure Mailmark is switched on.

On Team and Enterprise plans, an owner adds the connector once under Organization settings, then each member connects their own Mailmark account from their Connectors settings.

## Connect in Claude Code

```bash
claude mcp add --transport http mailmark https://www.mailmark.dev/mcp
```

Then run `/mcp` inside Claude Code, pick `mailmark` and choose **Authenticate** to sign in. Any other MCP client that supports Streamable HTTP and OAuth works the same way.

## What Claude asks first

Every tool runs as you, through the same checks as the dashboard: you only see your own domains and mail, plan limits apply, and suppressed or invalid recipients are blocked from sends.

Tools that email real people (send, schedule, create a campaign with recipients, enroll contacts) and tools that delete things are marked as such, so Claude shows you the recipients and content and asks before running them. You can also set each tool to "always ask" or turn it off in the connector's settings in Claude.

## All tools

### Account

- `get_account_overview`: Who is signed in, their plan and subscription status, usage against plan limits (domains, mailboxes, sends), sending controls, and overall email stats. A good first call.

### Domains

- `list_domains`: All custom domains on the account with their verification status.
- `get_domain`: One domain in detail: verification state, DNS records it needs, its mailboxes, and its latest deliverability health checks.
- `add_domain`: Adds a custom domain (e.g. acme.com) to Mailmark. Returns the DKIM tokens; call get_domain afterwards for the full list of DNS records the user must create, then verify_domain once they are published.
- `verify_domain`: Re-checks a domain's DNS records (verification, DKIM, MX, SPF, MAIL FROM) and reports what is still missing.
- `retry_mail_from_verification`: Retries the custom MAIL FROM subdomain setup for a domain whose MAIL FROM verification failed.
- `set_domain_postal_address`: Sets the physical postal address that campaign emails from this domain include in their footer (required by CAN-SPAM).
- `remove_domain`: Permanently removes a domain and everything under it: its mailboxes, their stored email, and its sending identity. Cannot be undone. Confirm with the user first.

### Mailboxes

- `list_mailboxes`: Every mailbox (email address) on the account, across all domains, with unread counts.
- `create_mailbox`: Creates a mailbox on a verified domain. Pass only the part before the @, e.g. "hello" for hello@acme.com.
- `update_mailbox`: Changes a mailbox's display name and/or email signature (HTML or plain text).
- `delete_mailbox`: Permanently deletes a mailbox and all of its stored email. Cannot be undone. Confirm with the user first.

### Inbox

- `list_emails`: Lists emails in one folder of a mailbox, newest first. Folders: inbox, sent, outbox (scheduled), trash. Returns summaries; use read_email for the body.
- `read_email`: Opens one email: headers, the full body as readable text, and the attachment list. Set markAsRead to also mark it read, as opening it in the dashboard does.
- `count_emails`: How many emails a mailbox has in a folder, and how many are unread.
- `update_email`: Marks an email read or unread, stars or unstars it, or moves it to another folder (inbox or trash).
- `mark_all_read`: Marks every unread email in a mailbox's inbox as read.
- `delete_email`: Permanently deletes an email. To keep it recoverable, use update_email with moveTo "trash" instead.

### Sending

- `send_email`: Sends an email from one of the user's mailboxes right away. The body may be HTML or plain text; the mailbox signature is applied as in the dashboard. Recipients go through the same suppression and verification checks. Show the user the draft and get a yes before sending.
- `schedule_email`: Schedules an email to send later. It waits in the mailbox's outbox until then and can be cancelled with cancel_scheduled_email. Show the user the draft and time before scheduling.
- `cancel_scheduled_email`: Cancels an email waiting in the outbox before it is sent.

### Contacts

- `list_contacts`: The account's contacts (people it has emailed or imported), a page at a time.
- `list_recipients`: Everyone the account has sent mail to, with per-recipient delivery history, a page at a time.

### Campaigns

- `list_campaigns`: All campaigns (multi-step email sequences) with their status and enrollment counts.
- `get_campaign`: One campaign: its steps and status, plus a page of its enrollments (who is in it and where they are).
- `create_campaign`: Creates a campaign: an ordered list of email and delay steps sent from one mailbox. If contacts are given, they are enrolled and the first email goes out immediately; otherwise the campaign is created empty and enroll_in_campaign adds people later. Review the steps and recipients with the user before creating one with contacts.
- `enroll_in_campaign`: Adds people to an existing campaign. They start at the first step. Confirm the list with the user first.
- `set_campaign_status`: Pauses, resumes or cancels a campaign. "cancel" stops it for good and cannot be undone.
- `remove_from_campaign`: Stops one enrollment so that person receives no further steps of the campaign.

### Sender groups

- `list_sender_groups`: Saved recipient lists (sender groups) on a domain.
- `save_sender_group`: Creates a saved recipient list for a mailbox, or replaces the name and members of an existing one (pass groupId).
- `delete_sender_group`: Deletes a saved recipient list. The contacts themselves are kept.

### Warmup

- `list_warmup`: Every mailbox in inbox warmup, with its speed, status, daily volume and inbox-placement rate.
- `get_warmup_history`: Day-by-day warmup results and the most recent warmup emails for one warming mailbox.
- `start_warmup`: Starts inbox warmup for a mailbox, which builds sender reputation by exchanging mail with the warmup pool.
- `update_warmup`: Pauses or resumes warmup for a mailbox, or changes its speed.

### Deliverability

- `get_deliverability`: The latest health check for each domain (DNS, blocklists, authentication) and unsubscribe stats.
- `list_suppressions`: Addresses Mailmark will not send to (hard bounces, complaints, manual blocks), a page at a time.
- `check_suppression`: Whether a single address is suppressed, and why.
- `update_suppression`: Adds an address to the suppression list ("suppress") or releases it so mail can go to it again ("release"). Only release an address the user says is valid again.
- `list_unsubscribes`: People who unsubscribed from campaign mail, a page at a time.
- `update_unsubscribe`: Records that an address unsubscribed from a domain ("add", needs domainId), or removes an unsubscribe record ("remove", needs unsubscribeId). Only remove one when the person has asked to be resubscribed.
- `list_blocked_sends`: Sends that Mailmark's send gate refused (invalid, risky or suppressed recipients), with the reason, a page at a time.
- `verify_email_addresses`: Checks whether addresses are deliverable (valid, invalid, catch-all, unknown) before sending to them.
- `update_sending_controls`: Account-wide sending switches: pause or resume all outgoing mail, pause or resume warmup, and the verification policy for catch-all and unknown addresses.

### Developer

- `list_api_keys`: The account's active REST API keys (name, prefix, scope, last used). The secret itself is never shown again after creation.

## Disconnecting

Remove the connector in Claude's Connectors settings (or `claude mcp remove mailmark` in Claude Code). Claude stops being able to reach your account straight away; nothing in Mailmark changes.

---

Mailmark - email hosting and campaigns for your own domain. Canonical page: https://www.mailmark.dev/docs/claude | [llms.txt](https://www.mailmark.dev/llms.txt) | [OpenAPI](https://www.mailmark.dev/openapi.json) | [sitemap](https://www.mailmark.dev/sitemap.xml)
