Changes to send mail scripts and config.dist.php and .gitignore