fix table for emailing, minor fixes
refactor nodeMailerServices