update EmailMonitor as API changed