Production Ready

Send emails without limits.Self-hosted. Dev-friendly.

A modern email microservice built in Go with BYOK approach and multi-provider support. Send emails securely through SendGrid, Breevo, MailerSend, or SMTP.

BYOK Security
Bring Your Own Key
4+ Providers
Multi-provider support
Production Ready
Redis & PostgreSQL
Docker Ready
Containerized deployment
Features

Everything you need to send emails

Powerful features designed for developers who want simplicity without sacrificing control

BYOK Security

Bring Your Own Key approach ensures your API keys stay secure with header-based credential management.

Multi-Provider Support

Support for Breevo, SendGrid, MailerSend, and SMTP with automatic provider detection.

Smart Routing(Coming soon)

Intelligent provider detection based on credentials with fallback mechanisms.

PostgreSQL Logging

Comprehensive email tracking and analytics with detailed logging capabilities.

Redis Caching(Coming soon)

Performance optimization with Redis caching for improved response times.

Production Ready

Docker containerization with error handling, monitoring, and logging built-in.

Quick Start

Get started in minutes

Simple setup process to get your email service running

Installation Steps

1
Clone Repository
git clone https://github.com/imsks/chitthi.git
2
Start Infrastructure
docker compose up redis db -d
3
Run Service
air (or go run cmd/main.go)
4
Test API
Send your first email via REST API
Send Email API
curl -X POST https://localhost:8000/send-email \
  -H "Content-Type: application/json" \
  -H "X-SMTP-Host: smtp.gmail.com" \
  -H "X-SMTP-Username: your-email@gmail.com" \
  -H "X-SMTP-Password: your-app-password" \
  -d '{
    "from_email": "sender@example.com",
    "to_email": "recipient@example.com", 
    "subject": "Test Email",
    "html_content": "<h1>Hello World!</h1>"
  }'
Join the Community

Contribute to Chitthi

Help us build the best open-source email service. Every contribution makes a difference!

Code Contributions

Submit pull requests for bug fixes, new features, or improvements to the codebase.

Create PR

Report Issues

Found a bug or have a feature request? Let us know by opening an issue.

Open Issue

Join Discussions

Share ideas, ask questions, and engage with the community in our discussions.

Start Discussion

Star & Share

Show your support by starring the repo and sharing Chitthi with others.

Star on GitHub

Check out our contributing guidelines to get started

View Contributing Guide

Ready to start sending emails?

Join developers who trust Chitthi for their email infrastructure