Skip to content
TrustList
I
Automated Testing Software

ImapKit

Scriptable in-memory IMAP server for testing mail client software, with 50+ extensions and scripted faults

About ImapKit

Developers who write email clients need a mail server that can be told to misbehave, and ImapKit supplies one inside the test suite itself. It is a library that runs a strict IMAP server in the same process as the tests, so the client under test speaks genuine IMAP across an actual socket, and the test can alter the server beneath it.

A fresh server for every test

Each test starts its own server in milliseconds, and nothing is kept on disk. The server is created with exactly the mailboxes, messages, users and extensions that test needs. While the client is connected, the test can add messages, change flags, reset UIDVALIDITY and disconnect sessions through a control interface, and every connected client sees the changes.

Strict by design

Both IMAP4rev1 and IMAP4rev2 are supported, along with over 50 extensions, among them IDLE, CONDSTORE, QRESYNC, NOTIFY, ACL, METADATA, QUOTA, SORT, THREAD and COMPRESS, switched on per server. Client input that breaks the standards is answered with BAD or NO, so client bugs appear in the tests instead of against a production server. Several clients sharing one mailbox receive updates at the points the standards allow.

Reproducing real-world quirks

Scripted rules and ready-made quirk presets imitate the habits of real servers, including delayed replies, output split into pieces, throttling, automatic logout and dropped connections.

Installation and use

It is installed from npm and released under the MIT licence. It can also run as a command with a REST API and server events, so tests written in Python, Go or any other language can drive it. The footer names Postal Systems OÜ as the company, and the same team makes EmailEngine, a self-hosted email API. Its maker is clear that it is meant for testing and not for serving real users' mail, and it first appeared on Hacker News on 8 October 2026.

TrustList summary

ImapKit is a library for test suites. It starts a strict IMAP mail server in the same process, so developers can see whether an email client holds up against a real mail protocol. Each test starts a fresh server in milliseconds, with the mailboxes, users and extensions it needs, and the test can change the server while the client stays connected.

What ImapKit does

  • Protocol support: IMAP4rev1 and IMAP4rev2, with more than 50 extensions such as IDLE, CONDSTORE and QRESYNC, switched on per server.
  • Live server changes: adds messages, changes flags, resets UIDVALIDITY and disconnects sessions while a client is connected.
  • Scripted faults: reproduces late responses, throttling, autologout and dropped connections, and rejects input that breaks the standards.
  • Language access: runs as a command with a REST API, so tests written in Python, Go or other languages can drive it.

Who it works with

It is built for teams writing automated tests for mail client software. It is a test tool, not a mail server for real users.

Key facts

  • Installation: from npm
  • Licence: MIT
  • Operator: Postal Systems OÜ, named in the site footer
  • Presented: 8 October 2026, on Hacker News by the maker

Summary written by TrustList from the business's own published information, Nov 2026.

Categories & features

Request a demo or quote from ImapKit

Protected by reCAPTCHA - Google Privacy Policy and Terms apply.

By sending, you agree we may share your request and contact details with the provider once you confirm your email.

Reviews

Write the first review of ImapKit

Used it? Your experience helps other buyers decide.

Write a review

Questions & answers

No questions yet. Be the first to ask about ImapKit.

ImapKit alternatives

Similar listings buyers compare against this one.

Simulated, stateful copies of Gmail, Slack, Salesforce, Notion and QuickBooks where teams test AI agents before letting them touch real accounts, with worlds built from a description or from production traces.

Evaluation and observability platform for WebMCP tools, testing them before release and monitoring agent use in production; free plan, Pro at $65.83 a month.

London-built swarm of browser agents that walks through a web product the way users would, files each failure with a recording, logs and steps to reproduce, and hands it to a coding agent to fix and re-test.

Continuous-integration check for web apps that replays critical user journeys on every GitHub pull request and blocks broken merges

Turns browser end-to-end test runs into narrated product demos that are re-checked on a schedule, so a demo cannot drift from what shipped. Open-source CLI; hosted Team plan at $39 a month.

Checks that code written by AI coding agents does what was asked, keeping specs versioned beside the code. From the team behind Qase; plans start at $49 a month, per its pricing page.