mail-parser

v4.11.0 safe
2.3
Low Risk

A tool that parses emails by enhancing the Python standard library, extracting all details into a comprehensive object.

📦 Package Quality Overall: Low (4.4/10)

✦ High Test Suite 9.0

Test suite present — 18 test file(s) found

  • Test runner config found: pyproject.toml
  • 18 test file(s) detected (e.g. test_address_recovery.py)
◈ Medium Documentation 5.0

Some documentation present

  • Detailed PyPI description (48724 chars)
○ Low Contributing Guide 2.0

No contributing guide or governance files found

  • No CONTRIBUTING, CODE_OF_CONDUCT, or governance files found
◈ Medium Type Annotations 5.0

Partial type annotation coverage

  • 13 type-annotated function signatures detected in source
○ Low Multiple Contributors 1.0

Could not retrieve contributor data from GitHub

  • GitHub API error: 401

🔬 Heuristic Checks

✓ Outbound Network Calls

No suspicious network call patterns found

⚠ Code Obfuscation score 10.0

Found 6 obfuscation pattern(s)

  • y a mail client would. ``base64.b64decode()`` rejects padding and alphabet errors that every MUA s
  • data = data[:-1] return base64.b64decode(data + b"=" * (-len(data) % 4)) def print_attachments(atta
  • data = ( base64.b64decode(data) if attachment["binary"] else d
  • as_attachment: assert base64.b64decode(parsed.attachments[0]["payload"]) == b"hello" def test_nam
  • n == ["Caf\u00e9"] assert base64.b64decode(parsed.attachments[0]["payload"]) == payload assert pars
  • .attachments) == 1 assert base64.b64decode(parsed.attachments[0]["payload"]) == payload assert pars
⚠ Shell / Subprocess Execution score 6.0

Found 3 shell execution pattern(s)

  • mail] try: out = subprocess.Popen( command, stdin=subprocess.PIPE,
  • w + b"\r\nbody") result = subprocess.run( [sys.executable, "-m", "mailparser", "--file", str(
  • ] ) result = subprocess.run( [sys.executable, "-m", "mailparser", "-k", "-j"],
✓ Credential Harvesting

No credential harvesting patterns detected

✓ Typosquatting

No typosquatting candidates detected

✓ Registered Email Domain

Email domain looks legitimate: gmail.com>

✓ Suspicious Page Links

All external links appear legitimate

⚠ Git Repository History score 3.0

GitHub API error: 401

  • GitHub API error: 401
⚠ Maintainer History score 4.0

2 maintainer concern(s) found

  • Author name is missing or very short
  • Author "" appears to have only 1 package on PyPI (new or inactive account)
✓ Known CVE Vulnerabilities

No known vulnerabilities found in OSV database.

💡 AI App Starter Prompt

Use this prompt to build a project with mail-parser
Build a simple Python application using the mail-parser package to demonstrate its core features.

💬 Discussion Feed

Leave a comment

No discussion yet. Be the first to share your thoughts!