mirror of
https://github.com/xtr-dev/payload-mailing.git
synced 2025-12-10 08:13:23 +00:00
The sendEmail function now properly populates the template relationship field when using template-based emails. This ensures: - Template relationship is set on the email document - templateSlug field is auto-populated via beforeChange hook - beforeSend hook has access to the full template relationship - Proper record of which template was used for each email 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
3.2 KiB
3.2 KiB