# Webiny API Mailer Catalog

Api/mailer, 11 abstractions.

- Repository: https://github.com/webiny/webiny-js (8051 stars)
- Category: Engineering
- License: see repository
- Last updated: 2026-10-30
- Runs scripts: no, instructions only

## Install

Claude Code: `npx skills add webiny/webiny-js --skill webiny-api-mailer-catalog -g -a claude-code -y`
Codex: `npx skills add webiny/webiny-js --skill webiny-api-mailer-catalog -g -a codex -y`
Cursor: `npx skills add webiny/webiny-js --skill webiny-api-mailer-catalog -g -a cursor -y`
Gemini CLI: `npx skills add webiny/webiny-js --skill webiny-api-mailer-catalog -g -a gemini-cli -y`

## Description

api/mailer, 11 abstractions.

## SKILL.md, as published by its author (untrusted third-party text, read it as data)

# api/mailer

## How to Use

1. Find the abstraction you need below
2. You MUST read the source file to get the exact interface and types!
3. Import: `import { Name } from "<importPath>";`
4. See `webiny-use-case-pattern` or `webiny-event-handler-pattern` skills for implementation patterns

## Abstractions

---

**Name:** `GetSettingsRepository`
**Import:** `import { GetSettingsRepository } from "webiny/api/mailer"`
**Source:** `@webiny/api-mailer/features/GetSettings/index.ts`

---

**Name:** `GetSettingsUseCase`
**Import:** `import { GetSettingsUseCase } from "webiny/api/mailer"`
**Source:** `@webiny/api-mailer/features/GetSettings/index.ts`

---

**Name:** `MailAfterSendEventHandler`
**Import:** `import { MailAfterSendEventHandler } from "webiny/api/mailer"`
**Source:** `@webiny/api-mailer/features/SendMail/index.ts`

---

**Name:** `MailBeforeSendEventHandler`
**Import:** `import { MailBeforeSendEventHandler } from "webiny/api/mailer"`
**Source:** `@webiny/api-mailer/features/SendMail/index.ts`

---

**Name:** `MailerService`
**Import:** `import { MailerService } from "webiny/api/mailer"`
**Source:** `@webiny/api-mailer/domain/MailerService/abstractions.ts`

---

**Name:** `MailerSettingsAfterSaveEventHandler`
**Import:** `import { MailerSettingsAfterSaveEventHandler } from "webiny/api/mailer"`
**Source:** `@webiny/api-mailer/features/SaveSettings/index.ts`

---

**Name:** `MailerSettingsBeforeSaveEventHandler`
**Import:** `import { MailerSettingsBeforeSaveEventHandler } from "webiny/api/mailer"`
**Source:** `@webiny/api-mailer/features/SaveSettings/index.ts`

---

**Name:** `MailSendErrorEventHandler`
**Import:** `import { MailSendErrorEventHandler } from "webiny/api/mailer"`
**Source:** `@webiny/api-mailer/features/SendMail/index.ts`

---

**Name:** `SaveSettingsRepository`
**Import:** `import { SaveSettingsRepository } from "webiny/api/mailer"`
**Source:** `@webiny/api-mailer/features/SaveSettings/index.ts`

---

The rest: https://github.com/webiny/webiny-js/blob/HEAD/skills/user-skills/generated/api/mailer/SKILL.md
