changed nodemailer version to 0.7. mail working correctly on local machine. testing on digital ocean server next