move the mail configs to var.php