PushFyreAccelerate. Ignite. Broadcast.

Email campaigns

Send email campaigns from your own domain, with tracking, unsubscribe and bounce handling built in.

Email goes out through Amazon SES, managed by PushFyre. Each app sends from its own authenticated domain, signed with DKIM. An email subscriber is a subscription of the app, next to its Android, iOS and web subscriptions, so segments, frequency capping and reports work the same way.

1. Authenticate a sending domain

  1. Open Settings → Email settings → Senders and choose Set up authenticated sender.
  2. Enter a sending domain (a subdomain such as mail.yourdomain.com keeps your main domain's reputation separate), the sender email on that domain and the sender name.
  3. Add the three DKIM CNAME records shown at your DNS provider. The _dmarc TXT record is recommended.
  4. Choose Verify DNS. DNS changes usually show up within an hour and can take up to 72 hours.

On the same page, set an optional Reply-to address and the Mailing address. The mailing address is added to the footer of every email, as CAN-SPAM requires.

2. Collect email addresses

Add an address only after the person agreed to receive email from you. The SDK does not show a consent dialog.

  • Web: PushFyre.setEmail("name@example.com"), and PushFyre.removeEmail("name@example.com") to stop.
  • Android: PushFyre.setEmail(context, "name@example.com") and PushFyre.removeEmail(context, "name@example.com").
  • iOS: PushFyre.setEmail("name@example.com") and PushFyre.removeEmail("name@example.com").
  • After login, the address is linked to that external user id.
  • Server: POST /api/v1/email/api/subscribers with your API key and { "email": "name@example.com", "externalUserId": "user-42" }.
  • Portal: Audience → Email Subscribers adds one address or imports a CSV with email and external_user_id columns.
An address that unsubscribed or reported spam stays unsubscribed when it is added again. Only a portal user can resubscribe it.

3. Design the message

Open Messages → Email → New email. The page is four parts: the audience (including a segment to leave out), the verified sender and reply-to, the message, and an optional schedule.

The canvas has three tabs:

  • Content — drag a title, paragraph, list, image, button, divider, spacer, social, HTML, video, icons, menu or GIF block into a column, or click it to add a row.
  • Rows — column layouts, from one column to four. Each column starts with a paragraph you can type in.
  • Settings — content width, left or center alignment, background colors, the default font, and the link color.

Select a title, paragraph, or list and type in the block. The toolbar sets font, size, bold, italic, underline, strikethrough, color, alignment, and lists on the words you select, plus a link, an image, a table, {{email}}, and {{unsubscribe_url}}. Save as template keeps the design. Test & preview sends it to one address. HTML is there when you already have markup.

4. Send from the API

Use the send endpoint with channels set to ["email"]. Email does not combine with push, WhatsApp, or an A/B test. payload.title and payload.message are still required; the inbox uses payload.email:

bash
curl -X POST https://push.example.com/api/v1/push/send \
  -H "x-app-id: app_49e692ad" \
  -H "x-api-key: <your-api-key>" \
  -H "x-tenant-id: <your-tenant-id>" \
  -H "Content-Type: application/json" \
  -d '{
    "campaignName": "Spring sale",
    "type": "simple",
    "channels": ["email"],
    "payload": {
      "title": "Spring sale",
      "message": "20% off this week",
      "email": {
        "subject": "Spring sale: 20% off this week",
        "preheader": "Ends Sunday",
        "html": "<h1>Hello {{email}}</h1><p><a href=\"https://shop.example.com/sale\">Shop now</a></p>"
      }
    }
  }'
  • {{email}} is replaced with the subscriber's address.
  • {{unsubscribe_url}} places the unsubscribe link yourself. Without it, a footer with the unsubscribe link and your mailing address is added.
  • Every http and https link is tracked for clicks, and an image pixel records opens.
  • Every email carries List-Unsubscribe and one-click List-Unsubscribe-Post headers, so Gmail and Yahoo show their own unsubscribe button.
  • senderId picks a sender. Without it, the app's default sender is used.
  • segmentId limits the audience. excludeSegmentId removes a second segment from it. Omit both to reach every subscribed address.
  • scheduleAt is an ISO 8601 time. Without it, the campaign sends immediately.

Add a subscriber from your server, after they agree:

bash
curl -X POST https://push.example.com/api/v1/email/api/subscribers \
  -H "x-app-id: app_49e692ad" \
  -H "x-api-key: <your-api-key>" \
  -H "x-tenant-id: <your-tenant-id>" \
  -H "Content-Type: application/json" \
  -d '{ "email": "name@example.com", "externalUserId": "user-42" }'

The same API key headers are used for both calls. From the apps, call PushFyre.setEmail only after consent. Webhooks receive email.delivered, email.opened, email.clicked, email.bounced, email.complained and email.unsubscribed.

Report

Each email campaign has a report with these counts:

CountMeaning
SentAmazon SES accepted the message.
DeliveredThe recipient's mail server accepted it.
Unique opensReaders whose mail app loaded the tracking image. Some mail apps load images automatically, which counts as an open.
Unique clicksReaders who selected a tracked link.
BouncedA permanent bounce. The address is added to the suppression list.
Spam reportsThe reader marked the message as spam. The address is unsubscribed and suppressed.
UnsubscribedThe reader used the unsubscribe link or the mail app's unsubscribe button.

The same events are posted to a webhook you register under Developers.

Suppressions

Settings → Email settings → Suppressions lists bounced addresses, spam reports and addresses you added by hand. A campaign skips every suppressed address and shows the number as Suppressed.

Acceptable use policy

Over the last 7 days and at least 500 sent emails, a bounce rate above 5% or a spam complaint rate above 0.08% pauses email for the app. The Acceptable use policy page shows the rates and the reason, and an organization owner or admin can resume sending after cleaning the list.

Warm-up

A new app sends up to 300 emails on its first day, and the daily allowance grows by a fifth each day. Email over the day's allowance is queued for the next day. The page also shows today's progress.

Frequency capping

Email has its own cap, separate from push, under Acceptable use policy → Email frequency capping.

Follow-ups

An email report can start a follow-up to people who are still subscribed and who were sent the message, confirmed it, did not confirm it, clicked, did not click, or failed. Unsubscribed addresses are left out.

Plan

Free does not include email. Starter includes 10,000 emails a month and Professional includes 50,000. Sending stops for the rest of that plan period when the allowance is used. If a plan does not include email, the portal keeps the page open and asks you to choose a plan that does.