I'm currently using Cron from next-schedule to send templated emails at specific times via AWS SES, and while this setup works, I’m looking for a cleaner and more maintainable way to manage these email templates.
Ideally, I’d like to write the email templates using server-side rendered React components in Next.js, rather than maintaining separate static templates. This would allow for better organization, reusability, and potentially dynamic content rendering.
Is it possible to use SSR React components to generate email content that can be sent via AWS SES? If so, what would be the best approach to implement this? Any guidance or examples would be greatly appreciated!
I am new to Next but have solid React experience and apologize in advance for my ignorance. Thanks