add .gitignore and catch MessagingExceptions for IpMailer