Skip to content

v3.2.0

Choose a tag to compare

@github-actions github-actions released this 05 Jul 03:28
· 137 commits to main since this release
4b41d0d

Added

  • get_email_source — new tool exposing an email's raw RFC 822 source
    (full headers + MIME body) for debugging threading, authentication results,
    and encoding issues (#66). Supports a headers_only mode and a configurable
    byte cap with an explicit truncation marker so huge messages can't flood the
    context. Uses Mail's message id property and resolves localized inbox
    names via build_mailbox_ref.
  • list_inbox_emails now surfaces message_id, internet_message_id and a
    mail_link
    in both its JSON and text output, matching search_emails
    (#76) — inbox listings can be cited as Apple Mail deep links
    (message://…) and targeted by id without a second lookup.
    Backward-compatible with older 5-field records.

Fixed

  • Stored XSS in the inbox dashboard (#77). Attacker-controlled email
    subjects/senders containing </script> could break out of the dashboard's
    embedded JSON <script> block and inject arbitrary HTML. JSON injected into
    the template now escapes <, >, &, and U+2028/U+2029; remaining
    unescaped template interpolations in the account cards were also fixed.
  • Umlauts, ß, and emoji no longer garble when pasting HTML bodies into
    Mail
    (#79). The Cocoa HTML→RTF importer auto-detected the charset and
    defaulted to Latin-1, double-decoding UTF-8 bytes into mojibake
    ("Grüße" → "Grüße") on both the plain and HTML compose paths. The
    importer is now pinned to UTF-8 via NSCharacterEncodingDocumentAttribute.

What's Changed

  • fix: pin HTML->RTF importer to UTF-8 so umlauts/ß/emoji survive paste to Mail by @patrickfreyer in #79
  • feat: add get_email_source tool for raw RFC 822 access by @ahharvey in #66
  • feat: surface message_id + mail_link in list_inbox_emails (parity with search) by @elfensky in #76
  • Fix stored XSS in inbox dashboard (script-context breakout + innerHTML sinks) by @atlascodesai in #77
  • release: v3.2.0 by @patrickfreyer in #81

New Contributors

Full Changelog: v3.1.8...v3.2.0