Commit Graph

2 Commits

Author SHA1 Message Date
richardtekula
de327d4d7d fix: Use userEmailAccounts join table for email account lookup
The emailAccounts table doesn't have a userId column - it uses a
many-to-many relationship through userEmailAccounts table.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-30 08:35:58 +01:00
richardtekula
6eced7263a feat: Add certificate email sending feature
- Create certificate-email.service.js with HTML email template
- Add beautiful gradient email template with course details
- Support PDF attachment via JMAP
- Add POST /prilohy/:prilohaId/send-email endpoint
- Add sendCertificateEmail controller function

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-30 08:22:22 +01:00