nodemailer.d.ts Type Definitions and tests

In response to Issue #228.