Documentation
MailSetu Docs
Everything you need to integrate MailSetu into your application — from your first test email or SMS to production at scale.
5-minute quickstart
Send your first email with a sandbox key.
SmsSetu
SMS-first product entry for alerts, OTP, and transactional messaging.
AI agent setup
Use install tokens and OpenAPI for safe autonomous setup.
Node.js SDK
Install and configure the official JS/TS SDK.
Python SDK
Install and configure the official Python SDK.
Domain verification
Verify your sending domain with DKIM.
Webhooks
Subscribe to delivery and engagement events.
Authentication
API keys, sandbox mode, and JWT sessions.
What is MailSetu?
MailSetu is a transactional messaging API built for Indian developers and startups. It sits on top of AWS SES and SNS, and provides a developer-friendly API, dashboard, analytics, and billing — all priced in ₹.
Unlike international email APIs that bill in USD, MailSetu is designed from the ground up for the Indian market: UPI billing, GST invoices, IST support hours, and Mumbai-region infrastructure.
REST API
A simple HTTP API you can call from any language or framework for both email and SMS.
Official SDKs
Maintained clients for Node.js, Python, PHP, Go, Java, Ruby, and .NET.
Dashboard
Email logs, SMS logs, analytics, templates, webhooks, billing — all in one place.
Framework guides
Full API Reference
Complete documentation for every endpoint, parameter, and response.
