v2.35.0
Email attachments
Outbound email from a project mailbox can now carry binary attachments. Raw HTML mode only (subject + html, not templates): up to 5 files, with each file and the decoded total both capped at 7 MB. The platform sends a multipart/mixed MIME, and sent messages echo attachments_meta (filenames, content types, sizes - never the bytes) on list/get.
Backwards-compatible: existing template and raw sends are unaffected. Mirrors the gateway contract shipped in the private repo (#467).
SDK (@run402/sdk)
SendEmailOptions.attachments?: EmailAttachment[]-{ filename, content_base64, content_type }.- New
EmailAttachmentandEmailAttachmentMetatypes;attachments_meta?added toEmailSummary/EmailDetail. - Local guard rejects
attachmentstogether withtemplatebefore the request leaves the client.
CLI (run402)
run402 email send --attach <path>[:content-type]- repeatable. Reads the file, base64-encodes it, and infers the content type from the extension when the:typesuffix is omitted.
MCP (run402-mcp)
send_emailgains anattachmentsparameter (raw HTML mode only), with the same template-mode guard surfaced as an error.