Marketing & Newsletter
Send promos, weekly new-arrivals and monthly bestsellers campaigns. Use the controls below to trigger campaigns manually from the admin.
New Arrivals (Weekly)
Send the weekly digest of approved new products. Use this after approving products or run on schedule.
Bestsellers (Monthly)
Send the top sellers + related recommendations. Run monthly or after sales spikes.
Send Promo
Choose a discount and send to recent customers. Discounts are managed in the Discounts area.
Security note: This page triggers real emails. Make sure this route is only accessible to admin users.
Tip: wire these endpoints to your `lib/emails/sendMarketingemails.ts` functions (e.g. `/api/marketing/new-arrivals`, `/api/marketing/bestsellers`, `/api/marketing/promo`) and keep an audit log for sends.
