Elastic Email
Elastic Email is an affordable email delivery service to grow your audience, create stunning newsletters, and send emails via robust and scalable API or SMTP-
Verified
We've verified that the organization ElasticEmail controls the domain:
- elasticemail.com
- 22 followers
- Canada
- https://elasticemail.com
- ElasticEmail
- company/elasticemail
- @Elastic_Email
- @elasticemail
- support@elasticemail.com
Email API and SMTP for developers. Clone a starter, add your API key, send a real email in five minutes.
Starters • SDKs • Tools • AI agents • Blog • Support
Start from a working project
Pick one, clone it, run it. Each starter sends a real email on the first run and is a complete app you can build on.
| Starter | What you get | Stack |
|---|---|---|
| Next.js app | API routes for sending, batch sends, attachments, templates, webhooks, inbound email and double opt-in, with a page per feature | TypeScript, Next.js 15 |
| Python web app | The same /send API in Flask, FastAPI and Django, plus a single-file script for every feature |
Python 3 |
| AI agent that sends email | A Claude agent with a send_email tool and a recipient allowlist, so it can only send where you let it |
TypeScript, Vercel AI SDK |
Before you run one: create an account, verify your sending domain (Elastic Email only sends from verified domains) and create an API key under Settings → Manage API Keys.
git clone https://github.com/ElasticEmail/elasticemail-examples.git cd elasticemail-examples
| Next.js | Python | AI agent |
|---|---|---|
cd nextjs-elasticemail-examples/typescript npm install cp .env.example .env npm run dev |
cd python-elasticemail-examples python -m venv venv && source venv/bin/activate pip install -r requirements.txt cp .env.example .env python examples/fastapi_app.py |
cd ai-agents-elasticemail-examples/vercel-ai-sdk npm install cp .env.example .env npm start |
Put your API key and a sender on your verified domain in .env. Each starter's QUICKSTART.md covers the rest. Express, Laravel, Go, Rust, .NET, SvelteKit, serverless and 20+ other stacks are in elasticemail-examples.
curl -X POST https://api.elasticemail.com/v4/emails/transactional \
-H "X-ElasticEmail-ApiKey: $ELASTICEMAIL_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"Recipients": { "To": ["recipient@example.com"] },
"Content": {
"From": "you@your-domain.com",
"Subject": "Hello from Elastic Email",
"Body": [{ "ContentType": "HTML", "Content": "<p>It works!</p>" }]
}
}'
Official SDKs
Every SDK wraps the same REST API v4, so the same endpoints and models are available in every language.
| Language | Repository | Install | Package |
|---|---|---|---|
| C# / .NET | elasticemail-csharp | dotnet add package ElasticEmail |
|
| PHP | elasticemail-php | composer require elasticemail/elasticemail-php |
|
| Python | elasticemail-python | pip install ElasticEmail |
|
| JavaScript / Node.js | elasticemail-js | npm install @elasticemail/elasticemail-client |
|
| TypeScript (axios) | elasticemail-ts-axios | npm install @elasticemail/elasticemail-client-ts-axios |
|
| Angular | elasticemail-ts-angular | npm install @elasticemail/elasticemail-client-ts-angular |
|
| Java | elasticemail-java | Maven / Gradle, see README | |
| Go | elasticemail-go | go get github.com/elasticemail/elasticemail-go/v4@latest |
|
| Ruby | elasticemail-ruby | gem install ElasticEmail |
|
| Rust | elasticemail-rust | cargo add ElasticEmail |
|
| Perl | elasticemail-perl | cpanm --installdeps . |
|
| Bash | elasticemail-bash | Clone the repo, see README |
Tools and integrations
| Project | What it does |
|---|---|
| elasticemail-cli | Command-line tool for sending email and campaigns and managing templates, contacts and domains. npm install -g elastic-email-cli |
| elasticemail-send-email-action | GitHub Action that sends email from a workflow, for example build reports or release notes. uses: ElasticEmail/elasticemail-send-email-action@v1 |
| elasticemail-mautic-mailer | Mautic plugin for sending campaigns, segment emails and transactional mail through Elastic Email. |
AI agents
| Project | What it does |
|---|---|
| elasticemail-mcp-server | MCP server that lets AI agents (Claude, Cursor, VS Code and others) send email and work with your Elastic Email account. |
| elasticemail-skills | Agent skills that teach coding assistants the Elastic Email API. npx skills add ElasticEmail/elasticemail-skills |
From the blog
- Meet the Elastic Email CLI: send email and campaigns and manage templates from your terminal, or script it with
--json. - DMARC explained, with a guide to DMARCRadar: what DMARC reports tell you and how to act on them.
More on the Elastic Email blog.
Support
Important
The fastest way to get help is the chat widget on elasticemail.com. Our support team can help with your account, sending, deliverability and API questions.
- 💬 Chat with support (preferred)
- 📚 API documentation
- 🐛 GitHub issues in the relevant repository, for bugs in that SDK or tool only
- ✉️ support@elasticemail.com
Contributing
Pull requests are welcome in every public repository. Please read our contributing guide (or the repository's own CONTRIBUTING.md) and follow our Code of Conduct. To report a security vulnerability, follow our security policy and don't open a public issue.
Note
The ElasticEmail.WebApiClient-* repositories contain the legacy API v2 clients. They are archived and no longer maintained. New projects should use the v4 SDKs above.
Pinned Loading
-
elasticemail-python elasticemail-python Public
Official Python SDK for the Elastic Email REST API v4. Send transactional and marketing emails, and manage contacts, lists, templates, campaigns, domains and webhooks. Available on PyPI.
-
elasticemail-csharp elasticemail-csharp Public
Official C# / .NET SDK for the Elastic Email REST API v4. Send transactional and marketing emails, and manage contacts, lists, templates, campaigns, domains and webhooks. Available on NuGet.
C# 16
-
elasticemail-js elasticemail-js Public
Official JavaScript / Node.js SDK for the Elastic Email REST API v4. Send transactional and marketing emails, and manage contacts, lists, templates, campaigns, domains and webhooks. Available on npm.
-
elasticemail-php elasticemail-php Public
Official PHP SDK for the Elastic Email REST API v4. Send transactional and marketing emails, and manage contacts, lists, templates, campaigns, domains and webhooks. Available on Packagist.
-
elasticemail-examples elasticemail-examples Public
Real-world Elastic Email examples for transactional email, SMTP, webhooks, inbound email, contacts, serverless platforms and AI coding agents across 20+ languages and frameworks.
TypeScript 22
-
elasticemail-cli elasticemail-cli Public
Official CLI for Elastic Email: send email and campaigns, manage templates and contacts. Interactive TUI or --json for scripts.
TypeScript 12
Repositories
Showing 10 of 28 repositories-
elasticemail-mcp-server
Public
Official MCP server for the Elastic Email REST API v4. Lets AI agents in VS Code, Cursor, Claude Code and other MCP clients send emails and manage contacts, lists, campaigns, segments and templates. Self-hosted, .NET 10.
ElasticEmail/elasticemail-mcp-server's past year of commit activity C# 3 MIT 0 0 0 Updated Nov 27, 2026 -
elasticemail-examples
Public
Real-world Elastic Email examples for transactional email, SMTP, webhooks, inbound email, contacts, serverless platforms and AI coding agents across 20+ languages and frameworks.
ElasticEmail/elasticemail-examples's past year of commit activity TypeScript 22 MIT 0 0 0 Updated Nov 26, 2026 -
elasticemail-ts-axios
Public
Official TypeScript SDK for the Elastic Email REST API v4, built on axios. Send transactional and marketing emails, and manage contacts, lists, templates, campaigns, domains and webhooks. Available on npm.
ElasticEmail/elasticemail-ts-axios's past year of commit activity TypeScript 0 MIT 0 0 0 Updated Nov 26, 2026 -
elasticemail-ts-angular
Public
Official Angular SDK for the Elastic Email REST API v4, built on HttpClient and RxJS. Send transactional and marketing emails, and manage contacts, lists, templates, campaigns, domains and webhooks. Available on npm.
ElasticEmail/elasticemail-ts-angular's past year of commit activity TypeScript 0 MIT 0 0 0 Updated Nov 26, 2026 -
elasticemail-rust
Public
Official Rust SDK for the Elastic Email REST API v4. Send transactional and marketing emails, and manage contacts, lists, templates, campaigns, domains and webhooks. Available on crates.io.
ElasticEmail/elasticemail-rust's past year of commit activity Rust 2 MIT 0 0 0 Updated Nov 26, 2026 -
elasticemail-ruby
Public
Official Ruby SDK for the Elastic Email REST API v4. Send transactional and marketing emails, and manage contacts, lists, templates, campaigns, domains and webhooks. Available on RubyGems.
ElasticEmail/elasticemail-ruby's past year of commit activity Ruby 1 MIT 0 0 0 Updated Nov 26, 2026 -
elasticemail-python
Public
Official Python SDK for the Elastic Email REST API v4. Send transactional and marketing emails, and manage contacts, lists, templates, campaigns, domains and webhooks. Available on PyPI.
ElasticEmail/elasticemail-python's past year of commit activity Python 9 MIT 4 0 0 Updated Nov 26, 2026 -
elasticemail-php
Public
Official PHP SDK for the Elastic Email REST API v4. Send transactional and marketing emails, and manage contacts, lists, templates, campaigns, domains and webhooks. Available on Packagist.
ElasticEmail/elasticemail-php's past year of commit activity PHP 14 MIT 12 0 0 Updated Nov 26, 2026 -
elasticemail-perl
Public
Official Perl SDK for the Elastic Email REST API v4. Send transactional and marketing emails, and manage contacts, lists, templates, campaigns, domains and webhooks.
ElasticEmail/elasticemail-perl's past year of commit activity Perl 0 MIT 0 0 0 Updated Nov 26, 2026 -
elasticemail-js
Public
Official JavaScript / Node.js SDK for the Elastic Email REST API v4. Send transactional and marketing emails, and manage contacts, lists, templates, campaigns, domains and webhooks. Available on npm.
ElasticEmail/elasticemail-js's past year of commit activity JavaScript 8 MIT 1 0 0 Updated Nov 26, 2026
