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.