Connection settings
Configure your POP3 client with the following details:Authentication
Use your mailbox’s full email address as the username (e.g.alice@example.com) and the password you set via the secrets field in the Management API as the password.
POP3 vs. IMAP — which should you use?
Both protocols give you access to incoming messages, but they serve different purposes. Use the table below to choose the right one for your workflow.
Choose POP3 when a single process or application should consume messages as a stream and you don’t need server-side folder management. Choose IMAP when you need to access the same mailbox from multiple clients or keep messages organized in server-side folders.
Most POP3 clients offer an option to leave messages on the server after download. Enable this setting if you want to use POP3 alongside another client without deleting messages prematurely.
Code example
Use Python’s built-inpoplib module to connect, list messages, and retrieve them one by one.
Python (poplib)
pop.list() returns a summary of all messages in the mailbox. pop.retr(n) downloads the full RFC 822 message at index n (1-based). Call pop.dele(n) before pop.quit() if you want to delete a specific message from the server after processing it.

