feat: add configurable attachment limits for email service

Closes #358
This commit is contained in:
Dries Augustyns
2026-04-29 08:48:03 +02:00
parent 10946511b0
commit 2eb407993b
7 changed files with 27 additions and 9 deletions
@@ -787,8 +787,8 @@ describe('EmailService', () => {
}
});
it('should validate attachment size limit (10MB total)', () => {
// Exceeds ~13.3M base64 chars limit
it('should validate attachment size limit (10MB total default)', () => {
// Exceeds ~13.4M base64 chars for the default 10MB limit
const largeContent = 'A'.repeat(14000000);
const result = ActionSchemas.send.safeParse({