Update seneca-mail to be compatible with nodemailer changes. Extract template processing to external implementation