Skip to content

v5.5.0

Choose a tag to compare

@github-actions github-actions released this 30 Nov 13:13
a94e3b8

5.5.0 (2026-11-30)

Summary

ImapKit can now serve the Synthetic Email Corpus, 11,637 realistic fictional messages with real-world MIME structures, charsets and encoding quirks, with one flag: imapkit --corpus. The corpus is downloaded once into a cache and read straight from its archive, and a new imapkit corpus command finds the mailbox and UID of messages with a given feature.

Who should upgrade

  • Anyone who tests a mail client against more than hand-written fixtures: --corpus gives a realistic account with lists, newsletters, alerts, bounces and spam, in many languages.
  • No hurry otherwise, nothing changes unless --corpus is used.

Highlights

  • imapkit --corpus serves the corpus release pinned in this version (v1.0.2). --corpus=v1.0.2 or --corpus=latest choose another release. The archive (about 420 MB) is downloaded once into the OS cache directory (IMAPKIT_CACHE_DIR changes it), the download resumes after an interruption and is checked against its SHA-256 digest.
  • Mailboxes follow the corpus manifest: personal, business and transactional mail in INBOX, then Lists, Newsletters, Alerts, Invitations, Bounces, and Junk (with \Junk under SPECIAL-USE) for everything that came from a spam folder. Threads stay together, UIDs are stable, and internal dates come from the Date headers.
  • imapkit corpus find quirk:bare-cr (or ew:koi8-r/B, category:spam lang:et ...) shows where matching messages are, imapkit corpus pull|list|clean manage the cache.
  • --corpus-filter loads only matching messages (with their UIDs unchanged), --corpus-mutations adds the deliberately broken variants in a Broken mailbox.
  • loadCorpus() from imapkit/lib/corpus does the same from test code.
  • New documentation page: Synthetic Email Corpus.

Features

  • --corpus serves the Synthetic Email Corpus (110cf24)
  • --corpus serves the Synthetic Email Corpus (93d0271)