Supabase has become one of the most popular backend platforms for modern applications. With PostgreSQL, Authentication, Storage, Realtime, and Edge Functions built in, developers can build and scale products faster than ever.
But when it comes to sending transactional emails such as welcome emails, password resets, verification codes, notifications, and newsletters, developers still need a reliable email infrastructure.
That's where Keplars comes in.
With the Keplars Supabase Integration, you can deploy a production-ready Edge Function and start sending emails directly from your Supabase project in just a few minutes.
Why Use Keplars with Supabase?
The integration is built specifically for Supabase Edge Functions and provides:
- Template-based emails
- HTML and plain-text emails
- Scheduled email delivery
- Instant email delivery (0-5 seconds)
- Deno + TypeScript support
- Optional JWT authentication
- Production-ready deployment
Whether you're building a SaaS platform, marketplace, mobile application, AI product, or internal tool, Keplars makes email delivery simple and scalable.
Getting Started
1. Clone the Example Repository
Start by cloning the official example:
2. Configure Your API Key
Navigate to the Supabase folder:
Add your Keplars API key:
3. Start Supabase Locally
Launch your local Supabase environment:
Your Edge Function will be available at:
Send Your First Email
Once the function is running, sending emails is as simple as making an HTTP request.
Template-Based Email
Perfect for:
- Welcome emails
- Email verification
- OTP delivery
- Password reset emails
- Transactional notifications
Plain Text Emails
Need something simple?
HTML Emails
For complete control over your email design:
HTML emails are ideal for:
- Product announcements
- Marketing campaigns
- Customer onboarding
- Event invitations
Scheduled Emails
Keplars also supports scheduled delivery with timezone support.
Use scheduled delivery for:
- Weekly newsletters
- Subscription reminders
- Product launches
- Time-based workflows
Calling Keplars from Supabase
One of the biggest advantages of this integration is how naturally it fits into existing Supabase applications.
JavaScript / TypeScript Example
This makes email delivery feel like a native part of the Supabase ecosystem.
React Example
If you're building a React application, you can trigger emails like this:
Next.js Integration
Using Supabase with Next.js? You can trigger emails directly from API routes.
Deploying to Production
Once you're ready to go live, follow these steps.
Link Your Project
Store Secrets Securely
Deploy the Function
Your endpoint will be available at:
Production Security
For production deployments, we strongly recommend enabling JWT verification.
Update your `supabase/config.toml`:
This ensures only authenticated users can invoke your email endpoint.
Email Delivery Response
Successful requests return the following delivery metadata.
This makes it easy to track and monitor email activity across your application.
Why Developers Choose This Integration
Developers already use Supabase to simplify backend infrastructure. Keplars does the same for email infrastructure.
Instead of managing SMTP servers, provider integrations, deliverability issues, retries, and email queues, you can deploy a single Edge Function and start sending production-ready emails immediately.
Final Thoughts
Supabase Edge Functions provide a powerful serverless environment for modern applications. Combined with Keplars, they become a complete communication layer capable of sending transactional, marketing, and scheduled emails at scale.
If you're already building with Supabase, integrating Keplars takes only a few minutes and gives your application access to reliable, developer-friendly email delivery from day one.
