With this script you can add emails to database (MySQL), list them, export list to html,xml or plain text files. You can simply delete records and edit them. At last you can write email to someone using built-in adress book sendmail system.
WorldPilot is a Python/Zope-based web server application that provides you with a web based organizer and messenger. Main features include: IMAP based web mail client, Contact and Address book, Notes, ToDo's, Calendar with support for repeating events, and Workgroup sharing with broadcasting and subscriptions.