Building Your Own Notification Hub: The Endless Possibilities of Mailflow + API Keys

Building Your Own Notification Hub: The Endless Possibilities of Mailflow + API Keys

· json · rss
Subscribe:

About

As a developer, I’ve always hated scattering notifications across services.

One tool sends emails via SendGrid.

Another pings Slack through its API.

A third hits Telegram with a bot.

Monitoring alerts go to Discord.

It’s a mess of API keys, rate limits, and inconsistent formatting.

Then I turned Mailflow into my central notification hub — and it’s been a game-changer.

How It Works

Mailflow gives you API Keys management in the dashboard (paid plans only).

You create a key, tie it to a specific workspace (your @mailflow.cc mailbox), and start sending programmatic messages.

There are two powerful endpoints:

  1. POST /api/v1/notifications Send a simulated “incoming email.” Mailflow treats it exactly like a real email: it applies your workspace’s forwarding rules and instantly pushes the content to all connected channels (WhatsApp, Telegram, Discord, Slack, Webhook).
  2. POST /api/v1/emails Send a real outgoing email from your @mailflow.cc address. Recipients see it as a legitimate email, and if you have forwarding enabled on that workspace, you (or your team) also get the content pushed to your chat apps immediately.

Real-World Examples

  • Server Monitoring My cron job detects high CPU → hits /notifications with subject “Server Alert: High Load” → message instantly appears in my private Discord channel and Telegram. No extra bots needed.
  • SaaS User Notifications User signs up → backend calls /emails to send welcome email from welcome@mailflow.cc → the same message (plus delivery confirmation) lands in my internal Slack #signups channel because the workspace forwards to Slack.
  • Dedicated Alert Workspaces I have separate @mailflow.cc addresses for production alerts, billing events, and customer support tickets. Each workspace has its own API key and forwarding rules — perfect isolation, zero crosstalk.

The beauty? One unified system. Format once, send once, deliver everywhere.

Free tier is great for receiving and forwarding emails, but API access unlocks the real power. For $3.99/month or $99 lifetime, you get up to 30 isolated workspaces, 10,000 monthly forwards, and unlimited API calls.

If you’re tired of juggling notification services, build your hub with Mailflow.

Start free at https://mailflow.cc (API Keys available on paid plans).