Simple email bug that that writes to MySQL.  Not fancy.  More a how-to guide to get you started.