[ TUTORIAL ]

Set up NightOwl with free Gmail SMTP

Send NightOwl alerts through your existing Gmail account in about 10 minutes. No transactional-mail provider, no domain verification, no card.

QUICK ANSWER

Can I use my free Gmail to send NightOwl alerts?

Yes — Gmail's SMTP server accepts authenticated SMTP from NightOwl using a 16-character App Password (not your normal password). Setup takes about 10 minutes: enable 2-Step Verification, generate the App Password, paste it into NightOwl's email channel form along with smtp.gmail.com:587 and TLS encryption, send a test alert. Free Gmail allows 500 outbound alerts per day; Workspace allows 2,000. For higher volume or sub-10-second guaranteed delivery, use Postmark or SendGrid instead.

Updated · 2026-04-27

What you'll have at the end

A configured email alert channel in NightOwl that sends through your Gmail account. New issues, resolved issues, missed scheduled tasks, and queue failures land in your inbox — without you running an SMTP server, paying for Postmark, or verifying a domain.

END STATE

What you're aiming for: NightOwl alerts arriving in Gmail, formatted with the issue summary and a one-click link back to the dashboard.

Why Gmail SMTP works for NightOwl alerts

Three properties make Gmail a clean fit for low-volume alert delivery:

  • Free. Up to 500 outbound emails per 24 hours on free Gmail; 2,000 on Workspace. Most Laravel apps fire 5-50 alerts per week.
  • No domain verification. You authenticate as yourself, send from yourself. No SPF/DKIM setup, no warmup period, no postmaster questions.
  • Standard SMTP. Plain port 587 + TLS — works from any host, in any container, with no provider-specific SDK.

Two catches worth knowing up front:

  • Gmail's mail queue can delay alerts during incidents. Gmail SMTP accepts your message immediately, but Google queues outbound delivery on its side. Quiet periods: 5-15 seconds. Burst periods (which is exactly when you need alerts): 30 seconds to 2 minutes, sometimes longer if Gmail rate-limits. This is Gmail's queue, not NightOwl — the agent fires the alert the instant the issue is created. For guaranteed sub-10-second delivery, use Postmark or SendGrid instead. Both have free tiers.
  • 500 emails/day cap on free Gmail. Sustained high alert volume hits the wall. In practice, NightOwl groups exceptions by fingerprint and only fires issue.new once per new fingerprint, so volume stays well under 500/day during normal incidents — but the cap exists.

Step 1 — Enable 2-Step Verification

Gmail App Passwords require 2-Step Verification on the account. If you don't have it on:

  1. Visit myaccount.google.com/security
  2. Click 2-Step Verification
  3. Add a phone number or hardware key, follow the prompts

Takes about 60 seconds. Skip this and the App Passwords page won't even be accessible.

STEP 01

2SV must be on before App Passwords are available. Disabling it later will revoke every App Password you've created.

Step 2 — Generate a 16-character App Password

Go to myaccount.google.com/apppasswords. Enter a label (e.g. "NightOwl") and click Create. Google shows a 16-character password in groups of four — looks like abcd efgh ijkl mnop.

Copy it without the spaces. NightOwl (and most SMTP clients) expect the 16 characters concatenated. This is shown only once; if you lose it, generate a new one.

STEP 02

Copy the 16 characters with the spaces removed. This password is shown only once — Google does not store it in cleartext.

Step 3 — Open the email channel form in NightOwl

Sign in to the NightOwl dashboard. Pick your application, then go to Settings → Issues. Scroll to the Email section and click Configure SMTP (or Add another if you already have an email channel set up).

STEP 03

The Email section lives under the Issues tab alongside Integrations (Slack/Discord) and Webhooks. Each app has its own alert channel list.

Step 4 — Fill in Gmail's SMTP settings

Plug these values into the NightOwl email channel form:

Field Value
Channel NameOn-call Email
Hostsmtp.gmail.com
Port587
EncryptionTLS
Usernameyou@gmail.com
Password<App Password from Step 2, no spaces>
From Addressyou@gmail.com
From NameNightOwl Alerts
To Addressesteam@yourdomain.com

From Address must equal Username. Gmail rejects messages where the From doesn't match the authenticated user — you can't send "from" a custom domain without Workspace + a configured alias.

STEP 04

Double-check the password has no spaces — that's the most common reason the test step fails.

Step 5 — Send a test alert

Save the channel, then click Send Test. NightOwl fires a synthetic alert through Gmail. Check your inbox — under normal conditions, it lands in 5-15 seconds.

If nothing arrives in 60 seconds:

  • Check the channel's Last delivery status — Gmail returns a clear error if auth failed
  • Confirm the App Password has no spaces
  • Verify 2-Step Verification is still on (disabling it revokes every App Password)
  • Check the spam folder — first deliveries from a new account/IP combination occasionally get filtered

STEP 05

A successful first test with delivery time. Compare this number to your actual incident-time alerts to see Gmail's real-world variance.

Step 6 — Subscribe the channel to alert events

NightOwl currently exposes four issue-lifecycle events. Tick the ones you want this channel to receive:

  • issue.new — a new exception fingerprint appears (always on)
  • issue.reopened — a previously-resolved issue fires again (recommended on)
  • issue.resolved — issue triaged closed (optional, useful for solo triage)
  • issue.ignored — issue muted (optional)

For a solo dev, leave all four on. For a team where one person triages, keep issue.new and issue.reopened only — turning off issue.resolved/ignored avoids inbox noise when colleagues triage. Because alerts only fire on issue lifecycle changes (not on every exception occurrence), volume stays comfortably under Gmail's 500/day cap during normal incidents.

STEP 06

The events list is short by design. NightOwl groups exceptions by fingerprint, so 1,000 occurrences of the same error become one issue.new alert — not 1,000 emails.

When to graduate to a transactional provider

Gmail SMTP is good enough until it's not. Three signals to switch:

  • You've hit Gmail's queue lag during a real incident — alerts arrived 2 minutes after PagerDuty did. Move to Postmark/SendGrid (sub-10-second delivery, real SLAs).
  • You're approaching the 500/day cap — sustained alert volume past that means either upgrade to Workspace (2,000/day) or switch to a provider that doesn't cap.
  • You want branded sender addresses — alerts from alerts@yourdomain.com instead of your personal Gmail. Postmark / SendGrid / Resend all handle this; free Gmail does not.

Postmark's free tier is 100 emails/month; SendGrid's is 100/day; Resend's is 3,000/month. Any of them swaps in cleanly — same NightOwl email channel form, just different host/credentials.

PREFER A WEBHOOK?

Slack and Discord channels are zero-config alternatives

If your team lives in Slack or Discord, NightOwl ships native channels for both — paste an incoming webhook URL, done. No SMTP, no daily limits, instant delivery.

Email is still useful as a fallback when chat is down — but it doesn't have to be your primary channel.

Frequently asked questions

Can I use Gmail to send NightOwl alerts for free?

Yes. Gmail's SMTP server (smtp.gmail.com:587) accepts authenticated SMTP from any client, including NightOwl. You authenticate with your Gmail address and a 16-character App Password (not your normal Gmail password). Free Gmail allows up to 500 outbound emails per day; Google Workspace allows 2,000. For a typical Laravel app sending 5-50 alerts per week, the free quota is plenty.

Why do my Gmail alerts feel slow or arrive late?

Gmail SMTP queues outbound messages on Google's side. During quiet periods, alerts land in 5-15 seconds. During incident bursts — when you actually need them — Gmail can rate-limit, queue, or briefly defer. Typical worst case is 30 seconds to 2 minutes. *This is Gmail's queue, not NightOwl* — the agent dispatches the alert immediately; the wait is on Google's mail servers. For sub-10-second guaranteed delivery (which actually matters during outages), use a transactional provider like Postmark or SendGrid instead. Both have free tiers.

Do I need 2-Step Verification?

Yes. Google requires 2-Step Verification on the account before you can create an App Password. If you don't have it on yet, enable it under Google Account → Security → 2-Step Verification. Takes 60 seconds with a phone number.

Can I send alerts from a custom domain (alerts@mydomain.com)?

Only with Google Workspace and proper SPF/DKIM setup. Free Gmail forces the From address to match the authenticated user — you can't fake a custom domain without it being flagged or rejected. If you need branded sender addresses, either use Workspace ($6/user/mo) and configure 'Send mail as' aliases, or use a transactional provider.

What are the daily sending limits?

Free Gmail: 500 emails per rolling 24 hours. Google Workspace: 2,000 emails per rolling 24 hours. Hit the limit and Gmail rejects further SMTP attempts with a temporary failure for the rest of the window. NightOwl will queue and retry, so a brief overrun isn't fatal — but if you sustain that volume, alerts will stack up. Sustained high alert volume is also a signal to fix the underlying noise, not just the channel.

Why was my App Password rejected?

Three common causes: (1) you copied the spaces — Google shows the 16 characters in groups of four; remove the spaces. (2) You used your account password instead of the App Password — they're different. (3) 2-Step Verification was disabled after creating the App Password, which automatically revokes all App Passwords. Re-enable 2SV and generate a new one.

Will my Gmail account get flagged for spam?

Unlikely at NightOwl alert volumes (handful per day to a few dozen per week). Gmail's spam heuristics target high-volume, low-engagement senders. Your alerts are going to a small list of recipients who open them — that pattern is the opposite of spam.

PRICING

Flat pricing. No event caps. No per-seat fees.

14-day free trial, no credit card. Your PostgreSQL, your data.

HOBBY

$5 /month

1 app · 14 days lookback · all Laravel events

TEAM

$15 /month

Up to 3 connected apps · unlimited environments · all Laravel events

AGENCY

$69 /month

Unlimited apps · unlimited agent instances · same flat rate at any traffic

Related