v0.7.27 — Outlook message links are now normalized to canonical web URLs,
preventing malformed or inconsistently encoded links in email results.
v0.7.26 — Email results now include a provider-native webUrl when
available, or a per-message webUrlUnavailableReason. Links are returned by
browse, new-email, attachment, compose, draft, and organization tools. Outlook
refreshes post-move IDs and links with an OWA fallback, Gmail returns
account-aware links, and generic IMAP reports that web links are unsupported.
v0.7.25 — Gmail reauthorization now replaces any cached client after
persisting fresh OAuth credentials, so subsequent operations do not reuse
stale credentials and fail with invalid_grant.
v0.7.24 — search_emails now accepts provider-neutral from, to, and
cc filters in addition to optional free text. Criteria combine with AND,
while cc searches both CC and BCC recipients consistently across Outlook,
Gmail, and IMAP.
v0.7.23 — IMAP reply drafts now retain the referenced message as quoted
history and canonicalize generated MIME line endings before IMAP APPEND, so
servers that reject bare newlines can save reply drafts successfully.
v0.7.22 — Fixed IMAP edit_draft updates so body-only edits preserve
the draft's existing recipients, subject, reply context, and attachments.
v0.7.21 — send_email and draft_email now treat the exact string
"false" for inReplyTo as the boolean false, so agents that serialize
that explicit new-message marker as text can forward with forwardMessageId
instead of incorrectly triggering the reply/forward exclusivity check.
v0.7.20 — Hardened long-running IMAP and new-email polling paths:
IMAP connections now use explicit connection/greeting/socket/operation
timeouts, reset stuck connections, and report post-TLS authentication
failures with account-specific remediation guidance. get_new_emails now
applies per-account timeouts during candidate collection and hydration so one
hanging account does not block all-account polling; partial timeout failures
are returned alongside successful accounts' emails.
v0.7.19 — Hardened Outlook ID handling when Microsoft Graph $search
returns IDs that /me/messages/{id} rejects as malformed: search_emails
now returns a translated readable immutable ID when available, and
read_email retries malformed/stale IDs through translateExchangeIds
before failing. list_emails also falls back from localized folder display
names such as Éléments envoyés to the matching Graph folder ID.
v0.7.18 — search_emails can now omit account to search all
registered accounts in parallel, returning account-annotated results plus
per-account errors without discarding successful matches. All-account
get_new_emails polling also collects and hydrates per-account batches in
parallel while preserving the global oldest-first limit.
v0.7.17 — Hardened Outlook message IDs returned by list_emails and
search_emails: Outlook reads now request Microsoft Graph immutable IDs,
search_emails probes results and marks stale/not-found messages with
stale: true, and read_email / read_attachment keep a legacy mutable-ID
fallback for older IDs. Graph errors now include structured diagnostic details
when available.
v0.7.16 — Hardened draft_email after successful draft creation:
if post-save readback fails, the tool now returns the created draft ID with
warning and draftReadbackError instead of losing the draft behind an
error. Compose operations also emit sanitized HYPERMAIL_DEBUG stage logs,
IMAP drafts now use the server-advertised \\Drafts mailbox when present,
and the CLI supports --version.
v0.7.15 — Hardened IMAP draft creation: drafts now append directly to
the Drafts mailbox, retry without the \\Draft flag when an IMAP server
rejects flagged APPEND, and preserve IMAP reply/forward context in drafts the
same way send_email does. IMAP operations for a single account are serialized
to avoid shared-connection races, and IMAP write failures now include safe
server response details instead of only Command failed. Account setup
responses no longer expose stored provider tokens/passwords. Also rejects
multiline plain text passed as format: "html", and adds the Hermes
get_new_emails poller example.
v0.7.14 — Added opt-in HYPERMAIL_DEBUG structured stderr logs with
redaction for server startup, account-store locking/checkpoint writes, and
get_new_emails candidate/claim flow. Hardened Outlook edit_draft body
updates by requesting Graph's updated representation, re-reading with retries,
and returning an error instead of edited: true if the requested body change
is not observable; Outlook body edits also get one safe replay after attachment
handling when the final read is stale.
v0.7.13 — Hardened get_new_emails against duplicate delivery when
multiple MCP processes share the same encrypted account store. Store writes
now reload and merge under a cross-process lock, checkpoints are monotonic,
and new-email batches are atomically claimed before being returned. trash_email
also now uses provider-native trash operations for Gmail and IMAP trash aliases.
v0.7.12 — Hardened Outlook reply/forward draft formatting when
Microsoft Graph labels generated thread history as HTML but returns
plain/unstructured text. Such histories are now defensively normalized with
escaped content and line breaks so quoted messages remain readable.
v0.7.11 — Fixed Outlook reply/forward drafts whose Graph-generated
quoted bodies are plain text by escaping them and patching the draft as HTML,
so newly composed HTML replies no longer render as raw text.
v0.7.10 — Fixed an account-store race where Gmail/Outlook token
refreshes could overwrite get_new_emails checkpoints. Checkpoint updates now
preserve token data and merge delivered IDs at the same timestamp. edit_draft
body edits now require exact selected-section replacement (old_text +
new_text) so reply/forward history is preserved instead of overwritten.
v0.7.9 — Replaced server-side email watch/webhook/script delivery with
the pull-based get_new_emails tool. Agents schedule their own repeated calls
and fetch bounded batches of new inbox email.
v0.7.8 — Default Gmail loopback redirect URI changed from random-port
/oauth2callback to fixed http://127.0.0.1:33333/callback (still overridable via
HYPERMAIL_GMAIL_REDIRECT_URI). .data/ encryption key directory added to
.gitignore.
v0.7.7 — Env-only configuration. Runtime config now comes from flat
HYPERMAIL_* environment variables plus selected CLI overrides. Config files
and legacy provider env names are no longer read. Hosted Gmail OAuth callbacks
are supported via HYPERMAIL_GMAIL_REDIRECT_URI; local loopback and manual
completion still work.
v0.7.6 — Gmail setup uses OAuth authorization URLs instead of Google's
rejected device-code flow for Gmail API scopes. complete_add_account accepts
a final redirected URL or raw code/state, and provider credentials use
dedicated HYPERMAIL_GMAIL_* / HYPERMAIL_OUTLOOK_* env vars.
v0.7.5 — Attachments via file path on send_email/draft_email
(attachments param). edit_draft gains new_attachments and
remove_attachments — add_attachment_to_draft is removed (23 tools now).
Draft editing uses multi-strategy thread boundary detection for more reliable
quoted-thread preservation. Published CLI installs the MCP SDK dependency so
global/npx runs do not fail on a missing SDK module.
v0.7.4 — inReplyTo is now a required parameter on send_email and
draft_email (was optional). Set it to false for a new email, or pass a
message ID to thread a reply. This forces the agent to make an explicit choice
instead of silently treating replies as new conversations.
v0.7.3 — edit_draft now preserves the quoted thread history when editing
Outlook reply/forward drafts. Previously, editing a draft body would overwrite
the entire content — including the quoted thread. Now only the answer part
(above the spacer delimiter) is replaced.
v0.7.1 — Every config field is now settable via a dedicated
HYPERMAIL_* env var. Legacy provider env vars are no longer accepted. See
Environment Variables for the full reference.