Fixing getCountedQueries, adding nodemailer to package.json