Skip to content
17 step-by-step guides

Build real features.
Copy, paste, ship.

Practical Next.js tutorials for the parts every app needs: email, login, databases, uploads, caching and AI.

Start here · 15 min

How to Send Email from Next.js (App Router + Server Actions)

Build a working contact form and a welcome email in a Next.js App Router app, with the API key kept on the server and no SMTP setup.

Read the guide
  • A contact form that emails you through a Server Action
  • A reusable sendEmail() helper that only runs on the server
  • A welcome email sent when a user signs up
  • Friendly errors for bad input and rate limits

Email

Contact forms, templates, resets and reminders.

Database & Auth

Postgres, sign-up and login, protected routes.

Storage

File and image uploads straight to S3.

Redis & Jobs

Rate limits, caching and background work.

AI

Chatbots and AI features with any model.

Full projects

End-to-end builds that tie it all together.