Skip to content

Bubble plugin · Email

The Bubble Rich Postmark emails plugin in Next.js

Server-side calls to the Postmark API.

Converts

By The deBub teamUpdated

On this page

01What it becomes

Server-side calls to the Postmark API. Postmark’s send actions become server code calling Postmark’s REST API, with the server token in an environment variable.

No extra npm package: the generated code uses React, Next.js and browser APIs only.

02What converts

  • Send email (text or HTML, cc, bcc, reply-to, stream, files, tracking)
  • Send template email with a template model

03What you set up

  • Set POSTMARK_SERVER_TOKEN in your hosting’s environment variables.
  • Emails sent from page workflows are flagged in your report: Bubble computed recipients and texts on its server, so review who may trigger them.

04About this plugin

Rich Postmark emails.

Questions

Does the Rich Postmark emails plugin work outside Bubble?
Not as it is: Bubble plugins only run inside Bubble. In a Next.js app it is replaced by generated code — Server-side calls to the Postmark API.
Will my Rich Postmark emails settings carry over?
Yes. deBub reads the plugin’s settings, conditions and workflows from your .bubble export and converts all of the plugin’s parts. Secret keys are the exception: you add them as environment variables.

The deBub team

We build the Bubble → Next.js compiler behind deBub. Spotted something out of date? Write to hello@debub.io.

All 45 plugins

Server-side email sending through SendGrid or Postmark

Partly converts · 2 of 9 parts

SendGrid

Copilot / withcopilot.com

Server-side calls to the SendGrid API

Converts

Typed server-side functions in src/server/api-connector.ts

Converts

Toolbox

Not Quite Unicorns

Components and browser helpers; your own JavaScript runs in the browser as before

Partly converts · 9 of 10 parts

Leave Bubble.
Keep building.

The scan is free and shows your exact price. No card needed until you choose to generate.

Start with a free scan