added mail.php and database.php to config