App email

Turn on App email, verify a sender domain, use templates and send from your app with a key.

Last updated

App email sends through Amazon SES in Mumbai (ap-south-1), from a sender domain you verify.

Open App email in your project. Its tabs are App email, Templates, Delivery logs, Receiving, API requests, Metrics, Webhooks and Settings.

Get started

  1. Choose Turn on App email.
  2. Add and verify a sender domain (below).
  3. Choose Send test email to send yourself a message, now or scheduled, with or without a template. Send batch test sends several at once.
  4. Follow each message in Delivery logs. A message's page shows its timeline; a scheduled send can be cancelled.

Sender domain

To send from your own address, add an email domain and open its page. It shows the DKIM, SPF and DMARC records to add at your DNS provider. Choose Check records. The domain can be used as a sender once its records are verified. To see what any domain publishes before or after you add the records, use the free email DNS checker. To see whether a delivered message passed SPF, DKIM and DMARC, paste its headers into the free email header analyzer.

Templates

Templates lets you create, edit and publish templates with {{variables}}. HTML variable values are escaped.

Keys

The project's server key can send and read email. For a narrower key, create one under Settings with Full or Sending access and, optionally, a domain it may send from. The key is a project key (daster_sk_dev_…), shown once. Revoke stops it in every list. Older daster_comm_… keys keep working.

A key that can send works for the HTTP API below and as the password for SMTP.

Warning: Browser keys (daster_pk_…) cannot send email. Send from your server.

Send from your app

HTTP
POST https://app.daster.io/communications/v1/projects/{projectId}/email/send
Authorization: Bearer daster_sk_dev_…
Idempotency-Key: welcome-user-42
Content-Type: application/json

{
  "from": "hello@example.com",
  "to": "user@example.com",
  "subject": "Welcome",
  "text": "Thanks for signing up."
}

You can send html, a templateId with variables, cc, bcc, replyTo, tags and scheduledAt instead of or beside text. A custom from must use a verified sender domain of the project. The SDK wraps this call.

attachments is a list of { "filename", "contentType", "contentBase64" }: at most 10 files, 5 MiB each and 10 MiB in all. The content is wiped once the email is sent.

Limits

LimitValue
Per project environment200 emails a UTC day, 5,000 a UTC month
Per organization, across all projects200 a day, 5,000 a month

Every send, SMTP message, batch item, campaign test send and campaign recipient counts. A send past a limit is refused with 429 email_quota_exceeded, with details saying which limit, how many were used and when it resets. Metrics shows today and this month for the project and the organization.

Suppressions and webhooks

  • Suppressions lists addresses that will not receive email. You can add and remove them; complaints are handled by DASTER support.
  • Webhooks sends delivery events to your endpoint. The signing secret is shown once. You can see attempts and replay them.

Receiving lets your app get email at inbound.<your domain>: see Receive email.

Note: Not available yet: API requests, rescheduling, renaming a key, webhook test events and secret rotation, sender identities, the visual template editor's history, and the daily chart with opens and clicks.