Tag
#python
3 posts tagged “python”.
- 12 min read
Linux email servers with Python: SMTP, IMAP, and APIs
For Python backend developers, open-source Linux email servers integrate through protocols, not shared implementation languages. This tutorial compares SMTP, IMAP, REST, and JMAP, then runs a local send-and-receive pipeline with durable cursors and a hosted MailKite SDK alternative.
- 7 min read
Receive Gmail emails live with forwarding and a webhook
Keep Gmail as your mailbox and forward new messages to a separate MailKite receiving address. Your application gets signed JSON webhooks instead of polling Gmail. This walkthrough covers the confirmation message, a Python receiver, selective forwarding and the limits of the approach. MailKite is the platform we build.
- 7 min read
Receive email in real time with Python
A Flask receiver can turn each new email into a stored JSON event without polling an inbox. This Python walkthrough verifies MailKite's signed webhook, commits the message to SQLite before acknowledging it, and handles retries with a unique message id. MailKite is the platform we build.