Home/Tools/@tpmjs/tools-postmark

createServer

@tpmjs/tools-postmark

Create a new server in the account.

Official
ops
v0.2.1
MIT

Interactive Playground

Test @tpmjs/tools-postmark (createServer) with AI-powered execution

0/2000 characters

Installation & Usage

Install this tool and use it with the AI SDK

1. Install the package

npm install @tpmjs/tools-postmark
pnpm add @tpmjs/tools-postmark
yarn add @tpmjs/tools-postmark
bun add @tpmjs/tools-postmark
deno add npm:@tpmjs/tools-postmark

2. Import the tool

import { createServer } from '@tpmjs/tools-postmark';

3. Use with AI SDK

import { generateText } from 'ai';
import { openai } from '@ai-sdk/openai';
import { createServer } from '@tpmjs/tools-postmark';

const result = await generateText({
  model: openai('gpt-4o'),
  tools: { createServer },
  prompt: 'Your prompt here...',
});

console.log(result.text);

Signature

(Name: string, Color?: string, TrackLinks?: string, TrackOpens?: boolean, OpenHookUrl?: string, ClickHookUrl?: string, BounceHookUrl?: string, InboundDomain?: string, InboundHookUrl?: string, DeliveryHookUrl?: string, RawEmailEnabled?: boolean, SmtpApiActivated?: boolean, PostFirstOpenOnly?: boolean, InboundSpamThreshold?: number) => Promise<unknown>

Tags

account
agent
create
email
new
ops
postmark
server
smtp
tpmjs
transactional

Parameters

Available configuration options

Auto-extracted
Name
Required
Type: string

Server name.

Color
Optional
Type: string

Server color.

SmtpApiActivated
Optional
Type: boolean

RawEmailEnabled
Optional
Type: boolean

InboundHookUrl
Optional
Type: string

BounceHookUrl
Optional
Type: string

OpenHookUrl
Optional
Type: string

PostFirstOpenOnly
Optional
Type: boolean

TrackOpens
Optional
Type: boolean

TrackLinks
Optional
Type: string

InboundDomain
Optional
Type: string

InboundSpamThreshold
Optional
Type: number

ClickHookUrl
Optional
Type: string

DeliveryHookUrl
Optional
Type: string

Schema extracted: 2/28/2026, 4:01:22 AM

README

ERROR: No README data found!

Statistics

Downloads/month

178

GitHub Stars

14

Quality Score

89%

Bundle Size

NPM Keywords

tpmjs
postmark
email
transactional
smtp
agent

Maintainers

thomasdavis(thomasalwyndavis@gmail.com)

Frameworks

vercel-ai