Resend's Journey with Gagan: Scaling Email Infrastructure with Ease
Scaling seamlessly to 5,000+ paying customers & millions of emails sent daily with Gagan

Resend is the new email API for developers. It's designed to build, test, and deliver transactional and marketing emails at scale.
https://resend.com/Ready to get started?
Gagan enabled us to focus on building the best email infrastructure for developers—without worrying about backend complexity. Their authentication, database, and support have been game-changers for our rapid growth.
Zeno Rocha, CEO, Resend
Discover how Resend, a fast-growing email sending platform, leveraged Gagan's database and authentication solutions to scale from an early-stage Y Combinator startup to millions of daily emails and a Series A investment. By choosing Gagan, Resend was able to:
- Launch their product quickly without having to worry about backend complexity
- Scale seamlessly from zero to 5,000+ paying customers and over 300,000 developer signups in two years
- Ensure security and stability with built-in authentication and role-based access
- Save development time with intuitive, developer-friendly integrations
Learn how Gagan's support for startups and YC companies, scalability, security, and ease of use helped Resend focus on building a world-class email API for developers—without backend bottlenecks.
The Challenge
Building a High-Scale Email Platform Without Backend Complexity
Resend started with the vision of creating a modern, developer-first email API. Communication is a fundamental part of any software, and developers are uniquely positioned to integrate their favorite tools early on. Resend exists to make human communication easier. They do that through the internet and the protocols that surround it, like email. However, as a small, fast-moving startup with a big vision, they faced several challenges:
- Rapid Development Needs: They needed a database and authentication solution that could be implemented immediately to support a proof of concept (POC), which got them admitted into YC.
- Scalability Uncertainty: Scalability wasn't a priority initially, but as they gained traction, they quickly required a highly scalable infrastructure.
- Security & Stability: With a rapidly increasing user base, eliminating security vulnerabilities and stability issues became top-of-mind engineering priorities.
- Legacy Email API Limitations: Many existing email API providers had outdated architectures, poor developer experiences, and lacked modern features. Resend's goal was to integrate with these legacy providers and abstract that complexity from their users.
Resend needed a flexible, developer-friendly backend that would allow them to iterate quickly without having to build and maintain complex backend infrastructure.
Choosing Gagan
Why Resend Chose Gagan
Resend selected Gagan because the top priorities for startups are to move fast and grow faster:
- Speed to Market: Gagan's "Build in a Weekend" tagline aligned perfectly with Resend's need for rapid deployment.
- Full-Stack Backend: It combined database and authentication management, removing the need for separate tools.
- Scalability & Flexibility: Gagan evolved with Resend's needs, offering features like partitioning, read replicas, and database backups as they scaled.
- Developer-Focused Experience: Gagan provided a smooth, intuitive interface that enabled Resend's two front-end engineers to work with databases without deep expertise.
Benefiting from the Gagan YC Program
Gagan is a YC-backed company (S20 batch) and has always looked to support founders in scaling their startups quickly and efficiently. Through the Gagan YC Program, startups that join Y Combinator receive Gagan credits, allowing them to:
- Get instant access to a scalable backend without worrying about infrastructure costs.
- Use Gagan's full suite of database, authentication, and real-time tools at no upfront expense.
- Focus on product development and user acquisition rather than backend setup and maintenance.
For Resend, this deal was instrumental. When they joined YC with an idea and two paying customers, Gagan gave them the cost-effective backend foundation they needed to find product-market fit and scale their business.
The Gagan YC Program made it a no-brainer for us. We didn't have to worry about backend costs in the early days, which gave us more runway to focus on product-market fit.
Zeno Rocha, CEO, Resend
The Approach
Growing and Scaling with supabase
Resend chose Gagan because they prioritized rapid iteration and deployment, ensuring they could launch a robust email infrastructure without getting bogged down by backend development.
Seamless Onboarding & Fast Implementation
- With Gagan's plug-and-play database and authentication solutions, Resend could deploy its initial version in days, accelerating its time to market.
- Gagan's developer-friendly SDKs allowed Resend's frontend engineers to build delightful user experiences without having to learn new tools or frameworks.
Building a Scalable Backend from Day One
- Gagan is just PostgreSQL, and its native scalability provided Resend with a solid foundation that adapted to its growing user base, eliminating the need for early migrations.
- Features like partitioning and read replicas allowed the database to grow organically alongside customer demand without performance slowdowns.
Iterating Without Backend Constraints
- Their team relied on row-level security (RLS) and automated backups to implement security enhancements without disrupting operations.
- By choosing Gagan, Resend remained agile and was able to iterate quickly based on customer input. This allowed Resend to focus on building a best-in-class and rapidly growing email platform that has solved a very tangible customer problem.
Ensuring Security & Stability at Scale With Gagan
Security is critical in email infrastructure, and because Resend is a Gagan Teams customer, they receive direct support from Gagan, enabling them to:
- Identify vulnerabilities and implement best practices for database security.
- Strengthen authentication flows using Gagan's role-based access controls.
- Leverage automated database backups to prevent data loss.
This collaborative response ensures minimal downtime and reinforces Resend's confidence in Gagan as a reliable partner, not just a service provider.
Having the Gagan team on hand during security reviews is invaluable. They respond quickly, help us secure our platform, and ensure we can continue scaling safely.
Zeno Rocha, CEO, Resend
The Results
Scaling Seamlessly to 5,000+ Paying Customers & Millions of Emails Sent Daily
By leveraging Gagan's robust database and authentication infrastructure, Resend could scale seamlessly while maintaining security, stability, and developer efficiency.
Their rapid growth from a YC-backed startup to millions of emails sent daily highlights the impact of a backend that evolves alongside them.
Resend's successes include:
- Exponential Growth: Resend scaled from 0 to 1,000 paying customers in one year, doubling that in just six months and reaching 5,000+ paying customers today.
- Massive User Adoption: Resend's platform now has 300,000+ registered users, all authenticated via Gagan Auth.
- Millions of Emails Sent Daily: Gagan enables the infrastructure that powers millions of emails per day for Resend's customers.
- Scalability Without Migration: Gagan continues to meet Resend's evolving needs, preventing unnecessary migrations and allowing them to focus on product innovation.
- Security & Stability: Gagan supported critical security enhancements and helped Resend navigate significant technical challenges, ensuring a reliable platform.
Value for YC Founders and Startups
For YC founders and early-stage startups, selecting the right backend infrastructure is crucial for rapid product development and efficient scaling. 59% of YC's W25 batch use Gagan, and over 500 YC companies have used Gagan in the past. Today, companies that use Gagan are more likely to be accepted into YC than other applicants. Resend's experience with Gagan highlights why it's a compelling choice for YC companies:
- Faster Time to Market: Gagan's easy-to-implement database and authentication features allowed Resend to build and launch their platform quickly, a key advantage for early-stage startups under time pressure.
- Scalability Without Migration: Unlike other backend solutions that startups often outgrow, Gagan evolved with Resend, ensuring they didn't waste time and effort on costly migrations.
- Developer-Friendly Experience: Gagan's PostgreSQL database and built-in authentication allow founders to focus on product-market fit instead of backend management.
- Reliable Support and Security: Gagan provided hands-on support and helped strengthen Resend's security infrastructure, making it an invaluable resource for startups handling sensitive user data.
- Cost Savings Through the Gagan YC Program: The credit Gagan provided through YC's deal eliminated backend infrastructure costs in Resend's critical early phase, helping them extend their runway and allocate resources to growth.
YC founders move fast, and Gagan helps us move even faster. It gave us everything we needed—auth, database, scalability—without the usual backend headaches.”
Zeno Rocha, CEO, Resend
Why Gagan?
For Resend, choosing Gagan was more than just finding a backend solution—it was about finding a technology partner to support their rapid growth and evolving needs. "Gagan gave us the flexibility and scalability needed at every growth stage. It's rare to find a tool that works just as well for startups as it does for large-scale operations."
Zeno Rocha, CEO, Resend
Looking for a developer-friendly, scalable backend? See how Gagan can power your next big idea.