• Модуль интеграций
  • Сообщество
  • Блог
Документация
Плагины и интеграцииВсе расширения для Medusa от сообществаСтартерыЗапускайте проекты быстрее с готовыми решениями
ЭкспертыПодберите специалиста для разработки и развития вашего проекта на MedusaКейсыПосмотрите примеры Medusa в продакшене и успешные внедрения
Представляем готовый к продакшену Medusa DTC Starter от Gorgo

26 августа 2026 г. · Продукт

Gorgo снижает затраты на адаптацию Medusa к локальным рынкам.

Мы разрабатываем плагины интеграции, осуществляем поддержку и развиваем сообщество разработчиков на Medusa в Telegram.

  • Ресурсы Medusa
  • Плагины и интеграции
  • Модуль интеграций
  • Стартеры
  • Эксперты
  • Кейсы
  • Medusa Чат в Telegram
  • Medusa Новости в Telegram
  • Документация Gorgo
  • Связаться с нами
  • TelegramGitHub
Плагины
Z

Zeptomail

Плагин ZeptoMail для Medusa

npm install @take3labs/zeptomail
Категория
Уведомления
Создано
Take3labs
Версия
0.0.4
Последнее обновление
1 день назад
Ежемесячные загрузки
Загрузка данных
Звезды на Github
0
npmNPM

@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

Еще в этой категории

Посмотреть все
Уведомления
Nodemailer logo

Nodemailer

От Perseides

Отправляйте email-уведомления через Nodemailer (SMTP)

Загрузка данных
npm
Уведомления
Mailgun logo

Mailgun

От Webbers

Отправляйте и управляйте уведомлениями по электронной почте

Загрузка данных
GitHubnpm
Уведомления
Postmark logo

Postmark

От Bram-hammer

Транзакционные письма через Postmark

Загрузка данных
GitHubnpm
npm install @take3labs/zeptomail
1# ZeptoMail API endpoint (optional, defaults to https://api.zeptomail.com/)
2# For EU: https://api.zeptomail.eu/
3# For IN: https://api.zeptomail.in/
4ZEPTOMAIL_URL=https://api.zeptomail.com/
5
6# Your ZeptoMail Send Mail Token (from Agent -> SMTP/API)
7# You can include or omit the "Zoho-enczapikey" prefix; the plugin normalizes it automatically.
8ZEPTOMAIL_TOKEN=Zoho-enczapikey phr09...
9
10# The verified sender email address in your ZeptoMail agent
11ZEPTOMAIL_FROM_ADDRESS=noreply@yourdomain.com
12
13# Optional sender display name
14ZEPTOMAIL_FROM_NAME="My Store"
1import { defineConfig, Modules } from "@medusajs/framework/utils"
2
3export default defineConfig({
4 // ...
5 modules: [
6 {
7 resolve: "@medusajs/medusa/notification",
8 options: {
9 providers: [
10 {
11 resolve: "@take3labs/zeptomail/providers/zeptomail",
12 id: "zeptomail",
13 options: {
14 channels: ["email"],
15 url: process.env.ZEPTOMAIL_URL,
16 token: process.env.ZEPTOMAIL_TOKEN,
17 from_address: process.env.ZEPTOMAIL_FROM_ADDRESS,
18 from_name: process.env.ZEPTOMAIL_FROM_NAME,
19 templateMap: {
20 "admin-password-reset": "2d6f.ca206d0a61dd719.k1.0a844e61-8e56-11f0-8679-5254001dc20d.199341ee643",
21 "customer-password-reset": "your_customer_pwd_reset_alias",
22 "order-placed": "order_confirmation_template_alias",
23 "invite-created": "2d6f.ca206d0a61dd719.k1.invite_template_id",
24 },
25 },
26 },
27 ],
28 },
29 },
30 ],
31})
"admin-password-reset": "2d6f.ca206d0a61dd719.k1.0a844e61-8e56-11f0-8679-5254001dc20d.199341ee643"
"order-placed": "order_placed_alias"
1"customer-welcome": {
2 template_alias: "welcome_email",
3},
4"invoice-receipt": {
5 template_key: "2d6f.ca206d0a61dd719.k1.receipt_key",
6}
1import { MedusaNotificationTemplates } from "@take3labs/zeptomail"
2
3// MedusaNotificationTemplates.ADMIN_PASSWORD_RESET -> "admin-password-reset"
4// MedusaNotificationTemplates.CUSTOMER_PASSWORD_RESET -> "customer-password-reset"
5// MedusaNotificationTemplates.ORDER_PLACED -> "order-placed"
6// MedusaNotificationTemplates.ORDER_CANCELED -> "order-canceled"
7// MedusaNotificationTemplates.ORDER_SHIPPED -> "order-shipped"
8// MedusaNotificationTemplates.INVITE_CREATED -> "invite-created"
1import { useNotificationService } from "@medusajs/medusa"
2
3await notificationModuleService.createNotifications({
4 to: "customer@example.com",
5 channel: "email",
6 template: "admin-password-reset", // matches the key in your templateMap
7 data: {
8 user_name: "John Doe",
9 reset_url: "https://admin.yourstore.com/reset-password?token=xyz",
10 },
11})