test stuff in place thanks to logans example
fixes test file and adds a test
modifies event_test
adds mailer file and dependency to package.json
mailer works