attachments handled with nodemailer now, hence the lesser code.