Skip to content
@ElasticEmail

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

Quick start

  1. Create an account.
  2. Verify your sending domain. This is required: Elastic Email only sends from verified domains.
  3. Create an API key under Settings → Manage API Keys.
  4. Send your first email, using an address on your verified domain as the sender:
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>" }]
    }
  }'

Then choose an SDK for your language below. Each repository has a quick start and examples.

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 NuGet
PHP elasticemail-php composer require elasticemail/elasticemail-php Packagist
Python elasticemail-python pip install ElasticEmail PyPI
JavaScript / Node.js elasticemail-js npm install @elasticemail/elasticemail-client npm
TypeScript (axios) elasticemail-ts-axios npm install @elasticemail/elasticemail-client-ts-axios npm
Angular elasticemail-ts-angular npm install @elasticemail/elasticemail-client-ts-angular npm
Java elasticemail-java Maven / Gradle, see README Release
Go elasticemail-go go get github.com/elasticemail/elasticemail-go/v4@latest Release
Ruby elasticemail-ruby gem install ElasticEmail RubyGems
Rust elasticemail-rust cargo add ElasticEmail crates.io
Perl elasticemail-perl cpanm --installdeps . Release
Bash elasticemail-bash Clone the repo, see README Release

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.
elasticemail-examples Working examples for transactional email, SMTP, webhooks, contacts and more. Start here if you're new.

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

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.

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.

Made with ❤️ by the Elastic Email team

Pinned Loading

  1. 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.

    Python 9 4

  2. 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

  3. 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.

    JavaScript 8 1

  4. 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.

    PHP 14 12

  5. 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

  6. 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

Top languages

Loading…

Most used topics

Loading…