Update sendEmails.gs

cleaned up the code a bit. Made it easier to read.  Also added the pending functionality that takes the student's information and puts it all into a document for the Approval Committee