Py-mail-parser

Jul 20, 2023

Wrapper for email standard library

mail-parser is not only a wrapper for email Python Standard Library. It give you an easy way to pass from raw mail to Python object that you can use in your code. It’s the key module of SpamScope.

mail-parser can parse Outlook email format .msg with msgconvert from mail/p5-Email-Outlook-Message.

mail-parser takes as input a raw email and generates a parsed object. The properties of this object are the same name of RFC headers bcc, cc, date, delivered_to, from_ not from because is a keyword of Python, message_id, received, reply_to, subject, to.

There are other properties to get body, body html, body plain, headers, attachments, sender IP address, to domains, timezone.



Checkout these related ports:
  • Xpbiff -
  • Xmailwatcher - Mailbox checker which displays sender and subject lines of mails
  • Xmailbox - Mailbox checker with sound and animation for X Window System
  • Xmail - X-based interface to the Berkeley mail program
  • Xfce4-mailwatch-plugin - Mail notification applet for the Xfce panel
  • Xfaces - Display shaped icons for mail spool contents
  • Xcite - Exciting Cite for any Mail/News reading modes on Emacs
  • Xbuffy - Replacement for xbiff that handles multiple mail files
  • X-face-e21 - X-Face utilities for Emacs
  • Wmmaiload - Incoming mail monitor dockapp with a similar look to wmcpuload
  • Wmbiff -
  • Whoson - Implementation of `WHO iS ONline' protocol
  • Websieve - Web based Cyrus IMAP user admin client
  • Wanderlust - Mail and news system for Emacs
  • Vrfy - Verify mail address