How do I consolidate this code so that all the functions are listed under the same heading (dropdown)? Thanks.
function onOpen ()
{ var sheet = SpreadsheetApp.getActiveSpreadsheet ();
var menu = [ {name: "extract e-mail",functionName: "GetAddresses"} ];
sheet.addMenu ("Extract E-mail", menu);
var menu = [ {name: "remove self",functionName: "readRows"} ];
sheet.addMenu ("AOA", menu);
var menu = [ {name: "remove duplicates",functionName: "removeDuplicates"} ];
sheet.addMenu ("Duplicates", menu);
var menu = [ {name: "send e-mail",functionName: "sendEmails"} ];
sheet.addMenu ("Mail Merge", menu);
}