fixed issue of multiple emails for smae epoch