robotframework-imaplibrary2
A IMAP email testing library for Robot Framework
Decision gist · record as of 2026-08-14
Yes, if you are already using Robot Framework for test automation and need to verify email-driven workflows. Install friction is low and the Apache 2.0 license is permissive. However, note that maintenance is aging (534 days since last release) and Python version support is unclear—verify compatibility with your target Python version before committing to it in a production test suite.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Robot Framework to be installed and a working IMAP server connection with valid credentials.
- Low install friction with a pure-Python wheel distribution.
- Maintenance is aging—last release was 534 days ago, though the repository remains active with a recent commit on 2025-02-26.
License · maintenance · safety
Apache License, Version 2.0 (permissive) — Licensed under Apache License, Version 2.0 (permissive), which allows commercial and private use with minimal restrictions. No licensing barrier to adoption.
last release 2025-02-26 (534 days) · last repo commit 2025-02-26 · 10 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 78,969 downloads/mo, #14,388 on PyPI
Alternatives
Verify before relying
pip install robotframework-imaplibrary2
In a Robot Framework test file:
*** Settings ***
Library ImapLibrary2
*** Test Cases ***
Verify Email
Open Mailbox host=imap.domain.com user=email@domain.com password=secret
${email} = Wait For Email sender=noreply@domain.com timeout=300
Close Mailbox- Current Python version support (classifiers list 2.7 and 3.5, but requires_python is unspecified)
- Whether pysocks is used for proxy support or is a transitive dependency
- Active maintenance cadence and responsiveness to issues given aging status
What it is and what it does
ImapLibrary2 is a Robot Framework extension that wraps IMAP protocol access to enable email-based test automation. It lets you connect to mailboxes, wait for incoming messages, extract and verify email content, and inspect multipart messages—all within Robot Framework's keyword-driven test syntax. The library handles the low-level IMAP protocol details so test authors can focus on email verification logic.
Typical use is in end-to-end testing workflows where your application sends transactional emails and you need to verify they arrived with correct content. It depends on robotframework as its primary runtime dependency, plus future for Python 2/3 compatibility and pysocks for proxy support. The package is a fork of an earlier robotframework-imaplibrary project and remains in beta status.
Use it for
- Verify that password-reset emails arrive with correct verification links after user signup
- Validate email content and formatting in multipart messages sent by your application
- Wait for and extract one-time codes or confirmation URLs from automated transactional emails
- Test email delivery workflows by polling an IMAP mailbox during end-to-end test runs
- Inspect email headers and payloads to confirm sender, subject, and body content match expectations
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you are already using Robot Framework for test automation and need to verify email-driven workflows.
Install friction is low and the Apache 2.0 license is permissive. However, note that maintenance is aging (534 days since last release) and Python version support is unclear—verify compatibility with your target Python version before committing to it in a production test suite.
Install
robotframework-imaplibrary2 on PyPI
Before you install
Low install friction with a pure-Python wheel distribution. Maintenance is aging—last release was 534 days ago, though the repository remains active with a recent commit on 2025-02-26. Depends on robotframework, future, and pysocks, all stable packages.
Requires Robot Framework to be installed and a working IMAP server connection with valid credentials.
License in practice
Licensed under Apache License, Version 2.0 (permissive), which allows commercial and private use with minimal restrictions. No licensing barrier to adoption.
Quickstart
pip install robotframework-imaplibrary2
In a Robot Framework test file:
*** Settings ***
Library ImapLibrary2
*** Test Cases ***
Verify Email
Open Mailbox host=imap.domain.com user=email@domain.com password=secret
${email} = Wait For Email sender=noreply@domain.com timeout=300
Close Mailbox
Verify before relying
- Current Python version support (classifiers list 2.7 and 3.5, but requires_python is unspecified)
- Whether pysocks is used for proxy support or is a transitive dependency
- Active maintenance cadence and responsiveness to issues given aging status
Package facts
| License | Apache License, Version 2.0 permissive |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 3 packagesfuturerobotframeworkpysocks |
| Maintenance | Aging 534 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 78,969 / month, #14,388 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 4 - BetaFramework :: Robot FrameworkIntended Audience :: DevelopersLicense :: OSI Approved :: Apache Software LicenseProgramming Language :: Python :: 2.7Programming Language :: Python :: 3.5Topic :: Software Development :: Testing |
Evidence: robotframework_imaplibrary2-0.4.11-py2.py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “robot framework email testing”
- robotframework-imaplibrary2A Robot Framework library that connects to IMAP mailboxes to…
- rfswarm-managerrfswarm-manager lets you run Robot Framework test cases as load tests…
- rfswarm-agentrfswarm-agent lets you run Robot Framework test cases as load tests…
Give your agent the search over MCP, or paste the wish link into any chat.
More Testing packages
Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.
Install it if you're building an extensible application or framework.
pytest is a testing framework that lets you write test functions using plain assert statements and automatically discovers and runs them, with detailed failure reporting.
virtualenv creates isolated Python environments where packages can be installed independently without affecting the system Python or other projects.
Coverage.py measures which lines of Python code are executed during test runs, reporting coverage percentages and identifying untested code paths.
Install it if you want to measure test completeness or enforce coverage thresholds in your project.
pytest-asyncio is a pytest plugin that enables writing and running async test functions using the asyncio library, allowing developers to await code directly within test cases.
Install it if you write tests for any asyncio-based code.
A pytest plugin that generates test reports in Common Test Report Format (CTRF) as JSON, compatible with pytest-xdist and pytest-playwright for distributed and browser-based testing.
Install it if you need CTRF-formatted test output for CI/CD integration or cross-tool reporting.
See also robotframework-extendedselenium2library · robotremoteserver · robotframework-seleniumlibrary · imap-tools · IMAPClient · robotframework-databaselibrary · mailsuite · robotframework-selenium2library · robotframework-debuglibrary · aioimaplib