'use strict'
const mailer = require('./docuSignMailer.js');
module.exports = {
    massMailer: function(req, res) {
        const emailList = req.body.emailList;
        const docuSignEmail = req.body.docuSignEmail;
        const docuSignPass = req.body.docuSignPass;
        const volunteerInfo = req.body.volunteerInfo;
        const templateInfo = req.body.templateInfo;
        emailList.forEach(function(volunteer) {
            mailer(docuSignEmail, docuSignPass, volunteerInfo, templateInfo)
        });
        res.send('Operation complete!');
    }
};
@@ -55,16 +55,49 @@
 .js');%0D%0A
+const async = require('async');%0D%0A
 module.e
@@ -421,44 +421,49 @@
     
-emailList.forEach(function(volunteer
+async.eachSeries(emailList, function(item
 ) %7B%0D
@@ -539,16 +539,17 @@
 ateInfo)
+;
 %0D%0A      
@@ -587,17 +587,16 @@
 ion 
-c
+C
 omplete
-!
 ');%0D

fix async