Webiny API Mailer Catalog
Developmentwebiny-api-mailer-catalogWebiny API Mailer Catalog is an Agent Skill for development published in the webiny/webiny-js repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
api/mailer — 11 abstractions.
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Inspect the Agent Skill at https://github.com/webiny/webiny-js/blob/HEAD/skills/user-skills/generated/api/mailer/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/webiny-api-mailer-catalog, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
api/mailer
How to Use
- Find the abstraction you need below
- You MUST read the source file to get the exact interface and types!
- Import:
import { Name } from "<importPath>"; - See
webiny-use-case-patternorwebiny-event-handler-patternskills 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
Name: SaveSettingsUseCase
Import: import { SaveSettingsUseCase } from "webiny/api/mailer"
Source: @webiny/api-mailer/features/SaveSettings/index.ts
Name: SendMailUseCase
Import: import { SendMailUseCase } from "webiny/api/mailer"
Source: @webiny/api-mailer/features/SendMail/index.ts