One Resend Integration, Two Email Flows: Transactional and Marketing Email in a Next.js Template

How a pluggable delivery layer kept the email architecture clean, and what the real implementation revealed about the decisions worth…