{"library":"redmail","title":"Red Mail","description":"Red Mail is a modern email sending library for Python that allows sending emails with attachments, embedded images, Jinja templating, and support for multiple email protocols (SMTP, Outlook, Gmail, etc.). The current version is 0.6.0, with an active release cadence. It requires Python >=3.6.","language":"python","status":"active","last_verified":"Fri May 01","install":{"commands":["pip install redmail","pip install redmail[pandas]"],"cli":null},"imports":["from redmail import EmailSender","from redmail import GmailSender","from redmail import OutlookSender"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"from redmail import EmailSender\n\nemail = EmailSender(\n    host=\"smtp.example.com\",\n    port=587,\n    username=\"user@example.com\",\n    password=\"secret\",\n    use_startls=True\n)\nemail.send(\n    subject=\"Example\",\n    receivers=[\"recipient@example.com\"],\n    text=\"Hello!\",\n    html=\"<h1>Hello!</h1>\"\n)","lang":"python","description":"Basic usage: create an EmailSender with SMTP credentials and send a simple email.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}