refactor(index.js): handle SMTP config that do not utilize (or permit) authentication

If you are not passed a username in your config, don't pass an authentication parameter to NodeMailer. This is useful for SMTP configurations that do not utilize (or permit) authentication (For example: DevNullSMTP).