Repository navigation
v3.2.0
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 aheaders_onlymode and a configurable
byte cap with an explicit truncation marker so huge messages can't flood the
context. Uses Mail'smessage idproperty and resolves localized inbox
names viabuild_mailbox_ref.list_inbox_emailsnow surfacesmessage_id,internet_message_idand a
mail_linkin both its JSON and text output, matchingsearch_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 viaNSCharacterEncodingDocumentAttribute.
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
- @ahharvey made their first contribution in #66
- @elfensky made their first contribution in #76
- @atlascodesai made their first contribution in #77
Full Changelog: v3.1.8...v3.2.0