{"categories":[{"label":"Utilities","url":"https://skillfed.io/packages/category/utilities/6"},{"label":"Email","url":"https://skillfed.io/packages/category/communications-email"}],"enrichment":{"capability":"Provides utilities for parsing, converting, and inspecting email Message and EmailMessage objects from Python's standard library, including Content-Type parsing, message-to-dict conversion, and address extraction.","skillfed_tags":["email-utilities","message-parsing"],"use_cases":["Convert email Message objects to dicts for easier testing and comparison in unit tests","Parse and inspect Content-Type headers to extract media type and parameters","Extract and format recipient email addresses from EmailMessage objects","Convert legacy Message instances to the newer EmailMessage format","Pretty-print or log the structure of a multipart email for debugging"],"what_it_does":"mailbits is a small utility library that wraps Python's standard email module to make working with Message, EmailMessage, Address, and Group objects simpler and more inspectable. It provides functions to parse Content-Type headers into structured objects, convert email messages into plain Python dicts for easier inspection and comparison, extract recipient addresses, and convert between the older Message class and newer EmailMessage format.\n\nThe main use case is when you need to examine or manipulate email messages programmatically but find the standard library's API cumbersome\u2014for instance, when comparing two messages for equality, pretty-printing message structure, or extracting specific address fields. The dict conversion handles nested multipart messages, decodes encoded text and bytes, and provides special representations for headers like From, To, and Content-Type.","worth_installing":"Yes. mailbits is actively maintained, has no known vulnerabilities, low install friction, and a permissive MIT license. It solves a real friction point in the standard library's email API. Install it if you work with email messages and need cleaner introspection or conversion utilities."},"id":"mailbits","links":{"html":"https://skillfed.io/packages/mailbits","md":"https://skillfed.io/packages/mailbits.md","pypi":"https://pypi.org/project/mailbits/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2025-11-29","license_spdx":"MIT","license_treatment":"permissive","name":"mailbits","python_support":"supports_current","summary":"Assorted e-mail utility functions"},"popularity":{"monthly_downloads":334729,"position":7484,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.2.3"}
