spamassassin
Python asyncio-based library that implements the SPAMC/SPAMD client protocol used by SpamAssassin.
Realistic email testing server in a single Docker container. SMTP, IMAP, DKIM/DMARC, spam filtering, REST API, Node/Python SDKs, and an MCP server.
ML-powered email spam detection toolkit with MTA integrations.