added email notification and tests

added email notification for events, tests, changes to selected event logic and layout