Update and rename tools.class.php to mail.class.php