Clerk starter module
Account emails
Coordinates account and security messages with the customer's current Clerk state.
- Files
- 5
- Lines
- 123
- Languages
- TypeScript
Included files
This page lists paths and purposes, not source contents.
FilePurposeLanguageLines
src/emails/configured-provider.ts
Selects the transactional email provider named in the environment.
TypeScript
18 lines
src/emails/console-provider.ts
Development email provider: prints account emails to the server terminal.
TypeScript
16 lines
src/emails/security-alert-email.ts
Alerts the app operator after an account is suspended.
TypeScript
33 lines
src/emails/send-email.ts
Sends one account email through a provider supplied by your app.
TypeScript
22 lines
src/emails/welcome-email.ts
Sends the welcome message for a newly provisioned account.
TypeScript
34 lines