Migrated customer_email to PDO database class, refs #1287