Messaging

Every message to your users, from one place

Transactional email from an API call, sequences that start when people sign up, newsletters, push to your apps and messages in your messenger. Unsubscribes, bounces and each person's preferences are handled on every send, and your agent sets it up.

How it works

Verify your domain, write the templates, send from your code

  1. 1

    Verify your domain

    Add the domain you send from and Pagebee shows the DNS records, with steps for your DNS host. Marketing can come from its own subdomain, so a newsletter never drags down your password resets.

  2. 2

    Your agent writes the templates

    It finds the emails your app sends today, turns each into a template with {{variables}}, and starts the welcome and trial ending sequences from recipes, as drafts for you to read.

  3. 3

    Send from your code

    One POST per message with your secret key, or let sequences send on their own from your sign-ups and events. Every message lands in the log with what happened to it.

What it replaces

One place instead of three tools and three lists

Most products end up with one service for transactional email, another for onboarding sequences and a third for the newsletter, each with its own copy of your users and its own unsubscribe list. In Pagebee it's one list of contacts, one set of preferences and one log, beside your numbers, your inbox and your feed.

ResendPostmarkSendGridLoopsCustomer.ioMailchimpBeehiivKit

What's in it

  • Transactional email from an API call
  • Templates with {{variables}} and fallbacks
  • A visual block editor, or your own HTML
  • Sequences with waits, branches and goals
  • Recipes: welcome, onboarding, waitlist launch, trial ending, win-back
  • Newsletters and blasts, now or scheduled
  • A public newsletter archive and subscribe form
  • Segments on properties, events and past messages
  • Open, click, conversion and unsubscribe rates
  • A delivery log for every message
  • Preferences per channel and topic
  • Separate transactional and marketing streams
  • Your own sending domain, with guided DNS
  • Push to your iPhone and Android apps
  • In-app messages through the Pagebee messenger
  • AI drafts of emails and subject lines

With your agent

Ask your agent to move your email over

Everything is in the API and the MCP, so your coding agent can write templates, swap your sends for one API call and set up sequences. Read-only keys can check the log and the numbers but send nothing.

  1. > Move our emails to Pagebee Messaging and add a welcome sequence.
  2. Found 4 sends: password reset, sign-in link, receipt and team invite. Writing each as a transactional template.
  3. pagebee · write_message_template password-reset, sign-in-link, receipt, team-invite
  4. Replaced the 4 sends in lib/email.ts with POST /v1/messaging/send, keyed by order and request id.
  5. pagebee · create_sequence_from_recipe welcome: 3 emails over 7 days, ends when plan is pro
  6. pagebee · send_message a test of each template to you
  7. 4 templates and a welcome sequence, as draftsAdd 3 DNS records at Cloudflare to send from tally.studio. Tests are in your inbox

One call per message

From your server, with the site's secret key. A retry with the same idempotency key sends nothing twice.

Send
curl -X POST https://api.pagebee.ai/v1/messaging/send \
  -H "Authorization: Bearer pb_sk_your_secret_key" \
  -H "Content-Type: application/json" \
  -d '{
    "template": "password-reset",
    "to": { "user_id": "u_123", "email": "sam@example.com" },
    "data": { "reset_url": "https://tally.studio/reset/9f2c" },
    "idempotency_key": "reset-9f2c"
  }'
  • Transactional

    Receipts, sign-in links and password resets from one API call, with a template your agent wrote and a log line you can look up when someone says it never came.

  • Sequences

    Start on a sign-up, a waitlist join, an event, a property change or a date. Email, push and in-app steps, waits and branches, and a goal that ends it early.

  • Newsletters and blasts

    Write in the block editor and send to everyone, a segment or a topic, now or at a time you pick. Newsletters get a public archive and a subscribe form.

Every endpoint, the MCP tools and a prompt to paste into your agent: messaging docs .

Questions

Asked often

Do I need my own Resend or mail server?

No. Email goes out through Resend on Pagebee's account, and Pagebee never runs mail servers. You verify your own domain with a few DNS records so mail comes from you.

What does marketing mail get without me writing it?

An unsubscribe link and a preferences link, the one-click unsubscribe headers mail apps use for their own button, and your postal address in the footer. Bounces and spam complaints stop further mail to that address on their own.

Can I send to everyone on day one?

Not all at once. New accounts and sites without a verified domain have a lower daily limit, which rises once your domain is verified and the account has some history. Before a newsletter or blast goes, Pagebee checks the domain, the address, the audience size, the links and the subject, and stops a send that would hurt your sending reputation.

Does it send push and in-app messages too?

Yes. Push goes to your own iPhone and Android apps with your APNs key or Firebase service account. In-app messages arrive in the Pagebee messenger for people signed in to your app.

What about SMS?

Not yet. Contacts can hold a phone number and preferences have an SMS switch, but nothing sends by text today. We'll say on the changelog when it does.

Is it joined to my analytics?

No. Contacts are people you know: your users, waitlist sign-ups and subscribers. They're never joined to anonymous visits, and opens and clicks are counted by Pagebee itself. You can switch either off.

Every message to your users, from one place

Free to 100,000 events a month, on every site you ship. No card.