Introduction
Sending emails from controllers lets your app notify users right after they do something, like signing up or ordering.
After a user signs up, send a welcome email.
When a user resets their password, send a reset link.
Notify admins when a new order is placed.
Send confirmation emails after a form submission.