cbackas / mailsuite

A Python package to make receiving, parsing, and sending email easier

Home Page:https://seanthegeek.github.io/mailsuite/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

mailsuite

A Python package to simplify receiving, parsing, and sending email

Features

  • Receive emails via IMAP
    • Retrieve email from any folder
    • Create new folders
    • Move messages to other folders
    • Delete messages
    • Monitor folders for new messages using the IMAP IDLE command
    • Always use / as the folder hierarchy separator, and convert to the server's hierarchy separator in the background
    • Always remove folder name characters that conflict with the server's hierarchy separators
    • Prepend the namespace to the folder path when required
    • Automatically reconnect when needed
    • Work around quirks in Gmail/G-suite, Office 365, Exchange, Dovcot, and DavMail
  • Consistent email parsing
    • SHA256 hashes of attachments
  • Simplified email sending via SMTP
    • Uses opportunistic encryption (STARTTLS) by default
    • Easily add attachments, plain text, and HTML

About

A Python package to make receiving, parsing, and sending email easier

https://seanthegeek.github.io/mailsuite/

License:Apache License 2.0


Languages

Language:Python 99.1%Language:Shell 0.9%