SMTP Email MCP Server
A Model Context Protocol (MCP) server that provides email sending capabilities for Claude and other MCP-compatible AI assistants.
Features
- Multiple SMTP Configurations: Configure and manage multiple SMTP servers
- Email Templates: Create, update, and use reusable email templates
- Bulk Email Sending: Send emails to multiple recipients with batching and rate limiting
- HTML Support: Full HTML support for rich email content
- Logging: Comprehensive logging of all email activities
- Template Variables: Dynamic content using template variables
Installation
Usage
Starting the Server
Configuration
Add the server to your MCP configuration:
Available Tools
send-email
Send an email to one or more recipients.
Parameters:
to
: Array of recipients with email and optional namesubject
: Email subjectbody
: Email body (HTML supported)from
: (Optional) Sender email and namecc
: (Optional) CC recipientsbcc
: (Optional) BCC recipientstemplateId
: (Optional) ID of a template to usetemplateData
: (Optional) Data to populate template variablessmtpConfigId
: (Optional) ID of the SMTP configuration to use
send-bulk-emails
Send emails to multiple recipients in batches.
Parameters:
recipients
: Array of recipients with email and optional namesubject
: Email subjectbody
: Email body (HTML supported)from
: (Optional) Sender email and namecc
: (Optional) CC recipientsbcc
: (Optional) BCC recipientstemplateId
: (Optional) ID of a template to usetemplateData
: (Optional) Data to populate template variablesbatchSize
: (Optional) Number of emails to send in each batchdelayBetweenBatches
: (Optional) Delay in milliseconds between batchessmtpConfigId
: (Optional) ID of the SMTP configuration to use
get-smtp-configs
Get all configured SMTP servers.
Parameters: None
add-smtp-config
Add a new SMTP server configuration.
Parameters:
name
: Name for the configurationhost
: SMTP server hostnameport
: SMTP server portsecure
: Whether to use SSL/TLSauth
: Authentication credentials (user and pass)isDefault
: (Optional) Whether this is the default configuration
update-smtp-config
Update an existing SMTP server configuration.
Parameters:
id
: ID of the configuration to updatename
: Name for the configurationhost
: SMTP server hostnameport
: SMTP server portsecure
: Whether to use SSL/TLSauth
: Authentication credentials (user and pass)isDefault
: (Optional) Whether this is the default configuration
delete-smtp-config
Delete an SMTP server configuration.
Parameters:
id
: ID of the configuration to delete
get-email-templates
Get all email templates.
Parameters: None
add-email-template
Add a new email template.
Parameters:
name
: Template namesubject
: Email subject templatebody
: Email body template (HTML supported)isDefault
: (Optional) Whether this is the default template
update-email-template
Update an existing email template.
Parameters:
id
: ID of the template to updatename
: Template namesubject
: Email subject templatebody
: Email body template (HTML supported)isDefault
: (Optional) Whether this is the default template
delete-email-template
Delete an email template.
Parameters:
id
: ID of the template to delete
get-email-logs
Get logs of sent emails.
Parameters: None
Example Usage
- Configure an SMTP server:
- Create an email template:
- Send an email using a template:
- Send bulk emails:
Requirements
- Node.js 14+
- Nodemailer for email sending
- Access to an SMTP server
License
MIT
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
Ermöglicht das Senden von E-Mails über SMTP mit Vorlagenverwaltung, unterstützt mehrere SMTP-Konfigurationen, die Erstellung von Vorlagen mit Variablenersetzung und das Senden von Massen-E-Mails mit Ratenbegrenzung.
Related Resources
Related MCP Servers
- AsecurityFlicenseAqualityProvides an interface to manage email marketing, contact lists, dynamic templates, and email analytics via SendGrid's API.Last updated -18
- AsecurityAlicenseAqualityProvides IMAP and SMTP capabilities, enabling developers to manage email services with seamless integration and automated workflows.Last updated -473BSD 3-Clause
- AsecurityAlicenseAqualityManage your emails effortlessly with a standardized interface for drafting, sending, retrieving, and organizing messages. Streamline your email workflow with complete Gmail API coverage, including label and thread management.Last updated -6415629MIT License
- -securityAlicense-qualityAn MCP server implementation that enables sending emails via Postmark email services with features for sending plain text/HTML emails, using templates, tracking delivery statistics, and listing available templates.Last updated -22MIT License