# Mailjet MCP

> Mailjet connects your entire email marketing operation to any AI client. Use this MCP to manage everything from sending high-volume transactional emails to tracking complex campaign performance, all through natural conversation. You can build templates, list audience groups, create new contacts, and pull deep analytics on opens, clicks, and bounces without ever leaving your agent interface.

## Overview
- **Category:** marketing-automation
- **Price:** Free
- **Tags:** transactional-email, contact-management, template-builder, email-analytics, api-integration, marketing-campaigns

## Description

Managing email outreach used to mean jumping between a dashboard for stats, another tool for lists, and yet a third place just to send the message. Now, you talk to your AI client instead. This MCP lets you manage all those functions using simple language. You can ask it to list saved templates or get detailed account analytics instantly. Need to onboard a new user? Just tell your agent to run `send_plain_email` with the specific details. Want to check how last month's big promotion performed? Ask for campaign stats and get them via `get_campaign_performance`. The MCP handles the complexity, so you keep focusing on the message. Connecting through Vinkius means you can access this power from any compatible client, making email operations feel less like a series of clicks and more like a single conversation.

## Tools

### subscribe_to_list
Adds a specific email address to an existing contact list.

### create_new_contact
Adds a brand new individual email address to your overall contact database.

### get_campaign_performance
Retrieves detailed performance stats for a specific campaign ID, including opens and clicks.

### get_account_analytics
Provides an overall summary of your current account usage and sending history.

### get_template_details
Retrieves the full HTML content for a specific email template ID.

### list_sent_campaigns
Generates a list of all past campaigns you have run through Mailjet.

### list_contact_groups
Retrieves the names and IDs of all defined contact lists or groups.

### list_all_contacts
Lists every individual email address currently stored in your audience database.

### list_sender_domains
Checks and reports on all the sending domains associated with your Mailjet account.

### list_email_templates
Lists all saved, reusable email templates available in your account.

### send_plain_email
Dispatches a simple, text-only transactional email to one or more recipients.

### send_template_email
Sends an email using a pre-built template and populating variables like names and dates.

## Prompt Examples

**Prompt:** 
```
Show sending statistics and contact list summary.
```

**Response:** 
```
Sending (7 days): 18,400 emails. Delivered: 18,032 (98% ✅). Opens: 6,624 (36%). Clicks: 1,472 (8%). Bounced: 184 (1%). Blocked: 92 (0.5%). Spam: 12 (0.07%). Contact lists: 5. 'Newsletter' (8,200), 'Customers' (3,400), 'Leads' (2,100), 'Partners' (450), 'Beta' (340). Total: 14,490.
```

**Prompt:** 
```
List email templates and send a transactional email.
```

**Response:** 
```
Templates: 8. 'Welcome Email' (ID: 1234, used 5.2K times). 'Order Confirmation' (ID: 1235, 3.8K). 'Password Reset' (ID: 1236, 2.1K). 'Invoice' (ID: 1237, 1.2K). 4 others. Email sent! ✅ Template: 'Welcome Email'. To: sarah@company.com. Variables: {name: 'Sarah', plan: 'Pro'}. Status: Queued → Sent (0.3s).
```

**Prompt:** 
```
Show campaign performance and bounce analysis.
```

**Response:** 
```
Campaigns (last 5): 'April Newsletter' (8,200 sent, 38% open, 9% click ⭐). 'Product Launch' (3,400, 42% open, 12% click ⭐). 'Webinar Invite' (2,100, 35% open). 2 others. Bounce analysis: Total: 184 (1%). Hard: 45 (mailbox not found). Soft: 139 (temp issues). Top domains: gmail.com (8 bounces), outlook.com (12).
```

## Capabilities

### Manage Contact Lists
Add new contacts, subscribe users to specific lists, or list all audience groups in one command.

### Analyze Campaign Performance
Pull detailed statistics on past campaigns, including open rates, clicks, and bounce reasons.

### Handle Email Templates
View saved templates or retrieve the full content for a specific design to reuse it in new messages.

### Send Different Types of Emails
Dispatch both personalized template emails and simple, transactional plain text messages.

### View Account Health Metrics
Get an overview of your overall account statistics or check which sending domains you are authorized to use.

## Use Cases

### Need to announce a major product update immediately.
The Marketing Manager asks the agent: 'Send an announcement email to all active customers using the 'Product Launch' template.' The agent uses `send_template_email` and automatically populates variables like customer name and plan level. Done in one turn.

### Running a list hygiene audit.
The Ops Specialist asks: 'Show me all contacts who haven't opened an email in 90 days, and check the primary contact groups.' The agent first runs `list_all_contacts` and then filters the data based on group information from `list_contact_groups`.

### Debugging a failed campaign.
The Marketing Manager asks: 'What were the bounces and spam reports for the last mailing?' The agent uses `get_campaign_performance`, providing detailed metrics that show if the problem was hard bounces or poor domain reputation.

### Onboarding a new user into a system.
A Developer needs to send a welcome message. They prompt: 'Send a simple, plain-text email to the new client.' The agent uses `send_plain_email` instantly, guaranteeing transactional reliability without needing a template.

## Benefits

- Stop manually checking dashboards. You can ask your agent to run `get_campaign_performance` or `list_sent_campaigns` and get a concise summary of results immediately.
- Never miss an opportunity to segment users. Use the MCP tools like `list_contact_groups` before sending, ensuring you only target groups ready for your message.
- Speed up development cycles. Developers can use the `send_plain_email` or `send_template_email` tools directly in their agent code flow instead of writing complex HTTP calls.
- Maintain high deliverability. Before launching a major campaign, check your sending authority by using `list_sender_domains` to confirm domain status.
- Streamline content creation. Instead of rebuilding emails, you can list all saved templates with `list_email_templates` and pull the exact code needed for reuse.

## How It Works

The bottom line is you control complex email operations by talking to them, instead of clicking through multiple web pages.

1. Subscribe to this MCP and provide your Mailjet API Key and Secret Key credentials.
2. Connect the MCP to your preferred AI client (like Claude or Cursor).
3. Ask your agent directly: 'What were the performance metrics for the Q2 newsletter?' — and get a natural language answer.

## Frequently Asked Questions

**How do I check if my sending domains are correct using Mailjet MCP?**
You run `list_sender_domains`. This tool checks and reports on all the authorized domains associated with your account, letting you confirm who can send emails from that address.

**Can I use Mailjet MCP to segment my audience before sending?**
Yes. You first run `list_contact_groups` to see all available lists, and then target your sends using the appropriate group name or ID when calling a send function.

**What is the difference between `send_plain_email` and `send_template_email` with Mailjet MCP?**
Plain email uses simple text variables, perfect for transactional confirmations. Template email requires you to select a pre-designed template from your list of saved templates.

**How do I get analytics data using the Mailjet MCP?**
Use `get_campaign_performance` and provide the specific Campaign ID. This tool pulls detailed statistics, including opens, clicks, and bounce breakdowns for that run.

**Does Mailjet MCP handle creating new contacts?**
Yes, you use the `create_new_contact` tool to add a single email address directly into your main contact database via your agent.