SMTP MCP Server

send-email

Send an email to one or more recipients

Input Schema

NameRequiredDescriptionDefault
bccNoArray of BCC recipients
bodyYesEmail body (HTML supported)
ccNoArray of CC recipients
fromNoSender information. If not provided, the default SMTP user will be used.
smtpConfigIdNoID of the SMTP configuration to use. If not provided, the default configuration will be used.
subjectYesEmail subject
templateDataNoData to be used for template variable substitution
templateIdNoID of the email template to use. If not provided, the email will use the subject and body provided.
toYesArray of recipients

Input Schema (JSON Schema)

{ "properties": { "bcc": { "description": "Array of BCC recipients", "items": { "properties": { "email": { "type": "string" }, "name": { "type": "string" } }, "required": [ "email" ], "type": "object" }, "type": "array" }, "body": { "description": "Email body (HTML supported)", "type": "string" }, "cc": { "description": "Array of CC recipients", "items": { "properties": { "email": { "type": "string" }, "name": { "type": "string" } }, "required": [ "email" ], "type": "object" }, "type": "array" }, "from": { "description": "Sender information. If not provided, the default SMTP user will be used.", "properties": { "email": { "type": "string" }, "name": { "type": "string" } }, "type": "object" }, "smtpConfigId": { "description": "ID of the SMTP configuration to use. If not provided, the default configuration will be used.", "type": "string" }, "subject": { "description": "Email subject", "type": "string" }, "templateData": { "description": "Data to be used for template variable substitution", "type": "object" }, "templateId": { "description": "ID of the email template to use. If not provided, the email will use the subject and body provided.", "type": "string" }, "to": { "description": "Array of recipients", "items": { "properties": { "email": { "type": "string" }, "name": { "type": "string" } }, "required": [ "email" ], "type": "object" }, "type": "array" } }, "required": [ "to", "subject", "body" ], "type": "object" }