postmark-mcp 1.0.2 → 1.0.7

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.
Files changed (2) hide show
  1. package/index.js +5 -0
  2. 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 = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "postmark-mcp",
3
- "version": "1.0.2",
3
+ "version": "1.0.7",
4
4
  "description": "Universal Postmark MCP server using official SDK",
5
5
  "main": "index.js",
6
6
  "type": "module",