> Documentation index: https://metorial.com/llms.txt. Every page is available as Markdown by adding .md to its URL.

# Set up Mailsoftly in Metorial for Claude, ChatGPT and Cursor
URL: https://metorial.com/docs/integrations/mailsoftly
Last updated: 2026-11-24

Share Mailsoftly with your team in Claude, ChatGPT and Cursor through Metorial: API key sign-in, 14 tools (7 read-only).

---

To give your team Mailsoftly in Claude, ChatGPT, Cursor and other AI clients, an admin shares the Mailsoftly integration in a Metorial portal, and each person connects with an API key. Agents can create, manage, and search contacts for email marketing campaigns. The integration has 14 tools, 7 read-only, 6 write and 1 destructive, plus 1 trigger.

**What you will learn**

- How an admin shares Mailsoftly in a portal and how each person connects
- What Mailsoftly asks for when you connect, and where to find it
- How to keep the 7 read-only tools and reject the other 7

**Before you start**

- A [portal](https://metorial.com/docs/platform/workforce/portals) with at least one access group
- An API key from Mailsoftly for each person, or one for a shared connection
- For the CLI steps: the [Metorial CLI](https://metorial.com/docs/platform/cli), signed in to your portal

## Sign-in method

| Method | Type | What a person provides |
| --- | --- | --- |
| **API Key** | API token | `apiKey` |

### API Key

To connect, a person enters:

- `apiKey`: Your Mailsoftly API key. Found in your Mailsoftly account settings.

## Admin: share Mailsoftly in a portal

### In the dashboard

1. **Open Shared Resources**

   Open **Workforce**, choose the portal, and select **Shared Resources** under **Access**.

2. **Share a new integration**

   Select **Share a Resource**, then **New Integration**, and choose Mailsoftly. For how members connect, choose **Each person connects** so everyone enters their own API key, or **Shared connection** to enter one API key for everyone.

3. **Limit the tools**

   Under **Tool Filters**, set the write and destructive groups to **Reject** if agents should only read from Mailsoftly.

4. **Choose who gets it**

   Add the access groups that should see Mailsoftly. When a person asks for access from the portal, the request appears under **Access Requests**.

### With the CLI

The CLI cannot create the per-user Mailsoftly integration. Once it exists, check which groups have it:

```bash
metorial-admin portals access list <portal-id> --type provider_template --search mailsoftly
```

## Employee: connect Mailsoftly

### In the portal

1. **Open Mailsoftly in the catalog**

   Sign in to your portal and open Mailsoftly. The status reads **Available**.

2. **Authenticate**

   Under **Quick setup**, select **Authenticate**. In the setup window, enter your API key (apiKey).

3. **Confirm**

   The status changes to **Configured**. If it later reads **Needs reconnect**, select **Reconnect** and sign in again.

### With the CLI

```bash
metorial catalog search mailsoftly
metorial setup <catalog-item-id>
```

`catalog search` prints the catalog item ID. 

### Add it to your AI client

`metorial install` adds your Mailsoftly connection to a local MCP client such as Claude Code, Cursor or Codex. `metorial list` prints the integration ID and `metorial client list` the client identifiers.

```bash
metorial list mailsoftly
metorial client list
metorial install <client-identifier> <integration-id>
```

For a client that takes a server URL, such as ChatGPT, `metorial install custom <integration-id>` creates an installation token and shows the endpoint details.

## Make it read-only

Open the integration's **Tool Filters** and set the write and destructive groups to **Reject**. Agents keep the 7 read-only tools, such as `get_contacts` and `list_senders`, and lose the 6 write tools, such as `manage_tags` or `manage_contact_lists`, and the destructive tool `send_email`.

Employees see the result on the integration's page in the portal under **Tool access**. For the full walkthrough, see [Tool permissions](https://metorial.com/docs/platform/guides/tool-permissions).

## Check it worked

```bash
metorial list mailsoftly
metorial tools <integration-id>
metorial call <integration-id> get_contacts -d '{}'
```

`metorial tools` lists the 14 tools, minus any you rejected. `get_contacts` takes no input. 

To see every input a tool takes, run `metorial schema <integration-id> <tool-key>`.

## Tools

### Read-only tools (7)

- `get_email_campaigns`: Retrieves a page of email campaigns for the firm, or checks the status of a specific email draft by its ID. - Omit **emailId** to list a page of email campaigns; use hasMore to continue. - Provide an **emailId** to fetch the status and readiness of a specific email draft.
- `get_contacts`: Retrieves contacts from Mailsoftly.
- `search_contacts`: Searches contacts in Mailsoftly by exact email, first name, or last name.
- `get_contact_fields`: Retrieves all available contact fields for the firm, including standard and custom fields.
- `get_current_account`: Identifies the connected Mailsoftly account and retrieves its plan limits, sending channels, and any sending restrictions.
- `get_campaign_statistics`: Retrieves delivery and engagement counts and rates for a campaign, including opens, clicks, bounces, unsubscribes, and complaints.
- `list_senders`: Lists the account's available campaign sender addresses and default sender.

### Write tools (6)

- `create_email_campaign`: Creates a new email campaign draft in Mailsoftly. Needs `subject`.
- `manage_contact_list_members`: Add contacts to a contact list or retrieve a page of contacts in a list. - Provide **contactListId** alone to retrieve a page of contacts in that list; use hasMore to continue. - Provide **contactId** to add a single existing contact to the list. - Provide **contacts** array to add one or more contacts in bulk (contacts will be created if they don't exist). Needs `contactListId`.
- `add_custom_field_to_contact`: Adds a custom field with a value to an existing contact. Needs `contactId`, `fieldName` and `fieldValue`.
- `create_or_update_contact`: Creates a new contact or updates an existing one in Mailsoftly. Needs `email`.
- `manage_contact_lists`: Create, retrieve, or list contact lists in Mailsoftly.
- `manage_tags`: Retrieve all tags for the firm or assign tags to a contact. - Omit **contactId** to list all available tags. - Provide **contactId** with a single tag (**tagId** or **tagName**) to assign one tag. - Provide **contactId** with a **tagsToAssign** array to assign multiple tags at once.

### Destructive tools (1)

- `send_email`: Sends an existing email draft in Mailsoftly. Needs `emailId`.

## Triggers

Mailsoftly has 1 trigger, which fire on events in Mailsoftly:

- `inbound_webhook`

## Next steps

- [Claude Code](https://metorial.com/docs/platform/clients/claude-code), [Cursor](https://metorial.com/docs/platform/clients/cursor), [Codex](https://metorial.com/docs/platform/clients/codex) and [ChatGPT](https://metorial.com/docs/platform/clients/chatgpt): connect each client to your portal and use Mailsoftly there
- [Tool permissions](https://metorial.com/docs/platform/guides/tool-permissions): tool filters and what employees see
- [Mailsoftly on metorial.com](https://metorial.com/integrations/mailsoftly): the integration overview