function main() {
var accountSelector = MccApp
.accounts()
.withIds(['Customer ID 1','Customer ID 2','Customer ID 3'])
.withCondition("Impressions > 1")
.forDateRange("YESTERDAY");
var accountIterator = accountSelector.get();
while (accountIterator.hasNext()) {
var account = accountIterator.next();
MccApp.select(account);
account = AdWordsApp.currentAccount();
var stats = account.getStatsFor("YESTERDAY");
var body = (account.getName() + " Clicks -" + stats.getClicks() + " Cost -" + stats.getCost());
Logger.log(body);
var recipient = "email ID";
var subject = "Summary";
MailApp.sendEmail(recipient, subject, body);
}
}