adding the events to emaillist expand and collapse