- Home
- Skills
- Andrelandgraf
- Fullstackrecipes
- Better Auth Emails
better-auth-emails_skill
- TypeScript
8
GitHub Stars
1
Bundled Files
2 months ago
Catalog Refreshed
4 months ago
First Indexed
Readme & install
Copy the install command, review bundled files from the catalogue, and read any extended description pulled from the listing source.
Installation
Preview and clipboard use veilstrat where the catalogue uses aiagentskills.
npx veilstrat add skill andrelandgraf/fullstackrecipes --skill better-auth-emails- SKILL.md486 B
Overview
This skill adds production-ready email workflows to Better Auth using Resend for reliable delivery. It provides email verification, password reset, and account management templates and wiring that integrate with Better Auth in TypeScript projects. The patterns are built for straightforward installation and customization in full-stack AI web apps.
How this skill works
The skill installs and configures email handlers that trigger on Better Auth events (signup, password reset, profile changes) and sends transactional messages through Resend. It includes ready-made templates, TypeScript integration code, and guidance for wiring the handlers into your authentication flow. If you use the MCP server, the recipe URI supplies the complete resource; otherwise you can fetch the recipe directly via the provided HTTP endpoint.
When to use it
- You need verification emails for new user signups in Better Auth.
- You want secure, user-friendly password reset flows with email links.
- You must notify users about account changes or security events.
- You want production-ready templates and TypeScript integration for a full-stack AI app.
- You prefer using Resend for fast, reliable transactional email delivery.
Best practices
- Use short, mobile-friendly templates and include clear call-to-action links.
- Protect reset and verification tokens with expiration and single-use checks on the server.
- Customize templates to match your branding but keep critical security copy consistent.
- Monitor email events and bounces via Resend to maintain deliverability.
- Store API keys securely and rotate them periodically; use environment variables in TypeScript.
Example use cases
- Send email verificationリンク after a user completes registration to confirm their address and enable full account features.
- Trigger a password reset email with a single-use token when a user requests account recovery.
- Notify users of suspicious sign-in attempts or when their account details change.
- Integrate with onboarding flows to send welcome and setup instructions after verification.
- Automate account deletion confirmations and allow users to reverse accidental requests.
FAQ
No. The MCP server provides a convenient resource URI, but you can fetch the recipe directly via the public HTTP endpoint and apply the instructions locally.
Is Resend required?
Resend is the recommended provider for the included patterns, but you can adapt the templates and handlers to other transactional SMTP or API providers if preferred.