postmark-mcp 1.0.2 → 1.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +5 -0
- package/package.json +1 -1
package/index.js
CHANGED
@@ -123,6 +123,11 @@ function registerTools(server, postmarkClient) {
|
|
123
123
|
"sendEmail",
|
124
124
|
{
|
125
125
|
to: z.string().email().describe("Recipient email address"),
|
126
|
+
subject: z.string().describe("Email subject"),
|
127
|
+
textBody: z.string().describe("Plain text body of the email"),
|
128
|
+
htmlBody: z.string().optional().describe("HTML body of the email (optional)"),
|
129
|
+
from: z.string().email().optional().describe("Sender email address (optional, uses default if not provided)"),
|
130
|
+
tag: z.string().optional().describe("Optional tag for categorization")
|
126
131
|
},
|
127
132
|
async ({ to, subject, textBody, htmlBody, from, tag }) => {
|
128
133
|
const emailData = {
|