Added an event model and checking of too many existing email events