Email System
Production-ready email support with multiple adapters (Nodemailer, SendGrid, AWS SES, Resend). Template rendering, queue integration, and zero forced dependencies.
On this page
Email That Just Works
Send emails with any provider.
Nodemailer, SendGrid, AWS SES, or Resend. Same API. Templates included.
It's This Simple
Send emails with one call
typescript
Why Email Integration Matters
Without proper email systems, you're manually integrating different providers, managing templates, and handling async sending. With MoroJS, you get all of that automatically.
Traditional email setup requires different libraries and APIs for each provider. We give you one consistent API.
Without Email System
- •Different APIs for each provider
- •Manual template management
- •No built-in queue integration
- •Complex provider switching
With MoroJS
- •Same API across all providers
- •Built-in template rendering
- •Automatic queue integration
- •Easy provider switching
It's This Easy
Use the same API regardless of which provider you choose.
Same API, different providers
typescript
Why It Makes Sense
Flexible
Choose Nodemailer, SendGrid, SES, or Resend. Same API.
Templates
Built-in template rendering with Moro, Handlebars, or EJS.
Queue Ready
Automatic queue integration for async sending.
How It Works
MoroJS provides a unified email API that works with multiple providers. You configure your chosen adapter, send emails with templates, and optionally integrate with queues for async sending. The system handles provider-specific details automatically.
Quick Start
Installation
typescript
Basic Configuration
typescript
Sending Emails
typescript
Template System
Template Example
typescript
Using Templates
typescript
Email Adapters
Nodemailer (SMTP)
typescript
SendGrid
typescript
AWS SES
typescript
Resend
typescript
Console Adapter (Testing)
typescript
Use Cases
User Registration
typescript
Password Reset
typescript
Transactional Emails
typescript
Queue Integration
Async Email Sending
typescript
Features
Core Capabilities
- Multiple provider support
- Template rendering (Moro, Handlebars, EJS)
- Attachment support
- HTML and text emails
- CC, BCC support
- Queue integration for async sending