Himalaya 3 is a low-level CLI over a unified mail API: the same commands on every backend, the protocol-specific ones beside them, plain text for a glance and --json for scripts, frontends and AI agents. Daily-mail comfort (tables, colours, relative dates, rich composition) moves to frontends such as himalaya-tui and to mml, and the offline side to the pimdir store Neverest syncs, which Himalaya reads and queues its writes into.
The wizard, the m2dir backend and the display options are gone, an unknown configuration key fails the load, and every failure carries a stable code. MIGRATION.md lists what to act on when upgrading from 2.x.
Added
-
Added the account-level
tlstable (tls.provider,tls.rustls.crypto,tls.cert,tls.client.cert,tls.client.key), inherited field by field by every network backend.A backend's own
tlswins, so one trusted certificate reaches IMAP, SMTP, ManageSieve, JMAP, Gmail and Microsoft Graph alike. -
Added
tls.client.certandtls.client.keyto every network backend, a client certificate presented for mutual TLS.native-tls reads a PKCS#8 key only.
-
Added
maildir.layout,fsby default ormaildir++for a Dovecot or Courier store.The root is the inbox,
.a.blists asa/b, and a level holding a dot is refused. -
Added
message.reply.posting-styleandmessage.forward.posting-style, global or per account, the style used without--posting-style([#772]). -
Added the first-run welcome: at a terminal without a configuration, a command prints the missing path and the commands copying config.sample.toml in place, then exits 1.
Under
--jsonor with stderr piped, the error names the path and the sample instead. -
Added config.sample.toml to the Nix package and the release archives as share/doc/himalaya/config.sample.toml, which install.sh installs under its prefix.
-
Added a stable
codeto the JSON failure object for the failures a caller is expected to act on,nullotherwise.json-schema himalaya-errordescribes the object and lists every code. -
Added the item and mailbox codes
message-not-found,mailbox-not-found,message-unreadable,mailbox-unreadable,mailbox-duplicate,message-too-complex,thread-not-found,identity-not-foundandsubmission-not-found. -
Added the server refusal codes
permission-denied,quota-exceeded,rate-limited(a Google daily quota included) andrecipient-refused. -
Added the usage codes
usage-invalid,capability-missing,search-invalid,search-unsupported,page-token-invalid,stdin-taken,attachment-too-large,attachment-invalidandrequest-origin. -
Added the account codes
account-missing,account-default-missing,account-default-severalandbackend-not-built, the last naming the cargo feature to rebuild with. -
Added the pimdir codes io-pimdir gives a store, its queue and its search index.
Store:
store-version,store-uncreated,store-foreign,store-corrupt,store-not-current,store-hash-algo,store-busy,store-owned,store-staging,store-in-flight,store-exposed,store-reset,source-empty,store-account-ambiguous,store-account-unknown,sync-version,lock-replaced.Queue and index:
body-pending,item-duplicate,flag-invalid,action-malformed,conflict-unread,unsupported,no-performer,ambiguous-performer,row-not-found,confirmation-required,index-missing,index-outdated,index-version,index-zone-unknown,index-fts5-missing,query-refused,query-unanswerable,tag-refused. -
Added
errorstoenvelope list|search,mailbox list,flag add|set|removeandmessage copy|move|delete, one item error{id, code, error, sources}per item the command could not list or act on.A non-empty
errorsexits 3. In text each entry prints as anError:line after the items. -
Added a JSON Schema for every command,
himalaya-errorfor the failure object, and.eventsschemas for whatimap rawandsieve rawprint before their result. -
Added
totaltoenvelope list --json, how many messages the mailbox holds,nullon Gmail and Microsoft Graph and forenvelope search. -
Added
--page-tokentoenvelope list|searchandjmap email|mailbox|submission query, taking back thenextPagea page printed,nullon the last page.It is refused beside
--page, and a token no listing printed failspage-token-invalid. -
Added
--page-tokentomsgraph messages list,mail-folders listandmail-folders child-folders, following as is the Graph next link they print asnextPage.A query option beside it is refused (exit 2), the link carrying the query.
-
Added a library target, which himalaya-tui pins by git revision to run Himalaya's commands in-process, with no semver promise beyond the CLI grammar and
--json. -
Added
himalaya repl, a session running one command per line over clients connected once for the session.Piped, every line gets exactly one answer; a line setting
-a,-c,--log-levelor-b, or reading stdin (stdin-taken), is refused. -
Added
himalaya mcp, a Model Context Protocol server over stdio exposing the account's unified API as tools named after their command.Only the reading tools are listed by default:
--allow-writeadds the writes and--allow-sendthe sends, which keep no copy without--allow-write. -
Added the MCP tool
attachment_downloadand theattach-dataargument ofmessage_compose,message_replyandmessage_forward([#805], [#806]).Both refuse a part over
himalaya mcp --max-attachment-size, 10 MiB by default, codedattachment-too-large. -
Added
account capability, listing what the account serves of the unified API: per capability its backend, its level (full,partial,server,none) and the detail. -
Added a capability table per backend: a unified command reaching a capability its backend declares
noneis refused before connecting, codedcapability-missing.The
--helpof every unified command ends with a generatedBackends:footer listing those levels. -
Added
mailbox create,mailbox renameandmailbox deleteto the unified API, on every backend.A delete takes the messages the mailbox holds; on pimdir each is queued for the sync engine.
-
Added the
importantandjunkflags (RFC 8457$Important,$Junk) toflag add|set|remove.Graph refuses
junk, Gmail'sjunkis theSPAMlabel, and Maildir needsmaildir.keywords.dovecot. -
Added
vacation getandvacation set, reading and changing the auto-reply on JMAP and Gmail, whatever configured backend holds the mail.IMAP refuses it, naming
himalaya sieve. -
Added
message parse [EML], printing themessage readview of a raw message from a file or stdin with no account,--partand--sectionwriting one part. -
Added
--stdouttoattachment download, writing one part's decoded bytes to stdout, or{id, mime, filename, size, data}withdatain base64 under--json.It takes exactly one part id, no id or several being refused
usage-invalid, exit 2, before connecting. -
Added
contentIdtoattachment list --json. -
Added
--all(-A) tomessage reply, replying to everyone but the account's own address ([#779]). -
Added the source's attachments to
message forward,--no-attachmentsleaving them out ([#780]). -
Added the
answeredflag to the source ofmessage reply --sendand theforwardedflag to that ofmessage forward --send([#778]).Gmail and Microsoft Graph keep no
answeredflag, so a reply there flags nothing. -
Added
date,messageIdandattachmentsto the JSON templatemessage compose|reply|forwardprint without--saveor--send.attachmentslists{filename, mime, size}with no bytes: hand the files back through--attach. -
Added
--notify,--retand--envidtosmtp send, requesting delivery status notifications (RFC 3461) ([#775]).The command fails when the server does not announce
DSN. -
Added
from,dateandflagsto eachimap threadentry, the flags as the server spells them, asimap fetchprints them. -
Added the IMAP mailbox roles a plain
LISTmarks with a special-use attribute (RFC 6154), shown bymailbox listand taken by-m.A
mailbox.alias.<role>still wins. -
Added
jmap request, sending one whole JMAP request object and printing{response}, as Cardamum's does.jmap query, taking a method-calls array, stays as a hidden command. -
Added
gmail requestandmsgraph request, sending one request to the Gmail or Microsoft Graph API and printing{response}, the provider's answer.A URL off the API's origin is refused before the session opens, coded
request-origin. -
Added
msgraph messages send-draft, sending an existing Microsoft Graph draft ([#787]). -
Added
--no-categoriestomsgraph messages update, removing every category of the message. -
Added
pimdir search, searching the account's mail in the pimdir query language (SEARCH.md §8) from the store's search index.--sort,--threadsand--page-tokenshape the answer; each hit carries its envelope, mailboxes and a snippet, andcoveragesays what the index could not see. -
Added
pimdir count, counting the account's mail a query matches, with its coverage. -
Added
pimdir thread, listing the thread of a message from the search index, oldest first, a member the store cannot read undererrors(exit 3). -
Added
pimdir tag, queueing a flag change on every message a query matches,--dry-runqueueing nothing, a placement whose flags were never read printingflagsnull. -
Added
pimdir flag list|add|set|remove, reading and staging any flag of a pimdir message by its raw spelling, keywords included ([#790]). -
Added
pimdir mailbox list, listing each mailbox with itstotalandunreadcounts and thecoveragethe sync engine last listed it within. -
Added
pimdir mailbox create,renameanddelete, queueing the change for the sync engine to apply on the server.A delete takes the messages; a mailbox holding other mailboxes parks, naming them.
-
Added
pimdir message addandpimdir message send, staging a message and printing its link id asidwith its queue row. -
Added
pimdir queue show, printing a row aspimdir queue listdoes, then itsstate(pending,parked,unconfirmed,applied),appliedAtandrefusals. -
Added
pimdir attachment listandpimdir attachment search, the files the account's messages attach, newest first, each with thepartattachment downloadtakes. -
Added
pimdir performer, showing which sources can perform an intent (mail.submit,collection.create,collection.rename,collection.delete) and recording the user's choice. -
Added
pimdir status, reporting per mailbox how many messages carry a local body and how many writes are queued, with the parked rows and the standing refusals. -
Added the role of a pimdir mailbox, recorded by the sync engine:
mailbox listshows it, and a role name addresses the mailbox wherever one is taken.
Changed
-
BREAKING: Changed the top level, the account blocks and the
messagetable to refuse an unknown key, naming it and its line, as every other table did.An
m2dirblock, a v1backendorfoldertable and the rest of a v1[message]table are refused with them; himalaya-tui's keys go under[tui]and[accounts.<name>.tui]. -
BREAKING: Changed the configuration loading to read every existing default path as a layer, each deep-merged on top of the ones before.
$XDG_CONFIG_HOME/himalaya/config.toml, then $HOME/.config/himalaya/config.toml, then $HOME/.himalayarc, which therefore overrides;
-cstill replaces them. -
BREAKING: Changed
-c/--configto take one path per flag, never split on:: repeat-cto merge several files. -
BREAKING: Changed the default account resolution to refuse several accounts marked
default = true, naming them. -
BREAKING: Changed
-a defaultto name an account calleddefault, where it took the account marked default. -
BREAKING: Changed
pimdir.accountleft unset to be derived from the accounts holding mail, several being refused codedstore-account-ambiguous.A
pimdir.accounta store holding collections does not hold is refused codedstore-account-unknown, where it read as an empty account. -
BREAKING: Changed every
httporhttpsURL, a JMAPserverand an HTTP proxyurl, to take an ASCII host only: write an internationalised one in Punycode. -
Changed the default of
envelope.list.datetime-fmtto%F %Rand ofenvelope.list.datetime-local-tzto true, printing dates in the local timezone. -
Changed config.sample.toml into one account listing every key of every backend, commented at its default or an example value.
-
Changed
imap.id.autoto send Himalaya'sname,version,vendorandsupport-urlwhenimap.id.fieldsis unset, rather thanID NIL([#774]).An explicit empty
imap.id.fieldsstill sendsID NIL. -
Changed the Nix package to build from the repository's package.nix.
-
BREAKING: Changed every
--jsonkey to camelCase (messagesTotal,nextPage,threadId,uidValidity), values and provider passthrough keeping their spelling.The TOML configuration stays kebab-case, and the
json-schematitles are named*Output(EnvelopeListOutput). -
BREAKING: Changed every
--jsonoutput to data: a write prints what it acted on rather than a{"message": ...}sentence.message copy|moveprint{count, queued}, a send or a save{id, saved, sent, queued, errors},message delete{action, count, ids, queued, errors}and a protocol write{id}or{ids}. A send only queued on pimdir printssent: false; MIGRATION.md lists every shape. -
BREAKING: Changed byte outputs under
--jsonto{data, size, mime}in base64:message read --raw,jmap email exportand the raw Gmail and Graphgets and attachment downloads. -
BREAKING: Changed the shapes a concept takes to one: flags
{raw, iana},imap fetchaddresses{name, email},imap searchids numbers, attachment rowsrolerather thaninline.Himalaya's own outputs print
nullrather than omit a key. -
BREAKING: Changed
subjecttonullfor a message without one in every envelope andimap threadentry, where it printed"". -
BREAKING: Changed an envelope's
sizetonullwhen the backend gives none, where it printed0: always on Microsoft Graph, sometimes on JMAP and pimdir. -
BREAKING: Changed a UTC instant to end with
Zinimap fetch --internal-dateand themessage readview, where it ended with+00:00. -
BREAKING: Changed
message read --jsonto print the envelope row and a view the same on every backend, no longer mail-parser's model of the message.The view holds
headers(addresses as{name, email}, the unreadable ones underinvalid), the decodedtextandhtml, andparts. A message nested deeper than 8 levels, or holding more than 200 parts or 500 header lines, failsmessage-too-complex. -
Changed piped
--jsonoutput to print one value per line, and eachjson-schemaschema to carry an$idnaming the contract version. -
BREAKING: Changed a command line Himalaya refuses under
--jsonto print the failure object codedusage-invalidon stdout, still exiting 2.Exit 2 is now clap's alone: a printed result that is not a full success exits 3.
-
BREAKING: Changed a bare
himalaya --jsonto fail codedusage-invalid, exit 2, where it printed the help. -
BREAKING: Changed a server's refusal in the
gmail,msgraph,jmap,sieveandsmtpnamespaces to print as the command's result and exit 3, where it printed the failure object and exited 1.An HTTP or JMAP refusal prints
{refusal: {status, reason, message, code, retryAfter}}, asieveNO{status, code, text}, a refusedsmtp send{refusals: [{rcptTo, code, text}]}. -
BREAKING: Changed every
imapcommand to print its completion,statusbeside what it understood, aNOorBADprinting{status, text}and exiting 3.imap rawandsieve rawprint untagged and data responses as events, then the completion, andsmtp rawprints{code, text}; their text form prints every line as received. -
BREAKING: Changed
imap rawto print each response from its exact octets, one that is not UTF-8 printing as anundecodedevent{base64}, where its 8-bit bytes became U+FFFD. -
BREAKING: Changed the values a protocol command refuses itself to fail with the command line, coded
usage-invalid, exit 2, before the password command runs.An
imap fetch|store|copy|movesequence set,jmap submission creategiven one side of the envelope,msgraph messages updatenaming no change,smtp send --notify neverbeside another condition, and animap rawcommand without a tag of its own. -
BREAKING: Changed the
gmail,msgraphandjmapcommands to print the provider's payload as it sent it, every property kept, where they printed typed rows dropping what the type did not model.gmail profile getprintsemailAddress,gmail messages listmessagesrather thanids,gmail history listGmail's records rather thanmessages-added-details, the Gmail settings lists their own key rather thanresponse,msgraph messages list --countGraph's@odata.count. -
BREAKING: Changed
gmail labels getandmsgraph mail-folders getto take one id and print that label or folder, where they took several and printed a list. -
BREAKING: Changed
jmap email delete|update|copy,jmap mailbox destroy,jmap identity deleteandjmap submission cancelto print{ids, errors}and exit 3 when the server refused part of the set, where they exited 1. -
BREAKING: Changed
jmap email get|query,jmap mailbox get|query,jmap thread get,jmap identity getandjmap submission get|queryto print anerrorsentry per id the server did not find, exiting 3. -
BREAKING: Changed
jmap email parseto printbodiesas[{blobId, body}], besideerrorsfor the blobs not found or not parsable, exiting 3. -
BREAKING: Changed
sieve checkandsieve putto print the server'swarningsas a list of lines,[]when none. -
BREAKING: Changed
account checkto print{accounts: [{account, backends}]}, each backend row{backend, ok, code, error, tls}, and exit 3 when one fails, where it exited 0.tlsholds what a backend reached over TLS was configured with,TLSin text, and isnullfor a local backend or a cleartext connection. -
BREAKING: Changed
account listto name the backends the build serves underbackendsand the ones it leaves out undernotBuilt. -
BREAKING: Changed the composers' JSON template to carry addresses as envelopes do,
froman object{name, email}ornullandto,ccandbcclists of them, where they were strings. -
BREAKING: Changed
maildir create|rename|deleteto print the folder's path asid, the id the unifiedmailboxcommands take, andmaildir listrows to gainid. -
BREAKING: Changed
maildir message saveandmbox message savetomaildir message addandmbox message add,savestaying a hidden alias.Their JSON schemas are now
himalaya-maildir-message-addandhimalaya-mbox-message-add. -
Changed
maildir message copy|moveandmbox message copy|moveto print the ids the messages got in the target rather than the source ids. -
Changed
imap copyandimap moveto print each ofsourceUidsbeside the UID it got indestinationUids, inCOPYUIDorder. -
Changed
imap selectto print the first unseen message's number asfirstUnseen,unseenbeing a count, and its text to show the recent count, the flags and the highest mod-sequence. -
BREAKING: Changed every list to print as plain text, one item per line in columns two spaces apart, with no header row, border, colour or truncation, the way
mscanprints a mailbox.Label: valuefields (Account:,Mailbox:,Page:,Next page:) print above the items and the item errors below, a blank line apart. A message prints its id, the*unread,Ranswered,!flagged and@attachment columns, its date, its senders and its subject. -
BREAKING: Changed the records to print as aligned
Label: valuelines:account check,imap select|status|id|fetch,jmap vacation-response get,sieve capability, the Gmail and Microsoft Graphgets and the header block ofmessage read.imap searchandimap sortno longer end with a count. -
Changed
--helpto print without colour, each paragraph on one line. -
Changed
attachment downloadto printSaved <size> bytes to <path>per file written. -
Changed the write confirmations on a pimdir account to say the write is queued (Message queued for sending), the sync engine applying it later.
-
BREAKING: Changed
envelope searchto read the pimdir SEARCH query language (§8), aspimdir search, Calendula and Cardamum do:from:alice date:2026-11-02.. is:unread "weekly sync".order byis now--sort newest-first|oldest-first|title|sender|relevance, Maildir and mbox match whole words, and a~,/or{form is reserved (search-invalid). A clause the backend cannot search failssearch-unsupported: a prefix (repo*) on Gmail, an instant or an amount back from now (date:2d) on Microsoft Graph, which compares days. MIGRATION.md maps every v2 clause. -
BREAKING: Changed
jmap email read --jsonto print{emails, errors}, each email as the server sent it, an id not found anerrorsentry codedmessage-not-found(exit 3). -
BREAKING: Changed
sieve deactivate --jsonto print{id}, the script active before,nullwhen none was. -
BREAKING: Changed
flag add|set|removeandmessage copy|move|deletegiven ids the mailbox does not hold to print each as amessage-not-foundentry and exit 3, the others acted on ([#777]). -
BREAKING: Changed a send whose follow-up failed to print its receipt and exit 3: a copy refused after the send and a reply's
answeredflag are item errors of the receipt. -
BREAKING: Changed a JMAP, Gmail or Microsoft Graph
message read, and the source read ofmessage reply|forwardandattachment list|download, to failmessage-not-foundwhen the mailbox given does not hold the message. -
BREAKING: Changed
envelope listandenvelope searchon Maildir and mbox to list a message holding no header field as amessage-unreadableentry, exiting 3. -
BREAKING: Changed
envelope listandenvelope searchto refuse--page 0, which listed every envelope:--page-size 0lists the whole mailbox. -
BREAKING: Changed
--no-saveofmessage compose,replyandforwardto require--send. -
BREAKING: Changed
-f/--flagofmessage add,imap append,imap store,maildir message addandmbox message addto take one value per occurrence: repeat-ffor several flags. -
BREAKING: Changed
message add|send, the protocol saves,sieve put|check,jmap queryandenvelope searchto read an option after their positional as the option, where it became message, script or query text.A word opening on a hyphen goes after
--. -
BREAKING: Changed
maildir flag setandmbox flag setto require at least one-f, wherembox flag setwithout one cleared every flag. -
BREAKING: Changed
maildir message addto refuse-fwith--subdir new, its default: pass--subdir cur. -
BREAKING: Changed
--no-saveon a Microsoft Graph send to fail before connecting withcapability-missing, Graph filing every message it sends in Sent Items. -
Changed a Microsoft Graph send to ignore
--saveandmessage.send.save-copy, andmessage addor a composer's save without--sendthere to fail before connecting withcapability-missing. -
BREAKING: Changed
mailbox liston Microsoft Graph to leavetotalandunreadnullwithout--counts. -
BREAKING: Changed
message read --seenon pimdir to fail when the\Seencannot be staged, where it read the message unseen and exited 0. -
Changed
mailbox list --countsto list a mailbox whose counts could not be fetched without them, beside amailbox-unreadableentry. -
Changed IMAP flag writes to refuse a keyword the mailbox's
PERMANENTFLAGSdoes not allow, codedcapability-missing. -
Changed
message deleteon an account with neithermailbox.alias.trashnor a mailbox the backend marks as the trash to fail withcapability-missingbefore moving anything. -
Changed a
--backendnaming a block the account does not configure to fail withcapability-missing. -
Changed a JMAP send to fail with
capability-missingbefore uploading anything when the server lacksurn:ietf:params:jmap:submission. -
Changed every build carrying a mail transport to parse the same unified commands, refusing those it cannot serve with
capability-missing.json-schemano longer varies with the backends compiled in. -
Changed the shared send over SMTP to connect for each send and close after it.
-
Changed
smtp sendto check--mail-fromand--rcpt-toas RFC 5321 mailboxes when the command line is read. -
Changed a PLAIN or SCRAM password to be prepared with SASLprep (RFC 4013) before it is sent or derived from.
-
Changed the Gmail listings and writes to batch their requests, 50 messages a request, where they sent one request per message.
A throttled part is sent again up to three times; a message Gmail refuses is an
errorsentry, the others listed or written. -
Changed the Microsoft Graph writes to patch, copy, move and delete through
$batch, where they sent one request per message and stopped at the first failure.Each message Graph refuses is an
errorsentry coded by its status, the others written. -
Changed the JMAP listings to report an email or a mailbox that does not deserialize as an
errorsentry, where the whole command failed. -
Changed
message send --save,message add --sendand a composer's--send --saveon Gmail to label the message Gmail filed underSENT, rather than insert a second message. -
Changed an IMAP account on iCloud to sort client-side when
imap.sort.fallbackis unset. -
Changed the subject and display names of an IMAP envelope to be decoded as
message readdecodes a header, raw 8-bit bytes that are not UTF-8 reading as Windows-1252. -
Changed
message readto unwrap aformat=flowedtext part (RFC 3676), and a reply to quote it unwrapped. -
Changed
message readto read malformed but common mail: raw 8-bit headers, a character split between encoded words, UTF-8 labelledus-ascii, an invalidContent-Type. -
Changed UTF-7 (RFC 2152) text to be shown as written.
-
Changed the size
attachment listreports and the bytesattachment downloadwrites to be the part's decoded bytes in its own charset, an attached message written alone. -
Changed the root Maildir to list as
INBOXwith the inbox role, or.when a top-levelinboxfolder takes the role, where it listed under its folder's basename. -
Changed a Maildir mailbox to be taken by its name, its absolute path, with
.segments or a trailing slash, every spelling resolving to one id. -
Changed a
mailbox.alias.<role>naming no mailbox id to mark the role of the listed mailbox carrying that name, on every backend. -
Changed the mbox backend to refuse a keyword
X-Keywordswould not give back: holding a whitespace, a comma or a control character, or longer than 255 bytes. -
Changed an mbox mailbox name holding a NUL or a
.or..level, or a level starting with.or ending in.lock,.lckor.msf, to be refused wherever a mailbox is taken. -
BREAKING: Changed the pimdir backend to pimdir storage-v1, sync-v1 and search-v1 (io-pimdir 1.0.0): a store an earlier release wrote is refused
store-versionand its indexindex-version, never migrated.Sync it with the neverest that wrote it until
pimdir queue listlists nothing, move its directory aside, then let a v1 neverest sync a new store (MIGRATION.md). -
Changed a pimdir store a later release wrote to be read while its
read_versionis at most 1, judged by itsstore_metaalone. -
Changed a pimdir
message copyormessage moveinto a mailbox its source does not sync to be applied under a source syncing it, and to park when none does (pimdir SYNC §7). -
Changed a pimdir store whose directory or pimdir.db another user can read to be refused with
store-exposed:chmod 700the directory andchmod 600pimdir.db. -
BREAKING: Changed the pimdir queue rows to print
row, the integer row id, withhandlebeside it, the row under the store's identity, where they printedqueueId.pimdir queue showandqueue canceltake the handle, checked against the store, or the bare row id. -
BREAKING: Changed
pimdir queue listto list the whole account,-m/--mailboxnarrowing it to one, where it listed the inbox when-mwas omitted. -
BREAKING: Changed
pimdir queue listto print{actions, parked, errors, refused}, each row{row, handle, kind, collection, linkId, itemId, producer, queuedAt, attempts, unconfirmed, error, subject}.Every pending row is listed whatever its kind, the parked ones with why, a row that does not decode under
errors(exit 3), a change a server refused for good underrefused. -
Changed
pimdir queue cancelto take a parked row and print itskindandunconfirmed, refusing a row it cannot cancel before asking. -
Changed the pimdir writes to be refused before they are queued when a source of the store does not support them, naming the capability, the source and why.
A send is refused while several sources can send and none is chosen, and coded
no-performerwhen no source syncs the mailbox. -
Changed
flag add,flag removeand the\Seena read stages on a pimdir account to state the flags they were read from, so a flag a sync changes meanwhile survives. -
Changed a
message deleteormessage movequeued on a pimdir message a sync left in conflict to be parked by the sync engine rather than applied. -
Changed a pimdir send asking for a copy to carry it in the queued send, so the copy is filed only once the message is sent.
-
Changed
message addand a composer's save on a pimdir account to refuse a message whoseMessage-IDthe mailbox holds or has queued, codeditem-duplicate. -
Changed
message copyandmessage moveon a pimdir account to fail for a message whose body is not local when the account does not sync the target mailbox yet. -
Changed
envelope listandenvelope searchon a pimdir account to read only what the page needs, where they read every message of the mailbox.
Deprecated
- Deprecated
-ifor--inlineonattachment listandattachment download,-imeaning--interactiveacross the family: the help shows--inlinealone,-istill taken as a hidden alias.
Removed
-
BREAKING: Removed the configuration wizard: bare
himalayarunning it, theconfigurecommand (aliaswizard), thewizardcargo feature and thehimalaya-configureJSON Schema.Write the configuration from config.sample.toml, as the first-run welcome shows.
-
BREAKING: Removed the m2dir backend: the
himalaya m2dircommands,-b m2dir, them2dircargo feature and its JSON Schemas.An
m2dirblock is refused as an unknown key: move to a Maildir or a pimdir store. -
BREAKING: Removed the
*.list.table.*-coloroptions,table.presetandtable.arrangement.The
table,attachmentand top-levelaccountblocks are refused as unknown keys. -
BREAKING: Removed the
envelope.list.table.unseen-char,replied-char,flagged-charandattachment-charoptions, theenvelope.list.tableblock being refused as an unknown key. -
BREAKING: Removed
envelope.list.datetime-relative([#510]), now refused as an unknown key. -
BREAKING: Removed the
HIMALAYA_CONFIGenvironment variable: pass-c "$HIMALAYA_CONFIG", one-cper path. -
BREAKING: Removed
-w/--max-widthfromenvelope list,envelope searchandmailbox list, nothing being truncated anymore. -
BREAKING: Removed
tmpfrom the--subdirvalues ofmaildir message add|copy|move. -
BREAKING: Removed
deleted,deletedStorageandhighestModSeqfromimap status, which never requested them and printed themnull.
Fixed
-
Fixed a
mid:search over IMAP finding nothing on iCloud: the id is sent in angle brackets, as is the UID lookup of anAPPENDanswered withoutAPPENDUID. -
Fixed
envelope listover JMAP leaving the order to the server: it asks for the newest first, asenvelope searchdoes. -
Fixed a
message copyormessage moveon a pimdir account joining a second message into a mailbox another source holds it in already.It needs a neverest on the same io-pimdir.
-
Fixed the text error report writing the control characters of its causes raw to the terminal.
-
Fixed
--log-filecreating the file under the umask and following a symbolic link: it is created at 0600 and a link is refused. -
Fixed
himalaya manualprintingvv<version>, leaving out the pages of the nested commands and pointing SEE ALSO at pages it did not write. -
Fixed a configuration parse error printing its TOML source line, and a refused secret echoing its value.
-
Fixed a failing secret command saying nothing: it names its program and exit status, never its output ([#745]).
-
Fixed a
tls.certthat cannot be opened failing with a bareNo such file or directory: the command fails before connecting, naming the file. -
Fixed install.sh exiting 127 after a successful install and saving an HTTP error page as the archive.
-
Fixed a JMAP date search missing mail whose
Date:carries an offset east of UTC. -
Fixed
message read,attachment list|download,message replyandmessage forwardon IMAP sendingSELECT sentfor a role: the mailbox resolves asenvelope listresolves it. -
Fixed the Gmail envelopes splitting an address header on a comma inside a quoted name (
"Doe, John" <john@x.org>). -
Fixed
gmail labels updateclearing the label's colour and visibility. -
BREAKING: Fixed the IMAP
ENVELOPEgroup markers printing as addresses inenvelope list,envelope searchandimap fetch:To: undisclosed-recipients:;lists no recipient. -
Fixed
attachment downloadwriting parts before refusing an id the message does not hold, and failing on a name past 255 bytes, now cut at a character boundary. -
Fixed
attachment downloadkeeping control and bidirectional formatting characters in a file name, which can disguise an extension, and naming a part. .as.. -
Fixed
attachment downloadcreating its files readable by others: they are created 0600. -
Fixed
attachment downloadfollowing a dangling symlink, or overwriting an existing file once the name suffixes ran out. -
Fixed
attachment downloadwithout an id writing the inline partsattachment listleaves out: they are written with the new--inlineonly. -
Fixed saving the mbox cache taking time quadratic in the mailbox.
-
Fixed the mbox envelope cache being readable by every user of the host: its directory is kept at 0700 and its files at 0600.
-
Fixed a Maildir write reading the folder once per id: one read looks them all up.
-
Fixed the Maildir and mbox listings holding every message of the mailbox in memory.
-
Fixed each JMAP blob download on another host running the credential command again and opening a new connection.
-
Fixed every Microsoft Graph command naming a mailbox listing the whole folder tree first.
-
Fixed a Gmail search flattening an
andunder anorinto alternatives: an alternative holding more than one term is wrapped in parentheses. -
Fixed
envelope list|search --page-size 0on Gmail reading the first 100 messages and on Microsoft Graph 10: every page is read. -
Fixed
pimdir queue cancelcancelling a row of another account or app sharing the store. -
Fixed
pimdir queue cancelreshaping the store's schema to Himalaya's io-pimdir revision, dropping what another app's revision keeps. -
Fixed
imap rawpanicking on a literal holding a byte that is no UTF-8, and splitting such a literal into responses. -
Fixed a mistyped path, such as one holding a colon, being stored as a message by
message addand the other commands taking a message: a value naming no file must open on a header field. -
Fixed
sieve activate ""deactivating every script: an empty name is refused,sieve deactivatedeactivating. -
Fixed a move onto its own mailbox writing anyway on mbox, Maildir, IMAP and pimdir: it changes nothing and counts the messages.
-
Fixed a
Date:naming the wrong weekday reading as no date on Gmail and misplacing the message in IMAP's client-side date sort. -
Fixed
mailbox list --countson Microsoft Graph counting a folder's contacts and events with its messages. -
Fixed an IMAP
message deletein the trash that found no id reportingflaggedand advising an expunge ([#814]). -
Fixed an IMAP listing dropping a message whose
FETCHline does not decode: it is listed with the items that decoded, beside amessage-unreadableentry ([#801]). -
Fixed a Maildir listing skipping an unreadable message file or folder with a warning only: each is a
message-unreadableormailbox-unreadableentry. -
Fixed the Microsoft Graph lookups counting every 400 as an id or a folder not found.
-
Fixed a send over SMTP running again the credential command the IMAP block already ran ([#813]).
-
Fixed a send taking from its headers an envelope address holding a control character or a line break: it fails naming the address before anything is written.
-
Fixed
scram-sha-256on IMAP and SMTP failing as an unsupported mechanism. -
Fixed an IMAP answer holding lines that do not decode being printed as whole: a warning counts the skipped lines, and a server
ALERTis logged. -
Fixed an IMAP command line holding a literal being sent before the server's go-ahead.
-
Fixed an IMAP greeting carrying a literal panicking.
-
Fixed IMAP commands failing to decode a
NOwith UTF-8 in its text, such as Dovecot naming a non-ASCII mailbox. -
Fixed mbox writes and listings failing, or editing the wrong bytes, on an index another client made stale: the index is rebuilt and the operation tried once more.
-
Fixed a JMAP send the server refused leaving the imported message in the drafts mailbox.
-
Fixed a JMAP send saying nothing when the server sends the message but leaves it in the drafts: a warning says so.
-
Fixed a JMAP submission refused as
tooLarge,forbidden,overQuotaorrateLimitreading asunknown. -
Fixed a Gmail label type or setting value Himalaya does not know failing the whole answer.
-
Fixed
message readprinting unquoted a MIME parameter value that is no RFC 2045 token. -
Fixed
mailbox list --countson pimdir leavingunreadnull. -
Fixed malformed multiparts reading with the wrong structure, such as three attached messages read as one; part ids follow the corrected structure on such mail.
-
Fixed a header field whose name holds a blank being read as the field it spells, and a body line being read as
From:after an unusualDatezone. -
Fixed
flag add|set|removewithansweredordrafton Gmail and Microsoft Graph, andmessage add -f answered|drafton Gmail, reporting success while changing nothing: they fail withcapability-missing. -
Fixed
flag seton Gmail failing whole by naming theDRAFTlabel. -
Fixed Gmail date clauses being off by a day: each bound is sent as the Unix seconds of the UTC day.
-
Fixed a JMAP date clause under
notororbeing checked as if it stood alone: it reads the server's received date. -
Fixed
hasAttachmentreading differently per backend: IMAP, Maildir, mbox and pimdir follow one rule ([#802]).Any disposition but
inlinecounts; with none, a part counts unless text, multipart or named by aContent-ID; a signature or an encrypted part never does. -
Fixed
account listnever namingpimdiramong an account's backends. -
Fixed
account checkrefusing an account declaring only a pimdir block: the store is opened, its mailboxes listed and a producer probed. -
Fixed a pimdir add or send writing its body before the store accepted the write, so a collector could delete it or a refused write leave it behind.
-
Fixed
bodysearch clauses never matching on a pimdir account. -
Fixed a pimdir flag change queueing a row for a message that already shows the result.
-
Fixed
flag addandflag removeon a pimdir account replacing every flag of a message whose flags the sync engine never read: they fail saying so. -
Fixed
flag removeon a pimdir account missing a flag the store holds in another spelling (\seen, Thunderbird'sJunk). -
Fixed a pimdir write on several messages staging the first ones before failing on a later one: the rows are one batch, all staged or none.
-
Fixed Maildir mailboxes being named by their last path segment: they are named by their path relative to
maildir.root(himalaya-tui#22). -
Fixed control and bidi characters from messages and servers reaching the terminal through the plain output.
-
Fixed pimdir queue details in the unified outputs:
envelope listreports noqueuedcount and a send prints noqueueId,pimdir queue listshowing what is queued. -
Fixed
message compose,replyandforwardwriting aMessage-IDon the machine's hostname: it sits on the domain of theFromaddress. -
Fixed
message copy|moveon IMAP without MOVE reporting a copied message as not found when theCOPYUIDcannot be read, such as Mailo's UIDVALIDITY 0 ([#781]). -
Fixed a raw message piped on stdin being cut at its first line that is not valid UTF-8 and still reported as sent or saved: stdin and message files are read whole as bytes ([#786]).
-
Fixed the plain output of the writes,
sieve get|list|capabilityandjmap querynot ending with a newline, andjmap email parserunning its bodies together ([#777]). -
Fixed the
envelope searchquery errors carrying ANSI colour escapes, even inside the--jsonerror string. -
Fixed
message deletein a JMAP trash destroying an email other mailboxes held too. -
Fixed the writes on JMAP, Gmail and Microsoft Graph acting on an id of another mailbox: an id counts only when its message is in the mailbox given.
On Graph,
message delete -m trashgiven the id of a message in another folder deleted it for good. -
Fixed
message deletein the trash reporting every id given as deleted: it counts the ids the trash held. -
Fixed
flag add|set|removeandmessage copy|move|deleterunning on no id, and acting twice on a repeated one. -
Fixed Maildir and mbox writes given an unknown id among known ones failing part-way: every id is looked up before the first write.
-
Fixed a Maildir store listing failing on a plain file beside its folders (dovecot-uidlist), and listing phantom mailboxes through a symlink back to a folder.
-
Fixed the Maildir info flags being written out of ASCII order (
:2,SFfor:2,FS), and an experimental:1,info section being read as flags. -
Fixed a missing
maildir.rootormbox.rootlisting as an empty store: it fails naming the root. -
Fixed the Maildir and mbox mailbox writes taking a blank name or one holding a control character, and creating over or renaming onto an existing Maildir.
-
Fixed
maildir deleteand a Thunderbird-layoutmbox deleteremoving the mailboxes held under the one deleted, and the Maildir root being deletable: both are refused. -
Fixed a Thunderbird-layout mbox rename orphaning the
.sbddirectory of its children: it moves with the mbox. -
Fixed an mbox flag write leaving Thunderbird's
X-Mozilla-StatusandX-Mozilla-Keysout of step. -
Fixed mbox reads carrying the
Status,X-Status,X-Keywords,X-Mozilla-*andContent-Lengthfields the store writes, somessage read --rawgives back the message added. -
Fixed the mbox commands deleting or renaming the spool the mail system delivers to: it is refused, as IMAP refuses it for
INBOX. -
Fixed
INBOXon mbox withoutmbox.inboxaddressing a missing file of that name below the root: it fails namingmbox.inbox. -
Fixed mbox listing and appending to files that are no mbox: a non-empty file not opening on a
From_line is left out and refused. -
Fixed an mboxcl or mboxcl2
Content-Lengthrunning past a message boundary merging the messages after it under one id. -
Fixed a busy mbox lock failing uncoded: a lock held past
mbox.lock.timeoutfailsstore-busy, and a denied dotlock namesmbox.lock.dotlock = false. -
Fixed
message deleteon Maildir moving the trash's messages to the trash again when the trash was named by path or alias. -
Fixed a copy or move between Maildirs carrying dovecot keyword letters verbatim: with
maildir.keywords.dovecotthey are renamed through the target's file. -
Fixed a Maildir that cannot be searched reading as
missing cur/ subdirectory: the permission error names the path. -
Fixed the local
bodysearch clause matching case-insensitively in ASCII only. -
Fixed the client-side sort of Maildir, mbox, pimdir, Gmail, Microsoft Graph and IMAP's fallback to follow RFC 5256: base subject, first address's mailbox, case ignored.
-
Fixed an IMAP keyword search naming a registered keyword in another case being sent as typed:
junksendsKEYWORD $Junk. -
Fixed IMAP searches negating a group or an address clause, which iCloud answered wrongly: negations are pushed onto single keys.
-
Fixed a UID Fastmail's
SORTlists twice being listed twice. -
Fixed
imap listsending a non-ASCII pattern unencoded and anLSUBpattern unquoted, which iCloud refuses. -
Fixed
imap fetch --structureprinting the server's uppercase MIME types. -
Fixed
imap copyandimap movesaying the messages were copied or moved when noCOPYUIDsaid so. -
Fixed
imap threadon a server without the algorithm'sTHREAD=capability failing with a parse error: it is refused withcapability-missing. -
Fixed a JMAP write failing whole on one refused id: each is an
errorsentry coded by its SetError type, the others written. -
Fixed
message add, a save and a send on a JMAP server forbidding duplicates (Fastmail) failing on bytes the account holds: the existing email is filed or submitted. -
Fixed the JMAP set and method errors dropping the type, description and arguments the server sent.
-
Fixed setting the JMAP vacation response on Fastmail failing after the update was applied.
-
Fixed a JMAP mailbox name matching none being sent to the server, and one two mailboxes carry resolving to the first: both are refused.
-
Fixed
jmap email readprinting server values unsanitized and running two emails together. -
Fixed the JMAP
querycommands returning the objects in the server's order rather than the query's. -
Fixed
jmap email updatedropping the patches a replacement overrode and accepting no change: both are refused. -
Fixed a Gmail search pattern widening the search with the operators it held: each pattern is a literal.
-
Fixed a Gmail reply or forward added or sent outside its thread: it carries the parent's
threadId. -
Fixed a Gmail mailbox naming no label failing with Gmail's error: it is refused naming the value.
-
Fixed the Gmail snippets printing their
<b>marks and HTML entities. -
Fixed Gmail ids, label ids and addresses reaching the request paths unencoded.
-
Fixed the Microsoft Graph roles dropping at random,
-m sentthen reaching Graph as a folder id. -
Fixed
mailbox liston Microsoft Graph leaving out the nested folders and every folder past the first page: a nested one is named by its path (Projets/Alpha). -
Fixed a Microsoft Graph mailbox naming no folder being sent into the request path: it is refused, and every id is percent-encoded.
-
Fixed the Microsoft Graph envelopes being dated by arrival: the date is the
Date:header, else the arrival. -
Fixed a Microsoft Graph search pattern holding KQL syntax widening the search: each word is a quoted KQL phrase, a phrase one quoted string.
-
Fixed
flag seton Microsoft Graph leaving the categories it did not name. -
Fixed
msgraph messages list --searchfailing on a value holding:or-. -
Fixed
msgraph attachments listlisting the first page alone: it follows every next link. -
Fixed an attached
message/rfc822being written base64, which RFC 2046 forbids, and a forward dropping theContent-Typeparameters of the source's attachments. -
Fixed a composed single-part message not ending with a line break, a quoted empty line carrying a trailing blank, and the reply or forward JSON template carrying CRLF line breaks.
Security
- Bumped rustls to 0.23.46, fixing RUSTSEC-2026-0346 to RUSTSEC-2026-0349: TLS secrets exposed by
Debug, a downgrade to classical key exchange, and an unbounded certificate decompression. - Bumped ctutils to 0.4.6, rustls-webpki to 0.103.16 and webpki-root-certs to 1.0.11, fixing RUSTSEC-2026-0382, RUSTSEC-2026-0383 and RUSTSEC-2026-0385.
- Fixed IMAP
LOGINandAUTHENTICATElogging credentials at trace level. - Fixed a server making Himalaya buffer without end: an HTTP response head is capped at 64 KiB, a body at 256 MiB, and a
STARTTLSresponse line is capped too. - Fixed a SCRAM server announcing fewer than 4096 or more than five million iterations being accepted.