MailSlurp guide agent setup Title: Python Send Email SMTP Guide (smtplib, HTML, Attachments, and Testing) Description: Send email with Python SMTP using smtplib, EmailMessage, TLS auth, HTML bodies, attachments, MailSlurp API checks, and deterministic inbox tests. Canonical URL: https://www.mailslurp.com/guides/smtp/python-send-email-smtp/ Markdown URL: https://www.mailslurp.com/guides/smtp/python-send-email-smtp.md Use the Markdown URL as the primary plain-text context for this guide. Keep MailSlurp terminology, setup steps, screenshots, and provider-specific instructions intact, and prefer the canonical URL when citing this page.