All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
-
Added ManageSieve support behind the
sievecargo feature, on by default (#739).An account gains an optional
[sieve]block, andhimalaya sieveexposescapability,list,get,put,check,activate,deactivate,rename,deleteandraw. The protocol lives in the new io-managesieve library, so every SASL mechanism the other backends accept works here too, and a password or a bearer token is refused over an unencrypted connection unlesssieve.allow-cleartext-authsays otherwise.A bare
sieve.serverauthority resolves tosieve://with STARTTLS on, where theimapandsmtpones resolve to their implicit-TLS scheme: RFC 5804 registers one port, 4190, and defines STARTTLS as the way to TLS on it.sieves://is accepted for the deployments listening for a TLS handshake straight away, andunix://for a local pre-authenticated proxy.
-
Fixed
completionwriting files instead of printing the completion script to the standard output (#736).The script has been documented as going to stdout since the command exists, but the directory it fell back on turned
himalaya completion bashinto a file-writing command printing a report, which broke every packaging helper capturing stdout, Homebrew'sgenerate_completions_from_executableamong them. Giving--dirkeeps writing one script per shell.manualandjson-schemafollow the same shape, so the three behave alike: they print to stdout the single page or schema they are asked for, they take their directory through--dirwhere it used to be a positional argument, and they accept command names (himalaya,himalaya-envelope,himalaya-envelope-list) to select what to generate. Restoring the documented behaviour is a regression fix rather than a breaking change, hence the patch release, and generating completions, manual pages or schemas is not a daily gesture. -
Fixed
maildir messages copyleaving an empty message behind when the process died mid-copy (#738).The copy wrote straight to the name the target mailbox lists, so a death inside it left a 0-byte entry that
envelope listshows as an ordinary message with blank columns, thataccount checkcalls healthy, and that onlymessage readrejects. The copy is now staged and renamed, so an interrupted copy leaves nothing behind in the mailbox. -
Fixed maildir flag writes doing nothing to a message still unread in a mailbox's
newdirectory (#637).message read --seenandflag addreported success and left the message untouched, since a Maildir name innewhas nowhere to carry a flag. The message now moves tocurunder the same id with its flags in the name, the transition every other Maildir client performs when it takes a message out ofnew.
2.1.0 - 2026-08-16
-
Added the
pimdirstorage backend, Himalaya over the local store the sync engine populates.Reads build envelopes from the stored meta and report a body that is not local as "body not fetched"; writes are staged as replica mutations attributed to
pimdir.source, auto-detected when the store has a single source. -
Added back the
emailanddisplay-nameconfig fields, at the global and the account level (#721).They fill the
Fromheader ofmessages compose,replyandforwardwhen--fromis not passed, and are also read asfromandfrom-name, the spellings himalaya-tui writes. -
Added back the
signatureandsignature-delimconfig fields, at the global and the account level.The composers append the signature when neither
--signaturenor--signature-fileis passed,signature-delimdefaulting to the RFC 3676 §4.3"-- \n"and written verbatim. -
Added
in_reply_toto the shared envelope (#734).A list of ids stripped of their angle brackets like
message_id, riding the JSON output only, left empty by Microsoft Graph. -
Added the shared
message delete <ids>command (aliasdel).Trash-first: messages are moved to the trash mailbox, resolved from the backend role then from
mailbox.alias.trash, or permanently removed when already in it. -
Added the
maildir.keywords.dovecotandmaildir.keywords.headerconfig fields.Surface custom Maildir keywords as flags, read from each mailbox's dovecot-keywords file or from
X-Keywords/X-Label; reading only, both off by default. -
Added the
imap.sasl-irconfig field, forcing the RFC 4959 initial response on or off (#729).Unset follows the advertised
SASL-IRcapability;falseis needed by Coremail (126.com, 163.com), which advertises it then rejects the inline form. -
Added a
--seenflag tomessage read, marking the message as seen while reading it. -
Added the
configurecommand (aliaswizard), running the account wizard by name.The first-run offer is now a hook rather than a gate: the command carries on afterwards, and nothing prompts when stdin is not a terminal or
--jsonis set. -
Added back the
HIMALAYA_CONFIGenvironment variable, read like-cand taking the same:-delimited list. -
Added the shared Pimalaya
--helpfooter, naming the bug tracker and the sponsoring page.
-
Made the configuration wizard discovery-only, removing the hand-entry flow.
An email, a domain, a
scheme://URL or a local folder path all run discovery, and the wizard stops when nothing is found rather than guessing an SMTP host. -
Reworked
message read's plain-text output into a concise reading view.A header block (Date, From, To, Cc, Subject), then one summary line per MIME part with plain-text parts inlined;
--rawand--jsonare unchanged. -
Aligned the
IDofmessage read,attachments listandattachments downloadon the MIME part's 1-based position, making attachment ids a sparse subset of it. -
Right-aligned the
SIZEcolumn of the envelope listing table (#723). -
Made the wizard write the account to the configuration file rather than only print it.
The file is where
-corHIMALAYA_CONFIGpointed, or the XDG default; an existing one gets a plain text append, so comments and formatting survive. -
Made the first-run offer open with a welcome banner on stderr, naming the configuration file it looked for;
himalaya configureskips it. -
Changed bare
himalaya --account <NAME>to show the help instead of running the account wizard. -
Made the wizard offer only the IMAP authentication mechanisms an unauthenticated CAPABILITY advertises, falling back to the full list on any probe failure.
-
Time-bounded the wizard's service discovery, so one unreachable endpoint no longer stalls it for the operating-system connect timeout.
-
Made the wizard offer to reuse the IMAP credentials for SMTP, prompting only the SMTP endpoint on accept.
-
Changed
gmail messages get --headerandgmail threads get --headerto narrow the rendered headers under every format, not only--format metadata. -
Changed
imap rawto send a byte-verbatim batch of tagged commands.Literal
\r/\nescapes decode to CRLF and the reply is read until every command is acknowledged;smtp rawdecodes the same escapes but stays a single command.
-
Fixed
configure --jsonemitting a payload no schema described:json-schema <DIR>now writes himalaya-configure.json. -
Fixed
--fromcarrying a display name composing aFrom: <Alice <alice@example.org>>no SMTP server accepts (#727).The value is parsed as a mailbox, the name reaching the MIME builder apart from the address.
-
Fixed commands dying mid-exchange with a bare
Resource temporarily unavailable (os error 35)(#731, #732).The transport now retries a stream reporting it is not ready, for a minute, and arms a socket read deadline at connect time.
-
Fixed lean cargo feature combinations failing to compile.
The config schema no longer reaches for disabled backends' ALPN defaults, and every shared command is gated on the storage or send backend it needs.
-
Fixed
message read --raw --jsonerroring: the two now combine, emitting the raw RFC 5322 bytes as a JSON string. -
Fixed the Gmail and Microsoft Graph
getcommands wrapping their data in amessagestring under--json(#730).Gmail
messages get,drafts get,threads get,history listand thesettingsreaders now serialize their data, as does Microsoft Graphmessage get, each with a published JSON Schema. -
Fixed
gmail drafts get --format rawprinting the draft summary instead of the raw message it had fetched.
-
Removed the assets/himalaya.desktop entry and the Nix line installing it.
Every functional line of it had stopped working,
Exec=himalaya %Uanswering a mailto: link withunrecognized subcommand; handling mailto: is left to a wrapper of your own, as MIGRATION.md describes.
2.0.0 - 2026-07-26
-
Added Gmail REST API support: a
[gmail]account backend behind the shared commands and a protocol-specificgmailcommand.Exposes the full REST surface (profile, labels, messages, attachments, drafts, threads, history, settings), authenticating with a single OAuth 2.0 bearer token, the only authorization the API accepts.
-
Added Microsoft Graph REST API support: a
[msgraph]account backend behind the shared commands and a protocol-specificmsgraphcommand.Exposes the Graph mail surface (profile, mail-folder, message, attachment) and mirrors
[gmail], authenticating with a single OAuth 2.0 bearer token. -
Restored the RFC 2971
ID-after-auth quirk asimap.id.{auto, fields}, replacing the v1.2.0imap.extensions.id.send-after-authflag. -
Brought the
m2dirbackend to CLI feature parity withmaildir, minus mailboxrenameand messagecopy/move, which await io-m2dir support. -
Added
--save <MAILBOX>tomessages send, mirroring the flag onmessages compose/reply/forward. -
Added
--sendtomessages add(aliasmessages save), mirroringmessages send --save. -
Added the raw passthrough commands
imap raw <command>andsmtp raw <command>. -
Added
mailbox.alias.*pre-filling to the wizard, so a generated account has a workinginboxand known Sent/Drafts/Trash targets.JMAP reads the RFC 8621 roles live, Gmail and Microsoft Graph map their fixed system ids, and IMAP pins the reserved
INBOXalone until io-imap can issue LISTRETURN (SPECIAL-USE). -
Added the
json-schema <DIR>command, writing one JSON Schema per structured-output command (#547).Describes each
--jsonpayload for downstream tooling; only compiled-in backends are emitted. -
Added a system DNS resolver fallback to discovery, making the chain
HIMALAYA_DNS_RESOLVERthen system then1.1.1.1.This keeps the email domain off a third-party resolver and works around networks blocking the default.
-
Added local socket-proxy support:
imap.serverandsmtp.serveraccept aunix:///pathscheme (#264).The session arrives already authenticated from a proxy such as sirup, so no SASL is negotiated over the socket.
-
Flattened the
imapcommand tree into top-level verbs mirroring the protocol's flat command list (select,create,append,store,fetch), replacing themailbox/envelope/message/flagsubgroups. -
Unified raw-message input behind a single
MessageArg(file path, inline raw or piped stdin) across every send and add command, removing the legacy--fileflag onmessages add. -
Split
Accountout of every client wrapper: subcommands now receiveaccountandclientas sibling arguments. -
Breaking: changed bare
himalayato run the account wizard instead of listing the default account's envelopes. -
Changed the wizard to print the generated account as a ready-to-save TOML document on stdout instead of writing it to disk.
The connection is tested before printing, and a config that exists but lacks the requested account is now a hard error rather than a wizard trigger.
-
Reworked the wizard's account-setup flow into one entry per reachable service, then a service-specific authentication prompt.
OAuth 2.0 folds into the credential prompt, which offers the OS keyrings and the token brokers (Ortie, pizauth, oama) together.
-
Changed the wizard to test IMAP first, then ask whether SMTP reuses the same credentials, then test SMTP.
-
Removed the wizard's account-name prompt, the name being derived from the domain's first label or the folder name.
-
Fixed compilation error when the
wizardfeature was disabled (#634). -
Fixed mailbox-alias resolution to apply across every shared
messagessubcommand and the--saveflag oncompose/reply/forward. -
Fixed swapped save and send success messages.
-
Removed the
[message.composer.*]and[message.reader.*]config tables, with thecompose-with/reply-with/forward-with/mailto/read-withsubcommands.The "stdout = MIME draft" contract broke composers spawning an interactive editor; chain a standalone tool such as mml into
messages send/addinstead. -
Dropped
HIMALAYA_CONFIGenvironment-variable support,-c/--configstill taking one or more:-separated paths. -
Removed the
account configurecommand (aliasaccount edit) and its per-field edit wizard, leavingaccount listandaccount checkfor inspection.
1.2.0 - 2026-02-19
- Added
--quietflag (#545). - Added support for custom TLS certificate.
- Added support for multiple config files via
HIMALAYA_CONFIG=path1:path2:…(#612). - Added
-d|--downloads-dirargument toattachment downloadcommand (#559). - Added
ViewandView MIMEpost edit choices (#486). - Made
message sendandtemplate sendreturn id (#627). - Enabled shell expansion for email, IMAP and SMTP login fields, which allows usage of environment variables (#632).
- Bumped all deps, fixing
rustls-platform-verifiercompatibility version issue. - Fixed invalid fetch with NIL body encoding (#525).
- Fixed freeze when sending large attachments (#593).
- Fixed abusive warn logs from IMAP libs (#552).
- Downgraded
toml@0.8due to regression (#611).
1.1.0 - 2025-01-11
- Added
-y|--yesflag forfolder purgeandfolder deletecommands (#469).
-
Put back
warnthe default log level (#522).Since logs are sent to
stderr, warnings can be easily discarded by prepending commands withRUST_LOG=offor by appending commands with2>/dev/null. -
Changed
message.send.save-copydefault totrue(#536). -
Changed default downloads directory. core#1
- Fixed permissions issues when using
install.sh(#515). - Fixed de/serialization issues of backends'
nonevariant (#523). - Fixed list envelopes out of bound error when empty result (#535).
- Fixed macOS x86_64 builds (#538).
1.0.0 - 2024-12-09
The Himalaya CLI scope has changed. It does not include anymore the synchronization, nor the envelope watching. These scopes have moved to dedicated projects:
- Neverest CLI, CLI to synchronize, backup and restore emails
- Mirador CLI, CLI to watch mailbox changes
Due to the long time difference with the previous v1.0.0-beta.4 release, this changelog may be incomplete. The simplest way to upgrade is to reconfigure Himalaya CLI from scratch, using the wizard or the config.sample.toml.
Himalaya CLI will now try to adopt the conventional commits specification. Tools like git-cliff may help us generating more accurate changelogs in the future.
-
Added
message editcommand to edit a message. To edit on place (replace a message), use--on-place. -
Added
account.list.table.presetglobal config option,accounts.<name>.folder.list.table.presetandaccounts.<name>.envelope.list.table.presetaccount config options.These options customize the shape of tables, see examples at
comfy_table::presets. Defaults to"|| |-||| ", which corresponds tocomfy_table::presets::ASCII_MARKDOWN. -
Added
account.list.table.name-colorconfig option to customize the color used for the accounts'NAMEcolumn (defaults togreen). -
Added
account.list.table.backends-colorconfig option to customize the color used for the folders'BACKENDScolumn (defaults toblue). -
Added
account.list.table.default-colorconfig option to customize the color used for the folders'DEFAULTcolumn (defaults toreset). -
Added
accounts.<name>.folder.list.table.name-coloraccount config option to customize the color used for the folders'NAMEcolumn (defaults toblue). -
Added
accounts.<name>.folder.list.table.desc-coloraccount config option to customize the color used for the folders'DESCcolumn (defaults togreen). -
Added
accounts.<name>.envelope.list.table.id-coloraccount config option to customize the color used for the envelopes'IDcolumn (defaults tored). -
Added
accounts.<name>.envelope.list.table.flags-coloraccount config option to customize the color used for the envelopes'FLAGScolumn (defaults toreset). -
Added
accounts.<name>.envelope.list.table.subject-coloraccount config option to customize the color used for the envelopes'SUBJECTcolumn (defaults togreen). -
Added
accounts.<name>.envelope.list.table.sender-coloraccount config option to customize the color used for the envelopes'FROMcolumn (defaults toblue). -
Added
accounts.<name>.envelope.list.table.date-coloraccount config option to customize the color used for the envelopes'DATEcolumn (defaults todark_yellow). -
Added
accounts.<name>.envelope.list.table.unseen-characcount config option to customize the char used for unseen envelopes (defaults to*). -
Added
accounts.<name>.envelope.list.table.replied-characcount config option to customize the char used for replied envelopes (defaults toR). -
Added
accounts.<name>.envelope.list.table.flagged-characcount config option to customize the char used for flagged envelopes (defaults to!). -
Added
accounts.<name>.envelope.list.table.attachment-characcount config option to customize the char used for envelopes with at least one attachment (defaults to@).
-
Refactored the
account configurecommand: this command stands now for creating or editing account configurations from the wizard. The command requires thewizardcargo feature. -
Improved the
account doctorcommand: it now checks the state of the config, and the new--fixargument allows you to configure keyring, OAuth 2.0 etc. -
Improved long version
--version(#496). -
Improved error messages when missing cargo features. For example, if a TOML configuration uses the IMAP backend without the
imapcargo features, the errormissing "imap" featureis displayed ([#20]).(pimalaya/core#20) -
Normalized enum-based configurations, using the internally tagged representation
type =. It should reduce issues due to misconfiguration, and improve othe error messages. Yet it is not perfect, se ([#802]).(toml-rs/toml#802):-
imap.*,maildir.*andnotmuch.*moved tobackend.*:# before imap.host = "localhost" imap.port = 143 # after backend.type = "imap" backend.host = "localhost" backend.port = 143
-
smtp.*andsendmail.*moved tomessage.send.backend.*:# before smtp.host = "localhost" smtp.port = 25 # after message.send.backend.type = "smtp" message.send.backend.host = "localhost" message.send.backend.port = 25
-
pgp.backendrenamedpgp.type:# before pgp.backend = "commands" pgp.encrypt-cmd = "gpg --encrypt --quiet --armor <recipients>" # after pgp.type = "commands" pgp.encrypt-cmd = "gpg --encrypt --quiet --armor <recipients>"
-
{imap,smtp}.authmoved as well:# before imap.password.cmd = "pass show example" smtp.oauth2.method = "xoauth2" # after backend.auth.type = "password" backend.auth.cmd = "pass show example" message.send.backend.auth.type = "oauth2" message.send.backend.auth.method = "xoauth2"
-
-
Moved IMAP and SMTP
encryptiontoencryption.type.This change prepares the config to accept different TLS providers with their options. The
trueandfalsevariant have been removed as well:# before backend.encryption = "none" # or false backend.encryption = "start-tls" message.send.backend.encryption = "tls" # or true # after backend.encryption.type = "none" backend.encryption.type = "start-tls" message.send.backend.encryption.type = "tls"
- Fixed pre-release archives issue (#492).
- Fixed mailto parsing issue. core#10
- Fixed
Answeredflag not set when replying to a message (#508).
- Removed systemd service from
assets/folder, as Himalaya CLI scope does not include synchronization nor watching anymore.
1.0.0-beta.4 - 2024-04-16
- Added systemd service in
assets/folder. - Added configuration option
message.delete.stylethat can be eitherfolder(deleted messages are moved to the Trash folder, default style) orflag(deleted messages receive the Deleted flag). - Added
--debugas an alias forRUST_LOG=debug. - Added
--traceas an alias forRUST_LOG=traceandRUST_BACKTRACE=1. - Added notes about
--debugand--tracewhen error occurs.
- Added back the search feature: you can now give an optional filter and sort query at the end of the
envelope listcommand. Seeenvelope list --helpor pimalaya.org for more detail on the search API. - Changed the
envelope listfolder argument due to the search query: it became a flag--folder|-f. - Made the global
--config|-coption repeatable: the first option is considered the path to the main config, and successive options are considered partial override ([#184]). - Refactored error management: error should be more clear, colored and can now contain spantrace and backtrace.
- Made
--helpcontent wrapping properly thanks to theclapcargo featurewrap_help. - Improved
template {new,reply,forward}command JSON output: they return now a JSON object with 3 properties:content: the content of the templatecursor.row: the row at which the cursor should be placed by the interface using the templatecursor.col: the column at which the cursor should be placed by the interface using the template
- Fixed watch IMAP envelopes when folder was empt ([#179]).
- Prevented parsing of undefined config option ([#188]).
- Fixed
In-Reply-Toheader being skipped from mailto URL ([#194]). - Fixed error page out of bounds when filtering envelopes returned an empty resul ([#195]).
1.0.0-beta.3 - 2024-02-25
- Added
account check-upcommand. - Added wizard warning about google password ([#41]).
-
Removed account configurations flatten level in order to improve diagnostic errors, due to a bug in clap. This means that accounts need to be prefixed by
accounts:[my-account]becomes[accounts.my-account]. It also opens doors for interface-specific configurations. -
Rolled back cargo feature additions from the previous release. It was a mistake: the amount of features was too big, the code (both CLI and lib) was too hard to maintain. Cargo features kept:
imap,maildir,notmuch,smtp,sendmail,account-sync,account-discovery,pgp-gpg,pgp-commandsandpgp-native. -
Moved
sync.strategytofolder.sync.filter. -
Changed location of the synchronization data from
$XDG_DATA_HOME/himalaya/<account-name>to$XDG_DATA_HOME/pimalaya/email/sync/<account-name>-cache. -
Changed location of the synchronization cache from
sync.dirto$XDG_CACHE_HOME/pimalaya/email/sync/<hash>/. -
Replaced id mapping database
SQLitebysled, a pure key-val store written in Rust to improve portability of the tool. Therefore, id aliases are reset. -
Improved pre and post edit choices interactio ([#58]).
-
Improved account synchronization performances, making it 50% faster than
mbsyncand 370% faster thanOfflineIMAP. -
Changed
envelope.watch.{event}.{hook}: hooks can now be cumulated. For example it is possible to send a system notification and execute a shell command when receiving a new envelope:envelope.watch.received.notify.summary = "New message from {sender}" envelope.watch.received.notify.body = "{subject}" envelope.watch.received.cmd = "echo {id} >> /tmp/new-email-counter"
- Fixed bug that was preventing watch placeholders to be replaced when using shell command hook.
- Fixed watch IMAP envelopes issue preventing events to be triggered.
- Fixed DNS account discovery priority issues.
- Fixed SMTP messages not properly sent to all recipient ([#172]).
- Fixed backend feature badly linked, leading to reply and forward message error ([#173]).
1.0.0-beta.2 - 2024-01-27
- Added cargo feature
wizard, enabled by default. - Added one cargo feature per backend feature:
accountincludingaccount-configure,account-list,account-syncand theaccount-subcmdfolderincludingfolder-add,folder-list,folder-expunge,folder-purge,folder-deleteand thefolder-subcmdenvelopeincludingenvelope-list,envelope-watch,envelope-getand theenvelope-subcmdflagincludingflag-add,flag-set,flag-removeand theflag-subcmdmessageincludingmessage-read,message-write,message-mailto,message-reply,message-forward,message-copy,message-move,message-delete,message-save,message-sendand themessage-subcmdattachmentincludingattachment-downloadand theattachment-subcmdtemplateincludingtemplate-write,template-reply,template-forward,template-save,template-sendand thetemplate-subcmd
- Added wizard capability to autodetect IMAP and SMTP configurations, based on the Thunderbird Autoconfiguration standard.
- Added back Notmuch backend features.
- Renamed
folder createtofolder addin order to better match types. An alias has been set up, so bothcreateandaddstill work.
- Fixed default command: running
himalayawithout argument lists envelopes, as it used to be in previous versions. - Fixed bug when listing envelopes with
backend = "imap",sync.enable = trueandenvelope.watch.backend = "imap"led to unwanted IMAP connection creation (which slowed down the listing). - Fixed builds related to enabled cargo features.
1.0.0-beta - 2024-01-01
Few major concepts changed:
- The concept of Backend and Sender changed. The Sender does not exist anymore (it is now a backend feature). A Backend is now a set of features like add folders, list envelopes or send raw message. The backend of every single feature can be customized in the configuration file, which gives users more flexibility. Here the list of backend features that can be customized:
backend(required): the backend used by default by all backend features (maildir,imapornotmuch)folder.add.backend: override the backend used for creating folders (maildir,imapornotmuch)folder.list.backend: override the backend used for listing folders (maildir,imapornotmuch)folder.expunge.backend: override the backend used for expunging folders (maildir,imapornotmuch)folder.purge.backend: override the backend used for purging folders (maildir,imapornotmuch)folder.delete.backend: override the backend used for deleting folders (maildir,imapornotmuch)envelope.list.backend: override the backend used for listing envelopes (maildir,imapornotmuch)envelope.get.backend: override the backend used for getting envelopes (maildir,imapornotmuch)envelope.watch.backend: override the backend used for watching envelopes (maildir,imapornotmuch)flag.add.backend: override the backend used for adding flags (maildir,imapornotmuch)flag.set.backend: override the backend used for setting flags (maildir,imapornotmuch)flag.remove.backend: override the backend used for removing flags (maildir,imapornotmuch)message.send.backend(required): override the backend used for sending messages (sendmailorsmtp)message.read.backend: override the backend used for reading messages (maildir,imapornotmuch)message.write.backend: override the backend used for adding flags (maildir,imapornotmuch)message.copy.backend: override the backend used for copying messages (maildir,imapornotmuch)message.move.backend: override the backend used for moving messages (maildir,imapornotmuch)
- The CLI API changed: every command is now prefixed by its domain following the format
himalaya <domain> <action>. List of domain available by runninghimalaya -hand list of actions for a domain by runninghimalaya <domain> -h. - TOML configuration file options use now the dot notation rather than the dash notation. For example,
folder-listing-page-sizebecamefolder.list.page-size. See the changed section below for more details.
- Added cargo feature
maildir(not plugged yet). - Added cargo feature
sendmail(not plugged yet). - Added watch hooks
envelope.watch.received(when a new envelope is received) andenvelope.watch.any(for any other event related to envelopes). A watch hook can be:-
A shell command:
envelope.watch.any.cmd = "mbsync -a" -
A system notification:
envelope.watch.received.notify.summary = "📬 New message from {sender}": customize the notification summary (title)envelope.watch.received.notify.body = "{subject}": customize the notification body (content)
Available placeholders: id, subject, sender, sender.name, sender.address, recipient, recipient.name, recipient.address.
-
- Added watch support for Maildir backend features.
- Renamed cargo feature
imap-backend→imap. - Renamed cargo feature
notmuch-backend→notmuch. - Renamed cargo feature
smtp-sender→smtp. - Changed the goal of the config option
backend: it is now the default backend used for all backend features. Valid backends:imap,maildir,notmuch. - Moved
folder-aliasesconfig option tofolder.alias(es). - Moved
folder-listing-page-sizeconfig option tofolder.list.page-size. - Moved
email-listing-page-sizeconfig option toenvelope.list.page-size. - Moved
email-listing-datetime-fmtconfig option toenvelope.list.datetime-fmt. - Moved
email-listing-datetime-local-tzconfig option toenvelope.list.datetime-local-tz. - Moved
email-reading-headersconfig option tomessage.read.headers. - Moved
email-reading-formatconfig option tomessage.read.format. - Moved
email-writing-headersconfig option tomessage.write.headers. - Move
email-sending-save-copyconfig option tomessage.send.save-copy. - Move
email-hooks.pre-sendconfig option tomessage.send.pre-hook. - Moved
syncconfig option tosync.enable. - Moved
sync-dirconfig option tosync.dir. - Moved
sync-folders-strategyconfig option tosync.strategy. - Moved
maildir-*config options tomaildir.*. - Moved
imap-*config options toimap.*. - Moved
notmuch-*config options tonotmuch.*. - Moved
sendmail-*config options tosendmail.*. - Moved
smtp-*config options tosmtp.*. - Replaced options
imap-ssl,imap-starttlsandimap-insecurebyimap.encryption:imap.encryption = "tls" | true: use required encryption (SSL/TLS)imap.encryption = "start-tls": use opportunistic encryption (StartTLS)imap.encryption = "none" | false: do not use any encryption
- Replaced options
smtp-ssl,smtp-starttlsandsmtp-insecurebysmtp.encryption:smtp.encryption = "tls" | true: use required encryption (SSL/TLS)smtp.encryption = "start-tls": use opportunistic encryption (StartTLS)smtp.encryption = "none" | false: do not use any encryption
- Disabled temporarily the
notmuchbackend because it needs to be refactored using the backend features system (it should be reimplemented soon). - Disabled temporarily the
searchandsortcommand because they need to be refactored, se ([#39]). - Removed the
notifycommand (replaced by the newwatchcommand). - Removed all global options except for
display-name,signature,signature-delimanddownloads-dir.
0.9.0 - 2023-08-28
- Added 3 new cargo features:
pgp-commands: enables the commands PGP backend (enabled by default, same behaviour as before)pgp-gpg: enables the GPG backend (requires thegpgmelib on the system)pgp-native: enables the native PGP backend
- Added account configuration
pgpto configure the way PGP operations are performed.
- Moved
email-writing-encrypt-cmdtopgp.encrypt-cmd. - Moved
email-reading-decrypt-cmdtopgp-decrypt-cmd. - Moved
email-writing-sign-cmdtopgp.sign-cmd. - Moved
email-reading-verify-cmdtopgp.verify-cmd.
0.8.4 - 2023-07-18
- Fixed windows releases due to cargo deps typo.
0.8.3 - 2023-07-18
- Fixed windows releases due to
coredumpcrate compilation error. - Fixed macos releases due to macos 12 System Integrity Protection.
0.8.2 - 2023-07-18
- Made the code async using the tokio async runtime.
- On Linux, made the kernel keyring the default one (the one based on keyutils).
- Fixed the way folder aliases are resolved. In some case, aliases were resolved CLI side and lib side, which led to alias error ([#95]).
0.8.1 - 2023-06-15
- Implemented OAuth 2.0 refresh token flow for IMAP and SMTP, which means that access tokens are now automatically refreshed and is transparent for users.
- Added
imap-oauth2-redirect-hostandsmtp-oauth2-redirect-hostoptions to customize the redirect server host name (default:localhost). - Added
imap-oauth2-redirect-portandsmtp-oauth2-redirect-portoptions to customize the redirect server port (default:9999). - Added
email-listing-datetime-fmtto customize envelopes datetime format. See format spec here. - Added
email-listing-local-datetimeto transform envelopes datetime's timezone to the user's local one. For example, if the user's local is set toUTC, the envelope date2023-06-15T09:00:00+02:00becomes2023-06-15T07:00:00-00:00.
- Fixed missing
<and>aroundMessage-IDandIn-Reply-Toheaders.
0.8.0 - 2023-06-03
- Added keyring support, which means Himalaya can now use your system's global keyring to get/set sensitive data like passwords or tokens.
- Added required IMAP option
imap-authand SMTP optionsmtp-auth. Possible values:passwd,oauth2. - Added OAuth 2.0 support for IMAP and SMTP.
- Added passwords and OAuth 2.0 configuration via the wizard.
- Added
email-sending-save-copyoption to control whenever a copy of any sent email should be saved in thesentfolder defined infolder-aliases. - Imported id mapper from the lib, which means that the id mapping is now done by the CLI.
- Added
BackendConfigtoAccountConfig::backendto match sender implementation. - Added support for pipeline commands, which means commands can be either a single command (string) or piped commands (list of strings). It applies for:
email-writing-verify-cmdemail-writing-decrypt-cmdemail-writing-sign-cmdemail-writing-encrypt-cmd
-
Changed release archive extensions from
.tar.gzto.tgz. -
Moved
wizardmodule into domains (config, account, backend…). -
[BREAKING] Changed the way secrets are managed. A secret is a sensitive data like passwords or tokens. There is 3 possible ways to declare a secret in the config file:
{ raw = <secret> }for the raw secret as string (unsafe, not recommended),{ cmd = <secret-cmd> }for command that exposes the secret,{ keyring = <secret-entry> }for entry in your system's global keyring that contains the secret.
This applies for:
imap-passwdimap-oauth2-client-secretimap-oauth2-access-tokenimap-oauth2-refresh-tokensmtp-passwdsmtp-oauth2-client-secretsmtp-oauth2-access-tokensmtp-oauth2-refresh-token
- Fixed Windows releases corrupted archives.
- [BREAKING] Removed
-s|--sanitizeoption. It is done by default now, except if the-t|--mime-type htmlis set. - [BREAKING] Removed
native-tlssupport,rustls-tlsis now the only TLS provider available. Removed in consequencenative-tls,rustls-tlsandrustls-native-certscargo features.
0.7.3 - 2023-05-01
- Fixed Windows releases (due to typo in the github action script).
- Fixed unit tests.
0.7.2 - 2023-05-01
-
Added
createanddeletefolder command ([#54]). -
Added generated completions and man pages to release ([#43]).
-
Added new account config option
sync-folders-strategywhich allows to choose a folders synchronization strateg ([#59]).:sync-folders-strategy = "all": synchronize all existing folders for the current accountsync-folders-strategy.include = ["folder1", "folder2", …]: synchronize only the given folders for the current accountsync-folders-strategy.exclude = ["folder1", "folder2", …]: synchronizes all folders except the given ones for the current account
Also added new
account syncarguments that override the account config option:-A|--all-folders: include all folders to the synchronization.-F|--include-folder: include given folders to the synchronization. They can be repeated-F folder1 folder2or-F folder1 -F folder2.-x|--exclude-folder: exclude given folders from the synchronization. They can be repeated-x folder1 folder2or-x folder1 -F folder2.
-
Added cargo features
native-tls(default),rustls-tlsandrustls-native-certs.
- Made global options truly global, which means they can be used everywhere (not only before commands but also after ([#60]).
- Replaced reply all
-aargument with-Abecause it conflicted with the global option-a|--account. - Replaced
himalaya-libbypimalaya-email. - Renamed feature
vendoredtonative-tls-vendored. - Removed the
developbranch, all the development is now done on themasterbranch.
- Fixed config deserialization issue with
email-hooksandemail-reading-format. - Fixed flags case sensitivity.
0.7.1 - 2023-02-14
- Added command
folders expungethat deletes all emails marked for deletion.
- Changed the location of the documentation.
- Fixed broken links in README.md.
- Removed the
maildir-backendcargo feature, it is now included by default. - Removed issues section on GitHub, now issues need to be opened by sending an email at ~soywod/pimalaya@todo.sr.ht.
0.7.0 - 2023-02-08
- Added offline support with the
account synccommand to synchronize a backend to a local Maildir backend. - Added the flag
--disable-cacheto not use the local Maildir backend. - Added the email composer (from its own repository).
- Added Musl builds to releases.
- Added
himalaya mancommand to generate man page.
- Made commands
read,attachments,flags,copy,move,deleteaccept multiple ids. - Flipped arguments
idsandfolderfor commandscopyandmovein order the folder not to be considered as an id.
- Fixed missing folder aliases.
- Removed the
-a|--attachmentargument fromwrite,replyandforwardcommands. Instead you can attach documents directly from the template using the syntax<#part filename=/path/to/you/document.ext>. - Removed the
-e|--encryptflag fromwrite,replyandforwardcommands. Instead you can encrypt and sign parts directly from the template using the syntax<#part type=text/plain encrypt=command sign=command>Hello!<#/part>. - Removed the
-l|--log-leveloption, use instead theRUST_LOGenvironment variable (see the wiki)
0.6.1 - 2022-10-12
- Added
-s|--sanitizeflag for thereadcommand.
- Changed the behaviour of the
-t|--mime-typeargument of thereadcommand. It is less strict now: if no part is found for the given MIME type, it will fallback to the other one. For example, giving-t htmlwill show in priority HTML parts, but if none of them are found it will show plain parts instead (and vice versa). - Sanitization is not done by default when using the
readcommand, the flag-s|--sanitizeneeds to be explicitly provided.
- Fixed empty text bodies when reading html part on plain text email.
0.6.0 - 2022-10-10
-
Separated the CLI from the lib module.
The source code has been split into subrepositories:
-
[BREAKING] Renamed
-m|--mailboxto-f|--folder -
[BREAKING] Refactored config system.
The configuration has been rethought in order to be more intuitive and structured. Here are the breaking changes for the global config:
namebecomesdisplay-nameand is not mandatory anymoresignature-delimiterbecomessignature-delimdefault-page-sizehas been moved tofolder-listing-page-sizeandemail-listing-page-sizenotify-cmd,notify-queryandwatch-cmdshave been removed from the global config (available in account config only)folder-aliaseshas been added to the global config (previously known asmailboxesfrom the account config)email-reading-headers,email-reading-format,email-reading-decrypt-cmd,email-writing-encrypt-cmdandemail-hookshave been added
The account config inherits the same breaking changes from the global config, plus:
imap-*requiresbackend = "imap"maildir-*requiresbackend = "maildir"notmuch-*requiresbackend = "notmuch"smtp-*requiressender = "smtp"sendmail-*requiressender = "sendmail"pgp-encrypt-cmdbecomesemail-writing-encrypt-cmdpgp-decrypt-cmdbecomesemail-reading-decrypt-cmdmailboxesbecomesfolder-aliaseshooksbecomesemail-hooksmaildir-dirbecomesmaildir-root-dirnotmuch-database-dirbecomesnotmuch-db-path
0.5.10 - 2022-03-20
- Fixed flag commands.
- Fixed Windows build.
0.5.9 - 2022-03-12
- SMTP pre-send hook
- Customize headers to show at the top of a read message
- Improve
attachmentscommand
In-Reply-Tonot set properly when replying to a messageCcmissing or invalid when replying to a message- Notmuch backend hangs
- Maildir e2e tests
- JSON API for listings
0.5.8 - 2022-03-04
- Flowed format support
- List accounts command
- One cargo feature per backend
- Vim doc about mailbox pickers
- Some emojis break the table layout
- Bad sender and date in reply and forward template
0.5.7 - 2022-03-01
- Notmuch support
- Build failure due to
imapversion - No tilde expansion in
maildir-dir - Unknown command SORT
- [BREAKING] Replace
inbox-folder,sent-folderanddraft-folderby a generic hashmapmailboxes - Display short envelopes id for
maildirandnotmuchbackends
0.5.6 - 2022-02-22
- Sort command
- Maildir support
- Suffix to downloaded attachments with same name
0.5.5 - 2022-02-08
- Contributing guide
- Notify query config option
- End-to-end encryption
- Multiple recipients issue
- Cannot parse address
0.5.4 - 2022-02-05
- Add attachments with save and send commands
- Invalid sequence set
0.5.3 - 2022-02-03
- Activate rust-imap logs when trace mode is enabled
- Set up cargo deployment
0.5.2 - 2022-02-02
- Blur in list msg screenshot
- Make inbox, sent and drafts folders customizable
- Vim plugin get focused msg id
- Nix run issue
- Range not displayed when fetch fails
- Blank lines and spaces in
text/plainparts - Watch command
- Mailbox telescope.nvim preview
- The wiki git submodule
0.5.1 - 2021-10-24
- Disable color feature
--max-width|-wargument to restrict listing table width
- Error when receiving notification from
notifycommand
- Remove error when empty subject
- Vim plugin does not render anymore the msg by itself, it uses the one available from the CLI
0.5.0 - 2021-10-10
- Mailto support
- Remove previous signature when replying/forwarding a message
- Config option
signature-delimiterto customize the signature delimiter (default to-- \n) - Expand tilde and env vars for
downloads-dirandsignature
- [BREAKING] Folder structure, message management, JSON API and Vim plugin
- Pagination for list and search cmd starts from 1 instead of 0
- Errors management with
anyhow
- Panic on flags command
- Make more use of serde
- Write message vim plugin
- Invalid encoding when sending message
- Pagination reset current account
- New/reply/forward from Vim plugin since Tpl refactor
0.4.0 - 2021-06-03
- Add ability to change account in with the Vim plugin
- Add possibility to make Himalaya default email app
- [BREAKING] Short version of reply
--allarg is now-Ato avoid conflicts with--attachment|-a - Template management
\Seenflag when moving a message- Attachments arg for reply and forward commands
- Vim doc
Content-Typefrom templates
0.3.2 - 2021-05-08
- Mailbox attributes
- Wiki entry about new messages counter
- Copy/move/delete a message in vim
- Get signature from file
- [BREAKING] Split
idlecommand into two commands:notify: Runsnotify-cmdwhen a new message arrives to the serverwatch: Runswatch-cmdswhen any change occurs on the server
.exeextension from release binaries
0.3.1 - 2021-05-04
- Send message via stdin
- Table with subject containing
\r,\nor\t - Overflow panic when shrink column
- Vim plugin empty mailbox message
0.3.0 - 2021-04-28
- IDLE mode after network interruption
- Output redirected to
stderr - Refactor table system
- Editon file format on Linux
- Show email address when name not available
--log-level|-larg (replaced by defaultRUST_LOGenv var fromenv_logger)
0.2.7 - 2021-04-24
- Default page size to config
- Custom config path
- Setting idle-hook-cmds
- Plain logger with
env_logger - Refresh email list on load buffer
- Improve config compatibility on Windows
- Vim table containing emoji
0.2.6 - 2021-04-17
- Insecure TLS option
- Completion subcommands
- Vim flags to enable telescope preview and to choose picker
- Make
install.shPOSIX compliant
- SMTP port
- Save msg upon error
- Answered flag not set
- Panic when downloads-dir does not exist
- Idle mode incorrect new message notification
0.2.5 - 2021-04-12
- Expunge mbox after
moveanddeletecmd - JSON output
0.2.4 - 2021-04-09
- Wiki entry for Gmail users
- Info logs for copy/move/delete cmd + silent mode
--rawarg forreadcmd
- Refactor output system + log levels
0.2.3 - 2021-04-08
- Telescope support
- Unicode chars breaks the view
- Copy/move incomplete (missing parts)
0.2.2 - 2021-04-04
walias forwritecmd
attachmentscmd logs- Page size arg
searchcmd
0.2.1 - 2021-04-04
- IDLE support
- Improve choice after editing msg
- Flags management
- Copy feature
- Move feature
- Delete feature
- Signature support
- Add attachment(s) to a message (CLI)
- Errors management with
error_chain
- Missing
FLAGScolumn in messages table - Subtract with overflow if next page empty
0.2.0 - 2021-03-10
- STARTTLS support
- Flags
- JSON support
0.1.0 - 2021-01-17
- Parse TOML config
- Populate Config struct from TOML
- Set up IMAP connection
- List new emails
- Set up CLI arg parser
- List mailboxes command
- Text and HTML previews
- Set up SMTP connection
- Write new email
- Write new email
- Reply, reply all and forward
- Download attachments
- Merge
EmailwithMsg - List command with pagination
- Icon in table when attachment is present
- Multi-account
- Password from command
- Set up README