adding smtp auth to mailer.rb
fixes to pass rubocop linting
upstream fix for regex whitespace removal
fix unless conditional
remove params hash
fix smtp_address
Change num_instances to a float

Integer division floors the result to 0, so any *_percent condition will always evaluate to true
Merge pull request #322 from srodrig0209/patch-3

Change num_instances to a float
Merge pull request #318 from BNOTIONS/feature/mailer-smtp-auth

Add SMTP authentication to mailer notification handler