← Postmark

Send Single Email with Postmark API

Pipedream makes it easy to connect APIs for Postmark and 1200+ other apps remarkably fast.

Trigger workflow on
HTTP requests, schedules and app events
Next, do this
Send Single Email with the Postmark API
No credit card required
Into to Pipedream
Watch us build a workflow
Watch us build a workflow
7 min
Watch now ➜

Trusted by 500,000+ developers from startups to Fortune 500 companies

Adyen logo
Brex logo
Carta logo
Checkr logo
Chameleon logo
DevRev logo
LinkedIn logo
Netflix logo
New Relic logo
OnDeck logo
Replicated logo
Scale AI logo
Teamwork logo
Warner Bros. logo
Xendit logo

Developers Pipedream

Getting Started

Create a workflow to Send Single Email with the Postmark API. When you configure and deploy the workflow, it will run on Pipedream's servers 24x7 for free.

  1. Configure the Send Single Email action
    1. Configure Subject
    2. Optional- Configure HTML Body
    3. Optional- Configure Text Body
    4. Connect your Postmark account
    5. Configure "From" email address
    6. Configure Recipient email address(es)
    7. Optional- Configure CC email address(es)
    8. Optional- Configure BCC email address(es)
    9. Optional- Configure Tag
    10. Optional- Configure "Reply To" email address
    11. Optional- Configure Custom Headers
    12. Optional- Configure Track Opens
    13. Optional- Select a Track Links
    14. Optional- Configure Attachments
    15. Optional- Configure Metadata
    16. Optional- Configure Message stream
  2. Select a trigger to run your workflow on HTTP requests, schedules or app events
  3. Deploy the workflow
  4. Send a test event to validate your setup
  5. Turn on the trigger


Send an Email with Postmark to a Single Recipient with Postmark API on New Requests (Payload Only) from HTTP / Webhook API
HTTP / Webhook + Postmark
Try it
Send an Email with Postmark to a Single Recipient with Postmark API on New Item in Feed from RSS API
RSS + Postmark
Try it
Send an Email with Postmark to a Single Recipient with Postmark API on New Message from Discord API
Discord + Postmark
Try it
Send an Email with Postmark to a Single Recipient with Postmark API on New Message In Channels from Slack API
Slack + Postmark
Try it
Send an Email with Postmark to a Single Recipient with Postmark API on New Message in Channel from Discord Bot API
Discord Bot + Postmark
Try it


This is a pre-built, source-available component from Pipedream's GitHub repo. The component is developed by Pipedream and the community, and verified and maintained by Pipedream.

To contribute an update to an existing component or create a new component, create a PR on GitHub. If you're new to Pipedream component development, you can start with quickstarts for trigger span and action development, and then review the component API reference.

Send Single Email on Postmark
Description:Send a single email with Postmark [(See docs here)](https://postmarkapp.com/developer/api/email-api#send-a-single-email)


import common from "../common.mjs";

export default {
  key: "postmark-send-single-email",
  name: "Send Single Email",
  description: "Send a single email with Postmark [(See docs here)](https://postmarkapp.com/developer/api/email-api#send-a-single-email)",
  version: "0.2.0",
  type: "action",
  props: {
    subject: {
      type: "string",
      label: "Subject",
      description: "Email subject.",
    htmlBody: {
      type: "string",
      label: "HTML Body",
        `HTML email message.
        **Required** if no \`Text Body\` is specified.
        **Required** to enable \`Open Tracking\`.`,
      optional: true,
    textBody: {
      type: "string",
      label: "Text Body",
        `Plain text email message.
        **Required** if no \`HTML Body\` is specified.`,
      optional: true,
    // The above props are intentionally placed first
  async run({ $ }) {
    const data = {
      Subject: this.subject,
      HtmlBody: this.htmlBody,
      TextBody: this.textBody,
    const response = await this.postmark.sendSingleEmail($, data);
    $.export("$summary", "Sent email successfully");
    return response;


This component may be configured based on the props defined in the component code. Pipedream automatically prompts for input values in the UI and CLI.

Email subject.

HTML BodyhtmlBodystring

HTML email message.

Required if no Text Body is specified.

Required to enable Open Tracking.

Text BodytextBodystring

Plain text email message.

Required if no HTML Body is specified.

PostmarkpostmarkappThis component uses the Postmark app.
"From" email addressfromEmailstring

The sender email address. Must have a registered and confirmed Sender Signature. To include a name, use the format 'Full Name <sender@domain.com>' for the address.

Recipient email address(es)toEmailstring

Recipient email address. Multiple addresses are comma separated. Max 50.

CC email address(es)ccEmailstring

Cc recipient email address. Multiple addresses are comma separated. Max 50.

BCC email address(es)bccEmailstring

Bcc recipient email address. Multiple addresses are comma separated. Max 50.


Email tag that allows you to categorize outgoing emails and get detailed statistics.

"Reply To" email addressreplyTostring

Reply To override email address. Defaults to the Reply To set in the sender signature.

Custom HeaderscustomHeadersstring[]

List of custom headers to include.

Track OpenstrackOpensboolean

Activate open tracking for this email.

Note: the email must have HTML Body to enable open tracking.

Track LinkstrackLinksstringSelect a value from the drop down menu:NoneHtmlAndTextHtmlOnlyTextOnly

Each attachment should be a string with the parameters separated by a pipe character |, in the format: Name|Content|ContentType. Alternatively, you can pass a string representing an object. All three parameters are required:

Name - the filename with extension, i.e. readme.txt

Content - the base64-encoded string with the binary data for the file, i.e. dGVzdCBjb250ZW50

ContentType - the MIME content type, i.e. text/plain

Example with pipe-separated parameters: readme.txt|dGVzdCBjb250ZW50|text/plain

Example with JSON-stringified object: {"Name":"readme.txt","Content":"dGVzdCBjb250ZW50","ContentType":"text/plain"}


Custom metadata key/value pairs.

Message streammessageStreamstring

Set message stream ID that's used for sending. If not provided, message will default to the outbound transactional stream.


Postmark uses API keys for authentication. When you connect your Postmark account, Pipedream securely stores the keys so you can easily authenticate to Postmark APIs in both code and no-code steps.

About Postmark

Application Email Service with Exceptional Delivery

More Ways to Use Postmark


New Email Opened from the Postmark API

Emit new event when an email is opened by a recipient (See docs here)

Try it
New Inbound Email Received from the Postmark API

Emit new event when an email is received by the Postmark server (See docs here)

Try it


Send Email With Template with the Postmark API

Send a single email with Postmark using a template (See docs here)

Try it

Explore Other Apps

apps by most popular

HTTP / Webhook
HTTP / Webhook
Get a unique URL where you can send HTTP or webhook requests
Anything you can do with Node.js, you can do in a Pipedream workflow. This includes using most of npm's 400,000+ packages.
Anything you can do in Python can be done in a Pipedream Workflow. This includes using any of the 350,000+ PyPi packages available in your Python powered workflows.
Trigger workflows on an interval or cron schedule.
Data Stores
Data Stores
Use Pipedream Data Stores to manage state throughout your workflows.
Telegram Bot
Telegram Bot
Telegram is a cloud-based instant messaging and voice over IP service
OpenAI (ChatGPT)
OpenAI (ChatGPT)
OpenAI is an AI research and deployment company with the mission to ensure that artificial general intelligence benefits all of humanity. They are the makers of popular apps like ChatGPT and DALL·E 2.
Google Sheets
Google Sheets
With Google Sheets, you can create, edit, and collaborate wherever you are
Use this app to create a Discord source that emits messages from your guild to a Pipedream workflow.
Where the world builds software. Millions of developers and companies build, ship, and maintain their software on GitHub—the largest and most advanced development platform in the world.
Pre-built actions to make formatting and manipulating data within your workflows easier.
Slack is a channel-based messaging platform. With Slack, people can work together more effectively, connect all their software tools and services, and find the information they need to do their best work — all within a secure, enterprise-grade environment.