fixes TypeError

TypeError: Cannot use 'in' operator to search for 'dsn' in undefined
    at SMTPClient._getDSN