by FirstBlock

TypeScript Express plugin that integrates Elastic Email API v4 to provide transactional and bulk email sending, email verification, suppression list management (bounces/complaints/unsubscribes), event logs, and delivery statistics. Includes REST endpoints for send/bulk/send-job tracking, POST/GET verification flows, suppression add/remove, event querying, and a health check; configurable via ELASTIC_EMAIL_API_KEY and dotenv. Ideal for backend developers or SaaS teams who need a ready-made email service layer with delivery tracking and suppression management.
This Elastic Email Module (TetreesAI backend) is an Express + TypeScript API that wraps Elastic Email v4 functionality to send transactional and bulk emails, verify email addresses, manage suppression lists (bounces, complaints, unsubscribes), and expose event/usage statistics. The project includes CORS and dotenv support and is designed as a plugin-style backend service.
You MUST get an api key from Elastic Email and enable free or piad plan to enable sending emails https://elasticemail.com/email-api
Note: This README is based on the provided source files and test results. Two test cases failed during automated tests:
For development with hot reload: npm run dev
Default server port: 9015 (can be overridden via PORT env var).
Environment variables:
Default sender values used by the API when not provided in requests:
All endpoints are prefixed with /api.
Health
Spin up an isolated sandbox and run it server-side — no local setup.
Push this product straight into your AI IDE, web builder or cloud IDE.
Connect Tetrees to a compatible AI IDE, list products you own, and request the verified ZIP without exposing seller upload controls.
No reviews yet.
Sign in to join the discussion
Loading discussion…
Email Operations
POST /api/emails/send
POST /api/emails/bulk
Email Verifications
POST /api/verifications/email
GET /api/verifications/:email
Suppression Lists
POST /api/suppressions/:type
GET /api/suppressions
DELETE /api/suppressions/:type/:email
Events & Statistics
GET /api/events
GET /api/statistics
If you need code-level integration guidance or examples for calling Elastic Email from within the service, provide the relevant files and I can generate snippets or suggestions aligned with the actual implementation.
The sandbox audition completed and the detected runnable path passed.
This Express backend / api completed archive review with strong static results. Structure, dependency manifests, documentation, functional source, and common risk patterns were checked by the Tetrees verification pipeline; runtime phases are stated separately. Final verified scores after isolated runtime evidence: overall 8.6 and security 9.
Deterministic AVCP artifact review
Pipeline avcp-2026-08-04.1 · SHA-256 8796950d09b0c771…
This version-scoped review deterministically inspects the submitted archive for structure, dependencies, documentation, functional source, and common malicious or high-risk signals. Build and test phases are reported as passed only after an isolated sandbox audition. It is not a guarantee of perfect security.
Reviewed Aug 7, 2026
The full install guide and integration prompts unlock after purchase.
Automation, Utilities & Developer Tools
Free