Add SMTP authentication to mailer notification handler

This pull requests adds the option for smtp authentication to the mailer.rb notification handler.

mail gem was also updated from 2.4.0 to 2.5.4

Passes rubocop linting