Free email API and SMTP: 5,000 emails a month

Send 5,000 emails free every month with the DASTER email API or SMTP. Send from your own verified domain, up to 200 emails a day, with delivery logs.

Last updated

Every DASTER account can send 5,000 emails free every month. Your app sends sign-up, receipt and password reset emails over an HTTP API or over SMTP at smtp.daster.io. You send from your own domain once its SPF and DKIM records are verified, up to 200 emails a day, and every message shows in Delivery logs.

What is free?

Send 5,000 emails free every month. This is part of every DASTER account. The free emails are for App email: the messages your app sends to one person at a time, such as a welcome email, a sign-in link, a receipt or an alert.

  • The HTTP API and SMTP share one queue, so the same limits and delivery logs apply to both.
  • Sender domains with the DNS records to add and a Check records button.
  • Templates with {{variables}}, scheduled sends, cc, bcc and up to 10 attachments through the API.
  • Delivery logs, Suppressions and signed Webhooks for delivery events.

What are the limits?

We keep the limits plain, so you know what to expect before you write any code.

LimitValue
Each month5,000 emails
Each day200 emails
New accounts, days 1 to 250 emails a day
New accounts, days 3 to 6100 emails a day
From day 7200 emails a day
SMTP1 recipient per message, 256 KiB, 60 messages a minute
  • Verified domain only. You send from a domain you own, after its SPF and DKIM records are verified. We recommend a DMARC record too.
  • Bounces and complaints. If 5% or more of your emails bounce, or 0.1% or more are marked as spam, sending pauses by itself. This protects your domain and every other sender.
  • No spam. Spam and email to people who did not ask for it are not allowed under the Acceptable Use Policy.
  • Server only. Browser keys (daster_pk_…) cannot send email. Send from your server.

A send past the daily or monthly limit is refused with 429, and the reply says which limit was reached and when it resets.

  1. Turn on App email

    Open App email in your project and choose Turn on App email.

  2. Verify your domain

    Add your email domain and open its page. It shows the DKIM, SPF and DMARC records to add at your DNS provider. Add them, then choose Check records. Once SPF and DKIM are verified, you can send from any address on that domain. Send test email sends you a first message.

  3. Get a key

    The project's server key can send email. For a narrower key, open App email › Settings and create one with Sending access. The key (daster_sk_dev_…) is shown once. Keep it on your server.

  4. Send with the HTTP API

    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."
    }

    The same call with curl:

    Terminal
    curl -X POST "https://app.daster.io/communications/v1/projects/$DASTER_PROJECT_ID/email/send" \
      -H "Authorization: Bearer $DASTER_EMAIL_KEY" \
      -H "Idempotency-Key: welcome-user-42" \
      -H "Content-Type: application/json" \
      -d '{"from":"hello@example.com","to":"user@example.com","subject":"Welcome","text":"Thanks for signing up."}'

    Send html, or a templateId with variables, instead of or beside text. The Idempotency-Key makes a retry return the first message instead of sending it twice.

  5. Or send over SMTP

    SettingValue
    Hostsmtp.daster.io
    Port465 with TLS from the start, or 587 with STARTTLS
    UsernameYour project ID
    PasswordA project key that can send email (daster_sk_…)
    AuthPLAIN or LOGIN

    With Nodemailer:

    JavaScript
    import nodemailer from 'nodemailer';
    
    const transport = nodemailer.createTransport({
      host: 'smtp.daster.io',
      port: 587,
      secure: false,
      requireTLS: true,
      auth: {
        user: process.env.DASTER_PROJECT_ID,
        pass: process.env.DASTER_EMAIL_KEY,
      },
    });
    
    await transport.sendMail({
      from: 'Northwind <hello@example.com>',
      to: 'user@example.com',
      subject: 'Welcome',
      text: 'Thanks for signing up.',
    });

    Any library that sends over SMTP with TLS and PLAIN or LOGIN login can use these settings. Port 25 is not offered.

Questions about the free email API

Is the email API really free?

Yes. Every DASTER account can send 5,000 emails free every month, over the API or SMTP. The daily limit of 200 emails and the new account ramp-up still apply.

Can I use DASTER as a free SMTP server for my app?

Yes. Point your app or library at smtp.daster.io on port 465 or 587, with your project ID as the username and a project key as the password. SMTP sends one recipient per message.

Do I need my own domain?

Yes. You can only send from a domain you own, after its SPF and DKIM records are verified. This keeps your emails out of spam folders and stops others from sending in your name.

Why can a new account send only 50 emails a day?

New accounts start low and go up over the first week: 50 a day on days 1 and 2, 100 a day on days 3 to 6, then 200 a day from day 7. This keeps new domains from looking like spam to mail servers.

What happens if my emails bounce or are marked as spam?

If 5% or more of your emails bounce, or 0.1% or more are marked as spam, sending pauses by itself. Use Delivery logs and Suppressions to find the addresses that bounced or complained, and remove them from your list.

Can I send newsletters with the free emails?

No. App email is for messages your app sends to one person at a time. Campaigns to people who agreed to get them go through Marketing email, a separate service.

Read more

DASTER is in testing. Join the waitlist and you get access 20 days after you join.

Join the waitlist

Next steps