# YAMM MCP

Source: https://yamm.com/help/mcp/

YAMM MCP enables an AI assistant with an MCP client, for example [Claude](https://support.claude.com/en/articles/11175166-getting-started-with-custom-connectors-using-remote-mcp) or [ChatGPT](https://help.openai.com/en/articles/12584461-developer-mode-and-mcp-apps-in-chatgpt), to use the YAMM service to create, send, and track mail merges with Gmail.

## Install

Add YAMM MCP to your MCP client with this URL:

```text
https://mcp.yamm.com/mcp
```

YAMM MCP is a remote MCP, so there's nothing to download.

Tip: Also connect your MCP client to Google Sheets and Gmail. YAMM MCP doesn't browse your files: the AI assistant uses those connectors to find your Google Sheets spreadsheet and Gmail draft and show you what will be sent.

## Connect

After you add YAMM MCP to your MCP client, you're asked to sign in with Google.

- **If you already use YAMM:** Sign in with the Google account you use with YAMM. Emails are sent from this account, with your plan and daily quota.
- **If you don't have a YAMM account yet:** Sign in with the Google account you want to send from. YAMM creates your account at sign-in, so you don't need to install the add-on first.

In both cases, grant YAMM the requested permissions. For more information about why YAMM needs them, see [What permissions are needed to use YAMM?](https://yamm.com/help/resources/data-security-and-policy/data-policy/data-access-what-permissions-are-needed-to-use-yamm/index.md)

Tip: The account you sign in with YAMM can be different from the one your Google Sheets and Gmail connectors use. Before you send, ask the AI assistant which address the emails are sent from, and check that it's the one you expect.

## What YAMM MCP can do

| Tool | What it does |
| - | - |
| `yamm_get_account` | Shows the email address you're connected with, your plan, your quota of recipients per 24 hours, and how many recipients you can still send to right now. |
| `yamm_send_test_email` | Sends a test email to your own address, built from your Gmail draft and the first row below the header in your sheet. Each test email counts as one recipient in your quota. |
| `yamm_send_gmail_mail_merge` | Sends personalized emails to the addresses in your sheet, built from your Gmail draft. Tracking is on by default. |
| `yamm_get_mail_merge` | Reports how a mail merge is going and how many emails were sent. With tracking on, also reports how many were opened, clicked, replied to, and bounced, plus unsubscribes and poll answers. |
| `yamm_get_help_links` | Gives the AI assistant short answers and links to YAMM help pages. |

A typical request looks like this:

```text
Send personalized emails to the contacts in my "Spring event" spreadsheet, using my "Invitation" draft in Gmail.
```

The AI assistant first sends you a test email so you can check how it looks, and starts the mail merge only once you confirm. Once started, a mail merge can't be stopped.

YAMM MCP can't:

- Send from a Gmail alias.
- Send personalized attachments.
- Send to filtered or hidden rows, or to addresses that bounced or unsubscribed in an earlier YAMM mail merge.

## FAQ

### How do I find my Gmail draft ID?

You don't need to. Connect your MCP client to Gmail, and the AI assistant finds the ID of the draft you name.

### How does the AI assistant find my spreadsheet?

Connect your MCP client to Google Sheets or Google Drive, and the AI assistant finds the spreadsheet you name. If you don't connect either one, open the spreadsheet on the sheet you want to use, copy the URL from your browser's address bar, and paste it in the conversation.

## Troubleshooting

| Problem | What to do |
| - | - |
| Sign-in doesn't start, or fails | Disconnect and reconnect YAMM MCP in your MCP client's settings, then try again. |
| The emails are sent from the wrong address | Disconnect YAMM MCP, reconnect it, and sign in with the Google account you want to send from. |
| The AI assistant asks which sheet to use | Your spreadsheet has several sheets. Open the spreadsheet on the sheet you want to use, copy the URL from your browser's address bar, and paste it in the conversation. If your MCP client is connected to Google Sheets, you can also give the sheet's name. |
| Markers aren't replaced in the email | Check that each marker matches a column name in your sheet. For more information, see [Personalize your emails](https://yamm.com/help/usage/create-campaign/personalize-content/index.md). |
| Your quota is lower than your plan allows | If your Google Workspace account is new, Google limits how many emails it can send, and YAMM caps your quota at 400 recipients per 24 hours, even on a Pro plan. For more information, see [Why is your quota lower than expected?](https://yamm.com/help/usage/troubleshooting/quota-issues/index.md#why-is-your-quota-lower-than-expected) |
| The AI assistant asks whether to send only part of your list | You don't have enough quota left for every row. Confirm to send what your quota allows now, and ask the AI assistant to send the rest later. For more information, see [I don't have enough quota to complete my mail merge](https://yamm.com/help/usage/troubleshooting/quota-issues/index.md#i-dont-have-enough-quota-to-complete-my-mail-merge). |
| The mail merge stopped before every row was sent | If you ran out of quota, [upgrade to Pro](https://yamm.com/help/admin/billing/upgrade-space-plan-to-pro/index.md) to get more, or ask the AI assistant to send the rest later, once you have quota again. Emails already sent don't go out again. If YAMM stopped it because of too many bounces, check the email addresses in your sheet first. For more information, see [Quota issues](https://yamm.com/help/usage/troubleshooting/quota-issues/index.md). |
| The AI assistant asks you to reconnect YAMM MCP | Your Google connection to YAMM no longer works. Disconnect and reconnect YAMM MCP in your MCP client's settings, then ask the AI assistant to send the rest of the mail merge. |

To disconnect YAMM from your Google account completely, see [Revoke YAMM permissions](https://yamm.com/help/usage/setup/revoke-yamm-permissions/index.md).

## Billing

YAMM MCP is part of the YAMM service and follows the same pricing and billing. Mail merges you send through YAMM MCP use your YAMM plan and the same daily quota as the add-on. For more information about plans and quotas, see [YAMM pricing](https://yamm.com/pricing) and [Your daily quota](https://yamm.com/help/resources/daily-quota/index.md).
