InboxTap is a powerful tool designed for developers to streamline email testing within their applications. It ensures deterministic email-flow tests by capturing every email sent by your application directly on localhost. This allows you to test critical email functionalities such as verification links and One-Time Passwords (OTPs) from real user flows without any risk of sending actual emails externally.
- Local SMTP Capture: Point your application's SMTP to localhost:1025, and InboxTap will accept all recipients and store messages locally, ensuring no sensitive data leaves your machine.
- Deterministic Testing: Await exact verification links or OTPs that your users would receive, enabling you to assert the entire flow from signup to verification with confidence.
- Parallel-Safe Inboxes: Unique, client-generated addresses ensure that concurrent test workers do not interfere with each other.
- REST API: Easily list, retrieve, wait for, and clear captured messages via a local HTTP interface.
- Automatic Extraction: InboxTap automatically extracts HTTP(S) links and unique 4-8 digit codes from parsed emails.
- Test SDK: Utilize the SDK to await messages, links, codes, and regex matches directly within your Bun or Node.js tests.
- Bounded Resources: Features predictable limits for storage, message size, and long-poll waits, ensuring stable test environments.
- Seamless Integration: Works effortlessly with popular testing frameworks like Playwright, Vitest, and Jest, and can be integrated into Bun or Node.js runners.
InboxTap is built with a focus on developer experience, providing a reliable and secure way to test email-based user flows in a local development environment.