caelum0x 3548b394ab fix: carry original attachments over when forwarding an email
The web UI has no attachment-upload control, so Forward always sent the
new message with an empty attachments list — any attachment on the
original email was silently dropped instead of being included, unlike
every real email client. Copy the original email's R2-stored
attachments to the forwarded message's id and include them both in the
outgoing send and the stored Sent-folder copy.

Added workers/lib/attachments.test.ts (RED before the copyAttachments
implementation, GREEN after).

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-10-21 03:39:51 +03:00
..