update .gitignore, minor changes to config and sendMail