basta uno script php utilizzando mail, collegando il tutto ad un db.

ciao
sergio