A Python package for retrieving, parsing, and sending emails
Project description
mailsuite
A Python package for retrieving, parsing, and sending emails.
Features
- Simplified IMAP client
- 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, Microsoft 365, Exchange, Dovecot, and DavMail
- Consistent email parsing
- SHA256 hashes of attachments
- Parsed
Authentication-Results
andDKIM-Signature
headers - Can parse Microsoft Outlook
.msg
files
- Simplified email creation and sending
- Easily add attachments, plain text, and HTML
- Uses opportunistic encryption (
STARTTLS
) with SMTP by default
Working with .msg files
If you would like to be able to parse Microsoft Outlook .msg
emails, you'll need to install the Email::Outlook::Message
Perl module, which
includes the msgconvert
utility that is used to convert .msg
files into the
standard RFC 822 format. Ubuntu and Debian make this easy because they have a
package for it, libemail-outlook-message-perl
. On
Fedora/RHEL/CentOS based distributions and macOS, you'll need to install
Perlbrew.
Perlbrew installs a local copy of Perl within the user's home directory,
similar to how Homebrew works (which is why the initial installation can take
a while). That way, you don't need to use sudo
to install Perl modules, and
risk breaking your system's Perl installation in the process.
Once Perlbrew is installed, use cpan
to install Email::Outlook::Message
.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file mailsuite-1.9.0.tar.gz
.
File metadata
- Download URL: mailsuite-1.9.0.tar.gz
- Upload date:
- Size: 16.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.23.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a60e1221be44d81fa10a4da481724d82863e9c2006c43b5b83f930f182509e7a |
|
MD5 | 8843bb7892713f29d8a1bb5a99a32aa3 |
|
BLAKE2b-256 | 91b449ef9f7be7407c808dec8dd70fbfa70d772e3e88b7d7310e24ab20a50a9e |
File details
Details for the file mailsuite-1.9.0-py3-none-any.whl
.
File metadata
- Download URL: mailsuite-1.9.0-py3-none-any.whl
- Upload date:
- Size: 17.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.23.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6a414912a7bf13e0fa423d6002998b429902523b012eae97b32692d66c47f760 |
|
MD5 | 70dc5604126e9dd6368226c16f51228f |
|
BLAKE2b-256 | 04c9ad1be450cd55653374d4b9fed615727995b0c0206bb8afdab4d5a64ed1d4 |