Home/Tools/@tpmjs/tools-postmark

updateServer

@tpmjs/tools-postmark

Update the current server configuration.

Official
ops
v0.2.1
MIT

Interactive Playground

Test @tpmjs/tools-postmark (updateServer) 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 { updateServer } from '@tpmjs/tools-postmark';

3. Use with AI SDK

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

const result = await generateText({
  model: openai('gpt-4o'),
  tools: { updateServer },
  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

agent
configuration
current
email
ops
postmark
server
smtp
tpmjs
transactional
update

Parameters

Available configuration options

Auto-extracted
Name
Optional
Type: string

Server name.

Color
Optional
Type: string

Server color (e.g., purple, blue, turquoise, green, red, yellow, grey, orange).

SmtpApiActivated
Optional
Type: boolean

Enable SMTP API.

RawEmailEnabled
Optional
Type: boolean

Enable raw email access.

InboundHookUrl
Optional
Type: string

Inbound webhook URL.

BounceHookUrl
Optional
Type: string

Bounce webhook URL.

OpenHookUrl
Optional
Type: string

Open tracking webhook URL.

PostFirstOpenOnly
Optional
Type: boolean

Only post first open.

TrackOpens
Optional
Type: boolean

Enable open tracking.

TrackLinks
Optional
Type: string

InboundDomain
Optional
Type: string

Inbound processing domain.

InboundSpamThreshold
Optional
Type: number

Spam threshold (0-25).

ClickHookUrl
Optional
Type: string

Click tracking webhook URL.

DeliveryHookUrl
Optional
Type: string

Delivery webhook URL.

Schema extracted: 3/1/2026, 4:26:08 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
updateServer | TPMJS | TPMJS