Integration Module 2.0 for Medusa is outRead the announcement
Zeptomail logo

Zeptomail

ZeptoMail plugin for Medusa

npm install @take3labs/zeptomail
Built by
Service
Version
0.0.4
Last updated
2 months ago
Monthly downloads
Loading downloads

@take3labs/zeptomail

A Zoho ZeptoMail notification provider plugin for Medusa v2.

This plugin allows your Medusa application to send transactional emails via ZeptoMail using template-based dispatch (). It provides an in-code template store/mapping mechanism to decouple Medusa application events from ZeptoMail template IDs.


Features

  • ZeptoMail Template Sending: Dispatches transactional emails via ZeptoMail's endpoint.
  • Decoupled Template Store: Map Medusa notification events (e.g. , ) directly to ZeptoMail or .
  • Flexible Credential Handling: Auto-normalizes authorization headers ( prefix) and regional endpoints (US, EU, IN, etc.).
  • Attachment & Merge Info Support: Automatically formats Medusa notification data and attachments for ZeptoMail.
  • Built for Medusa v2: Full support for Medusa v2 module providers and .

Prerequisites

  1. A Zoho ZeptoMail account.
  2. A configured Mail Agent with a verified sending domain.
  3. A Send Mail Token generated in your Agent settings under SMTP / API.
  4. Email Templates created in your Mail Agent with their respective Template Key (e.g. ) or Template Alias.

Installation

Install the plugin and its dependencies into your Medusa application:


Environment Variables

Add the following environment variables to your Medusa project's file:


Configuration

Register the provider in your Medusa application's :


Template Store & Decoupling

The option allows you to map Medusa internal notification templates to ZeptoMail templates.

You can configure values as:

  1. A Template Key (ZeptoMail's unique identifier):
  2. A Template Alias (Custom human-readable alias configured in ZeptoMail):
  3. An Explicit Object:

Predefined Constants

You can also import common Medusa notification template event names from :


Triggering Notifications

When sending notifications via Medusa's notification service or workflow step:


License

MIT