Simple mail merge script

Using Google Apps Script I make use of mail merge a fair bit and make use of third party tools. I have also been playing around with Google Apps Script as well of late. One of the first pieces of Apps Script code I tried out hence naturally became the mail merge one.