add logging to comm email api endpoint (bug 929759)