mailgate is a set of Python scripts we used at my former company to transfer email a) from a POP3 account to our internal mail server, b) from a POP3 account to a mailbox file and c) from a mailbox file to a SMTP server.
Monty's Postcard Server is an CGI application written in Python that makes putting up a Postcard Server a breeze. The only thing the Admin has to do is to supply the Images. Everything is configurable of cause!