A mock for nodemailer