@resonia/veilmail-mcp
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@@resonia/veilmail-mcpSend an email to user@example.com subject 'Test'"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
@resonia/veilmail-mcp
A Model Context Protocol (MCP) server that exposes Veil Mail API operations as tools for AI agents. This allows AI assistants like Claude, ChatGPT, Cursor, and other MCP-compatible clients to send emails, manage templates, work with audiences, and retrieve analytics through natural language.
Veil Mail is the only email API with a first-class MCP server. Resend, SendGrid, Mailgun, and Postmark don't offer MCP integrations — connecting them to Claude or Cursor requires hand-building a server. This one ships as
npx @resonia/veilmail-mcpand drops straight into Claude Desktop or any MCP client with a single config entry. Ten tools covering emails, domains, templates, audiences, campaigns, and analytics.Related: Veil Mail Node.js SDK · Full MCP docs · AI assistant integration guides
Installation
npm install @resonia/veilmail-mcpOr run directly with npx:
npx @resonia/veilmail-mcpRelated MCP server: Email MCP
Configuration
The server requires a Veil Mail API key to authenticate requests. Set it via the VEILMAIL_API_KEY environment variable.
Variable | Required | Default | Description |
| Yes | - | Your Veil Mail API key (e.g., |
| No |
| Custom API base URL (useful for self-hosted instances) |
You can obtain an API key from the Veil Mail Dashboard.
Usage with Claude Desktop
Add the following to your claude_desktop_config.json:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"veilmail": {
"command": "npx",
"args": ["@resonia/veilmail-mcp"],
"env": {
"VEILMAIL_API_KEY": "veil_live_xxxxx"
}
}
}
}Restart Claude Desktop after updating the configuration. You should see the Veil Mail tools available in the tools menu.
Usage with Other MCP Clients
Any MCP-compatible client can use this server. Start it as a subprocess communicating over stdio:
VEILMAIL_API_KEY=veil_live_xxxxx npx @resonia/veilmail-mcpAvailable Tools
send_email
Send an email via Veil Mail. Supports HTML content, templates, attachments, and scheduling.
Parameter | Type | Required | Description |
| string | Yes | Sender email address (must be from a verified domain) |
| string | Yes | Recipient email address |
| string | Yes | Email subject line |
| string | No | HTML content of the email |
| string | No | Plain text fallback content |
| string | No | Template ID to use instead of html/text |
| object | No | Data to populate template variables |
| string | No | CC recipient email address |
| string | No | BCC recipient email address |
| string | No | Reply-to email address |
| string | No | ISO 8601 datetime to schedule the email |
get_email
Get details of a sent email by ID.
Parameter | Type | Required | Description |
| string | Yes | Email ID |
list_emails
List sent emails with optional filters.
Parameter | Type | Required | Description |
| number | No | Number of emails to return (max 100) |
| string | No | Filter by status: queued, sent, delivered, bounced, failed |
validate_email
Validate an email address. Checks syntax, MX records, disposable domain, and role address.
Parameter | Type | Required | Description |
| string | Yes | Email address to validate |
list_templates
List available email templates.
Parameter | Type | Required | Description |
| number | No | Number of templates to return |
get_template
Get a specific email template by ID.
Parameter | Type | Required | Description |
| string | Yes | Template ID |
list_domains
List verified sending domains. No parameters required.
list_audiences
List email audiences/contact lists. No parameters required.
add_subscriber
Add a subscriber to an audience.
Parameter | Type | Required | Description |
| string | Yes | Audience ID to add the subscriber to |
| string | Yes | Subscriber email address |
| string | No | Subscriber first name |
| string | No | Subscriber last name |
get_analytics
Get email analytics overview including delivery rates, opens, clicks, and bounces.
Parameter | Type | Required | Description |
| number | No | Number of days to look back (default: 30) |
Example Interactions
Once configured, you can ask your AI assistant things like:
"Send a welcome email to user@example.com from hello@mydomain.com"
"List all my email templates"
"Show me email analytics for the past 7 days"
"Validate the email address test@example.com"
"Add john@example.com to my newsletter audience"
"What's the delivery rate for my recent emails?"
Security Considerations
Never expose API keys in prompts or conversation history. Always use environment variables.
Use test mode keys (
veil_test_xxxxx) during development to avoid sending real emails.Review email content before sending. The AI assistant will use the
send_emailtool, so verify recipient addresses and content are correct.Scope API keys appropriately. Create dedicated API keys for MCP usage with only the permissions needed.
Rotate keys regularly. If you suspect an API key has been compromised, rotate it immediately in the Veil Mail dashboard.
Development
# Clone the repository
git clone https://github.com/resonia/veil-mail.git
cd veil-mail/packages/mcp-server
# Install dependencies
bun install
# Build
bun run build
# Run locally
VEILMAIL_API_KEY=veil_test_xxxxx node dist/index.js
# Type check
bun run typecheck
# Watch mode
bun run devLicense
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Resonia-Health/veilmail-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server