Skip to content

v2.35.0

Choose a tag to compare

@github-actions github-actions released this 04 Jun 10:29
· 55 commits to main since this release

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 EmailAttachment and EmailAttachmentMeta types; attachments_meta? added to EmailSummary / EmailDetail.
  • Local guard rejects attachments together with template before 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 :type suffix is omitted.

MCP (run402-mcp)

  • send_email gains an attachments parameter (raw HTML mode only), with the same template-mode guard surfaced as an error.